diff options
author | John MacFarlane <jgm@berkeley.edu> | 2018-10-29 22:20:14 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2018-10-29 22:20:14 -0700 |
commit | c51be5dfc85024e68a4bd62c9ced748b27f968c0 (patch) | |
tree | dbd4672da32fd268f7359f5c9284a5178e1e7ca3 /test/command | |
parent | 9e3a2b61ec46bc8a49eb7064a824a1f07d55144e (diff) | |
download | pandoc-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.md | 21 |
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\ \) +``` + + |