aboutsummaryrefslogtreecommitdiff
path: root/test/command/5836.md
blob: 6fe1539cf5aa757b366180c3f726d0c6a9a320b1 (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
27
```
% pandoc -f markdown -t latex
\newcommand{\vara}{\alpha}
\newcommand{\varb}{b}
$\vara \varb$
^D
\newcommand{\vara}{\alpha}
\newcommand{\varb}{b}

\(\alpha b\)
```
```
% pandoc -f latex -t latex
\newcommand{\vara}{\alpha}
\newcommand{\varb}{b}
$\vara \varb$
^D
\(\alpha b\)
```
```
% pandoc -f latex -t latex
\newcommand{\vara}{\alpha}
\newcommand{\varb}{b}
\[\vara \varb\]
^D
\[\alpha b\]
```