summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien <bzg@gnu.org>2020-02-19 22:27:44 +0100
committerBastien <bzg@gnu.org>2020-02-19 22:27:44 +0100
commit86cbaff2b88855c95ae03f0ade6a651308daeaf5 (patch)
tree2fdd7bd67a4838fbe3e61cb9b4bf623ce98d1a73
parent6f943b1da5af2ed276b07d32da0f1b92bf67f204 (diff)
downloadorg-mode-86cbaff2b88855c95ae03f0ade6a651308daeaf5.tar.gz
org-manual.org: Enhance the "Subscripts and Superscripts" section
* doc/org-manual.org (Subscripts and Superscripts): Be more explicit about the interaction between the relevant options.
-rw-r--r--doc/org-manual.org14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/org-manual.org b/doc/org-manual.org
index e69856e..ef95d3c 100644
--- a/doc/org-manual.org
+++ b/doc/org-manual.org
@@ -10700,12 +10700,26 @@ get in your way. Configure the variable ~org-use-sub-superscripts~ to
change this convention. For example, when setting this variable to
~{}~, =a_b= is not interpreted as a subscript, but =a_{b}= is.
+You can set ~org-use-sub-superscripts~ in a file using the export
+option =^:= (see [[*Export Settings][Export Settings]]). For example, =#+options: ^:{}=
+sets ~org-use-sub-superscripts~ to ='{}= and only the curly bracket
+notation of super- and subscripts will be used.
+
+You can also toggle the visual display of super- and subscripts:
+
- {{{kbd(C-c C-x \)}}} (~org-toggle-pretty-entities~) ::
#+kindex: C-c C-x \
#+findex: org-toggle-pretty-entities
This command formats sub- and superscripts in a WYSIWYM way.
+#+vindex: org-pretty-entities
+#+vindex: org-pretty-entities-include-sub-superscripts
+Set both ~org-pretty-entities~ and
+~org-pretty-entities-include-sub-superscripts~ to =t= to start with
+super- and subscripts /visually/ interpreted as specified by the
+option ~org-use-sub-superscripts~.
+
** Special Symbols
:PROPERTIES:
:DESCRIPTION: Greek letters and other symbols.