org.texi: Move subscripts section outside of Embedded LaTeX section
* doc/org.texi (Subscripts and superscripts): Move outside of Embedded LaTeX section. Document multi-words sub- superscripts.
This commit is contained in:
parent
53373285f7
commit
c74f4c9cf8
66
doc/org.texi
66
doc/org.texi
|
@ -9719,6 +9719,7 @@ markup rules used in an Org mode buffer.
|
||||||
* Images and tables:: Images, tables and caption mechanism
|
* Images and tables:: Images, tables and caption mechanism
|
||||||
* Literal examples:: Source code examples with special formatting
|
* Literal examples:: Source code examples with special formatting
|
||||||
* Special symbols:: Greek letters and other symbols
|
* Special symbols:: Greek letters and other symbols
|
||||||
|
* Subscripts and superscripts:: Simple syntax for raising/lowering text
|
||||||
* Embedded @LaTeX{}:: LaTeX can be freely used inside Org documents
|
* Embedded @LaTeX{}:: LaTeX can be freely used inside Org documents
|
||||||
@end menu
|
@end menu
|
||||||
|
|
||||||
|
@ -10048,42 +10049,19 @@ way@footnote{This behaviour can be disabled with @code{-} export setting
|
||||||
combinations: @samp{\-} is treated as a shy hyphen, @samp{--} and @samp{---}
|
combinations: @samp{\-} is treated as a shy hyphen, @samp{--} and @samp{---}
|
||||||
are converted into dashes, and @samp{...} becomes a compact set of dots.
|
are converted into dashes, and @samp{...} becomes a compact set of dots.
|
||||||
|
|
||||||
@node Embedded @LaTeX{}
|
|
||||||
@section Embedded @LaTeX{}
|
|
||||||
@cindex @TeX{} interpretation
|
|
||||||
@cindex @LaTeX{} interpretation
|
|
||||||
|
|
||||||
Plain ASCII is normally sufficient for almost all note taking. Exceptions
|
|
||||||
include scientific notes, which often require mathematical symbols and the
|
|
||||||
occasional formula. @LaTeX{}@footnote{@LaTeX{} is a macro system based on
|
|
||||||
Donald E. Knuth's @TeX{} system. Many of the features described here as
|
|
||||||
``@LaTeX{}'' are really from @TeX{}, but for simplicity I am blurring this
|
|
||||||
distinction.} is widely used to typeset scientific documents. Org mode
|
|
||||||
supports embedding @LaTeX{} code into its files, because many academics are
|
|
||||||
used to writing and reading @LaTeX{} source code, and because it can be
|
|
||||||
readily processed to produce pretty output for a number of export back-ends.
|
|
||||||
|
|
||||||
@menu
|
|
||||||
* Subscripts and superscripts:: Simple syntax for raising/lowering text
|
|
||||||
* @LaTeX{} fragments:: Complex formulas made easy
|
|
||||||
* Previewing @LaTeX{} fragments:: What will this snippet look like?
|
|
||||||
* CDLaTeX mode:: Speed up entering of formulas
|
|
||||||
@end menu
|
|
||||||
|
|
||||||
@node Subscripts and superscripts
|
@node Subscripts and superscripts
|
||||||
@subsection Subscripts and superscripts
|
@section Subscripts and superscripts
|
||||||
@cindex subscript
|
@cindex subscript
|
||||||
@cindex superscript
|
@cindex superscript
|
||||||
|
|
||||||
Just like in @LaTeX{}, @samp{^} and @samp{_} are used to indicate super- and
|
@samp{^} and @samp{_} are used to indicate super- and subscripts. To
|
||||||
subscripts. Again, these can be used without embedding them in math-mode
|
increase the readability of ASCII text, it is not necessary---but OK---to
|
||||||
delimiters. To increase the readability of ASCII text, it is not necessary
|
surround multi-character sub- and superscripts with curly braces. Those are,
|
||||||
(but OK) to surround multi-character sub- and superscripts with curly braces.
|
however, mandatory, when more than one word is involved. For example
|
||||||
For example
|
|
||||||
|
|
||||||
@example
|
@example
|
||||||
The mass of the sun is M_sun = 1.989 x 10^30 kg. The radius of
|
The radius of the sun is R_sun = 6.96 x 10^8 m. On the other hand, the
|
||||||
the sun is R_@{sun@} = 6.96 x 10^8 m.
|
radius of Alpha Centauri is R_@{Alpha Centauri@} = 1.28 x R_@{sun@}.
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
@vindex org-use-sub-superscripts
|
@vindex org-use-sub-superscripts
|
||||||
|
@ -10100,15 +10078,35 @@ In addition to showing entities as UTF-8 characters, this command will also
|
||||||
format sub- and superscripts in a WYSIWYM way.
|
format sub- and superscripts in a WYSIWYM way.
|
||||||
@end table
|
@end table
|
||||||
|
|
||||||
|
@node Embedded @LaTeX{}
|
||||||
|
@section Embedded @LaTeX{}
|
||||||
|
@cindex @TeX{} interpretation
|
||||||
|
@cindex @LaTeX{} interpretation
|
||||||
|
|
||||||
|
Plain ASCII is normally sufficient for almost all note taking. Exceptions
|
||||||
|
include scientific notes, which often require mathematical symbols and the
|
||||||
|
occasional formula. @LaTeX{}@footnote{@LaTeX{} is a macro system based on
|
||||||
|
Donald E. Knuth's @TeX{} system. Many of the features described here as
|
||||||
|
``@LaTeX{}'' are really from @TeX{}, but for simplicity I am blurring this
|
||||||
|
distinction.} is widely used to typeset scientific documents. Org mode
|
||||||
|
supports embedding @LaTeX{} code into its files, because many academics are
|
||||||
|
used to writing and reading @LaTeX{} source code, and because it can be
|
||||||
|
readily processed to produce pretty output for a number of export back-ends.
|
||||||
|
|
||||||
|
@menu
|
||||||
|
* @LaTeX{} fragments:: Complex formulas made easy
|
||||||
|
* Previewing @LaTeX{} fragments:: What will this snippet look like?
|
||||||
|
* CDLaTeX mode:: Speed up entering of formulas
|
||||||
|
@end menu
|
||||||
|
|
||||||
@node @LaTeX{} fragments
|
@node @LaTeX{} fragments
|
||||||
@subsection @LaTeX{} fragments
|
@subsection @LaTeX{} fragments
|
||||||
@cindex @LaTeX{} fragments
|
@cindex @LaTeX{} fragments
|
||||||
|
|
||||||
@vindex org-format-latex-header
|
@vindex org-format-latex-header
|
||||||
Going beyond symbols and sub- and superscripts, a full formula language is
|
Org mode can contain @LaTeX{} math fragments, and it supports ways to process
|
||||||
needed. Org mode can contain @LaTeX{} math fragments, and it supports ways
|
these for several export back-ends. When exporting to @LaTeX{}, the code is
|
||||||
to process these for several export back-ends. When exporting to @LaTeX{},
|
left as it is. When exporting to HTML, Org can use either
|
||||||
the code is left as it is. When exporting to HTML, Org can use either
|
|
||||||
@uref{http://www.mathjax.org, MathJax} (@pxref{Math formatting in HTML
|
@uref{http://www.mathjax.org, MathJax} (@pxref{Math formatting in HTML
|
||||||
export}) or transcode the math into images (see @pxref{Previewing @LaTeX{}
|
export}) or transcode the math into images (see @pxref{Previewing @LaTeX{}
|
||||||
fragments}).
|
fragments}).
|
||||||
|
|
Loading…
Reference in New Issue