aboutsummaryrefslogtreecommitdiff
path: root/test/command/1390.md
blob: 1d479dc94a1554cbc71105bef3be45dfcfc3baee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
```
% 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}"]]
```
-->