From c51be5dfc85024e68a4bd62c9ced748b27f968c0 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 29 Oct 2018 22:20:14 -0700 Subject: LaTeX reader: allow space at end of math after `\`. Closes #5010. Expose trimMath from T.P.Shared. --- test/command/5010.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 test/command/5010.md (limited to 'test/command') 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\ \) +``` + + -- cgit v1.2.3