aboutsummaryrefslogtreecommitdiff
path: root/test/command
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2018-10-29 22:20:14 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2018-10-29 22:20:14 -0700
commitc51be5dfc85024e68a4bd62c9ced748b27f968c0 (patch)
treedbd4672da32fd268f7359f5c9284a5178e1e7ca3 /test/command
parent9e3a2b61ec46bc8a49eb7064a824a1f07d55144e (diff)
downloadpandoc-c51be5dfc85024e68a4bd62c9ced748b27f968c0.tar.gz
LaTeX reader: allow space at end of math after `\`.
Closes #5010. Expose trimMath from T.P.Shared.
Diffstat (limited to 'test/command')
-rw-r--r--test/command/5010.md21
1 files changed, 21 insertions, 0 deletions
diff --git a/test/command/5010.md b/test/command/5010.md
new file mode 100644
index 000000000..b95d548b3
--- /dev/null
+++ b/test/command/5010.md
@@ -0,0 +1,21 @@
+```
+% pandoc -f latex -t latex
+\(\left\{ \begin{matrix}
+y\,\,\,\, \geqq \,\,\, f\,(\, x\,)\,\, \\
+y\,\,\, \leqq \,\,\, g\,(\, x\,)\, \\
+\end{matrix} \right.\ \)
+^D
+\(\left\{ \begin{matrix}
+y\,\,\,\, \geqq \,\,\, f\,(\, x\,)\,\, \\
+y\,\,\, \leqq \,\,\, g\,(\, x\,)\, \\
+\end{matrix} \right.\ \)
+```
+
+```
+% pandoc -f markdown -t latex
+$x\ $
+^D
+\(x\ \)
+```
+
+