Sub/superscripts require braces
tags: export-option superscripts subscripts
Description/Summary
By default, ox-hugo implements the ^:{} export option. See C-h v org-export-with-sub-superscripts for details. With this option, the text that needs to be subscripted or superscripted has to be surrounded by braces {..} following the _ or ^. Following text will export _ and ^ verbatim # a_b a_bc a^b a^bc Following text will export _{..} as subscript and ^{..} as superscript # ab abc ab abc
Content
By default, ox-hugo implements the ^:{} export option. See C-h v org-export-with-sub-superscripts for details. With this option, the
text that needs to be subscripted or superscripted has to be
surrounded by braces {..} following the _ or ^.
Following text will export _ and ^ verbatim
#
a_b a_bc a^b a^bc
Following text will export _{..} as subscript and ^{..} as superscript
#
ab abc ab abc
Page (Debug)
| Page Variable | Value | |
|---|---|---|
| Name | "Sub/superscripts require braces" | |
| Title | "Sub/superscripts require braces" | |
| ResourceType | "page" | |
| Kind | "page" | |
| Section | "posts" | |
| Draft | false | |
| Type | "posts" | |
| Layout | "" | |
| Permalink | "https://ox-hugo.scripter.co/test/posts/sub-superscripts-require-braces/" | |
| RelPermalink | "/posts/sub-superscripts-require-braces/" | |
| Data |
| |
| NextPage | Sub/superscripts don't require braces | |
| PrevPage | Suppress lastmod non-zero, but date unset | |
| NextInSection | Sub/superscripts don't require braces | |
| PrevInSection | Suppress lastmod non-zero, but date unset |
Page Params (Debug)
| Key | Type | Value |
|---|---|---|
| draft | bool | false |
| iscjklanguage | bool | false |
| lastmod | time.Time | 2022-01-03 16:52:29 -0500 -0500 |
| tags | []string | "export-option" "superscripts" "subscripts" |
| title | string | "Sub/superscripts require braces" |
File Object (Debug)
| FileInfo Variable | Value |
|---|---|
| UniqueID | "0c3b1c4440a214f752f24e1bcd9d615d" |
| BaseFileName | "sub-superscripts-require-braces" |
| TranslationBaseName | "sub-superscripts-require-braces" |
| Lang | "en" |
| Section | "posts" |
| LogicalName | "sub-superscripts-require-braces.md" |
| Dir | "posts/" |
| Ext | "md" |
| Path | "posts/sub-superscripts-require-braces.md" |