The text you quote concern what’s between the dollar sign, not the sign itself.
In LaTeX, it is often recommended to use
\(...\)
and\[...\]
instead of the TeX$...$
and$$...$$
. See [math mode - What are the differences between $$, \, align, equation and displaymath? - TeX - LaTeX Stack Exchange for example.,On Saturday, June 23, 2018 at 7:56:54 AM UTC-7, Gandalf Saxe wrote:
Manual says:TeX math will be printed in all output formats. How it is rendered depends on the output format:
- Markdown, LaTeX, Emacs Org mode, ConTeXt, ZimWiki
- It will appear verbatim between
$
characters.However converting inline math `$...The text you quote concern what’s between the dollar sign, not the sign itself.
In LaTeX, it is often recommended to use
\(...\)
and\[...\]
instead of the TeX$...$
and$$...$$
. See [math mode - What are the differences between $$, \, align, equation and displaymath? - TeX - LaTeX Stack Exchange for example.,On Saturday, June 23, 2018 at 7:56:54 AM UTC-7, Gandalf Saxe wrote:
from markdown to LaTeX, converts it to `\(...\)` syntax. Am I misunderstanding the manual or should this be updated?
Example .md input:`This is a simple inline $e=mc^2$ math.`Example command:`pandoc test.md -o test.tex`Example .tex output:`This is a simple inline \(e=mc^2\) math.`