aboutsummaryrefslogtreecommitdiff
path: root/test/command/7299.md
diff options
context:
space:
mode:
Diffstat (limited to 'test/command/7299.md')
-rw-r--r--test/command/7299.md23
1 files changed, 23 insertions, 0 deletions
diff --git a/test/command/7299.md b/test/command/7299.md
new file mode 100644
index 000000000..0847c40ce
--- /dev/null
+++ b/test/command/7299.md
@@ -0,0 +1,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
+```
+