aboutsummaryrefslogtreecommitdiff
path: root/test/command/1390.md
blob: 4fea322908b8872ac7e2ff34e17137a3fa41593c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
```
% pandoc -f latex -t native
\newcommand\foo{+}
Testing: $\mu\foo\eta$.
^D
[ Para
    [ Str "Testing:"
    , Space
    , Math InlineMath "\\mu+\\eta"
    , Str "."
    ]
]
```

<!-- 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}"]]
```
-->