git.iko.soy/typeable/pandoc
on master help sign in
Options and documentation for backslash tex math options.
eb4d522John MacFarlane
@@ -2196,6 +2196,16 @@ example, `markdown+hard_line_breaks` is markdown with hard line breaks.
2196Causes all newlines within a paragraph to be interpreted as hard line
2196Causes all newlines within a paragraph to be interpreted as hard line
2197breaks instead of spaces.
2197breaks instead of spaces.
2198
2198
2199+**Extension: `tex_math_single_backslash`**\
2200+Causes anything between `\(` and `\)` to be interpreted as inline
2201+TeX math, and anything between `\[` and `\]` to be interpreted
2202+as display TeX math. Note: a drawback of this extension is that
2203+it precludes escaping `(` and `[`.
2204+
2205+**Extension: `tex_math_double_backslash`**\
2206+Causes anything between `\\(` and `\\)` to be interpreted as inline
2207+TeX math, and anything between `\\[` and `\\]` to be interpreted
2208+as display TeX math.
2199
2209
2200Producing slide shows with Pandoc
2210Producing slide shows with Pandoc
2201=================================
2211=================================
src/Text/Pandoc/Options.hs+2
@@ -58,6 +58,8 @@ data Extension = Ext_footnotes
58 | Ext_citations
58 | Ext_citations
59 | Ext_raw_tex
59 | Ext_raw_tex
60 | Ext_tex_math_dollars
60 | Ext_tex_math_dollars
61+ | Ext_tex_math_single_backslash
62+ | Ext_tex_math_double_backslash
61 | Ext_latex_macros
63 | Ext_latex_macros
62 | Ext_delimited_code_blocks
64 | Ext_delimited_code_blocks
63 | Ext_inline_code_attributes
65 | Ext_inline_code_attributes