tex_math_dollarsAnything between two $ characters will be treated as TeX
math. The opening $ must have a non-space character
immediately to its right, while the closing $ must have a
non-space character immediately to its left, and must not be followed
immediately by a digit. Thus, $20,000 and $30,000 won’t
parse as math. If for some reason you need to enclose text in literal
$ characters, backslash-escape them and they won’t be
treated as math delimiters.
For display math, use $$ delimiters. (In this case, the
delimiters may be separated from the formula by whitespace. However,
there can be no blank lines between the opening and closing
$$ delimiters.)
TeX math will be printed in all output formats. How it is rendered depends on the output format:
\(...\) (for inline
math) or \[...\] (for display math).
$...$ (for inline
math) or $$...$$ (for display math).
{{formula}}..{{/formula}}.
:math:.
latexmath:[...]. For asciidoc_legacy the
bracketed material will also include inline or display math delimiters.
@math command.
$’s.
<math> tags.
<span class="math"> tags.
--mathml flag is used, it will be rendered using
MathML in an inlineequation or
informalequation tag. Otherwise it will be rendered, if
possible, using Unicode characters.
--webtex option is used, formulas are rendered as
images using CodeCogs or other compatible web service, downloaded and
embedded in the e-book. Otherwise, they will appear verbatim.