From bc508534a648b900c683e60b1cc9681ed606a723 Mon Sep 17 00:00:00 2001 From: Philip Pesca Date: Tue, 23 Jul 2019 12:21:32 -0700 Subject: HTML writer: render inline formulas correctly with --webtex (#5656) We add `\textstyle` to the beginning of the formula to ensure it will be rendered in inline style. Closes #5655. --- test/command/5655.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 test/command/5655.md (limited to 'test') diff --git a/test/command/5655.md b/test/command/5655.md new file mode 100644 index 000000000..de5a923ae --- /dev/null +++ b/test/command/5655.md @@ -0,0 +1,14 @@ +```` +% pandoc --webtex +$T_n={n+1 \choose 2}$ +^D +

T_n={n+1 \choose 2}

+```` + +```` +% pandoc --webtex +$$T_n={n+1 \choose 2}$$ +^D +


T_n={n+1 \choose 2}

+```` + -- cgit v1.2.3