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