pandoc/test/command/1390.md

27 lines
366 B
Markdown
Raw Normal View History

2017-07-01 19:31:43 +02:00
```
% pandoc -f latex -t native
\newcommand\foo{+}
Testing: $\mu\foo\eta$.
^D
[ Para
[ Str "Testing:"
, Space
, Math InlineMath "\\mu+\\eta"
, Str "."
]
]
2017-07-01 19:31:43 +02:00
```
<!-- It would be nice to handle this case, but I don't
know how:
```
% pandoc -f latex -t native
\newcommand{\vecx}{a + b}
$\hat\vecx$
^D
[Para [Math InlineMath "\\hat{a+b}"]]
```
-->