2021-03-17 17:02:20 +01:00
|
|
|
```
|
|
|
|
% pandoc -f markdown+tex_math_single_backslash -t native
|
|
|
|
\(x\) \[x\]
|
|
|
|
\\(x\\) \\[x\\]
|
|
|
|
^D
|
2021-09-19 21:09:51 +02:00
|
|
|
[ Para
|
2021-09-29 06:17:53 +02:00
|
|
|
[ Math InlineMath "x"
|
|
|
|
, Space
|
|
|
|
, Math DisplayMath "x"
|
|
|
|
, SoftBreak
|
|
|
|
, Str "\\(x\\)"
|
|
|
|
, Space
|
|
|
|
, Str "\\[x\\]"
|
|
|
|
]
|
2021-09-19 21:09:51 +02:00
|
|
|
]
|
2021-03-17 17:02:20 +01:00
|
|
|
```
|
|
|
|
|
|
|
|
```
|
|
|
|
% pandoc -f markdown+tex_math_double_backslash -t native
|
|
|
|
\(x\) \[x\]
|
|
|
|
\\(x\\) \\[x\\]
|
|
|
|
^D
|
2021-09-19 21:09:51 +02:00
|
|
|
[ Para
|
2021-09-29 06:17:53 +02:00
|
|
|
[ Str "(x)"
|
|
|
|
, Space
|
|
|
|
, Str "[x]"
|
|
|
|
, SoftBreak
|
|
|
|
, Math InlineMath "x"
|
|
|
|
, Space
|
|
|
|
, Math DisplayMath "x"
|
|
|
|
]
|
2021-09-19 21:09:51 +02:00
|
|
|
]
|
2021-03-17 17:02:20 +01:00
|
|
|
```
|