aboutsummaryrefslogtreecommitdiff
path: root/test/command/7299.md
blob: 0847c40ce98374fc1f887f5bb71c2810ff728366 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
```
% pandoc -f latex -t plain
$1-{\ensuremath{r}\xspace}$
^D
1 − r
```

```
% pandoc -f latex -t plain
\newcommand{\foo}{Foo\xspace}

$\text{\foo bar}$
^D
Foo bar
```

```
% pandoc -f latex -t plain
a\xspace b
^D
a b
```