Fixed bug in $-mathjax and $$-mathjax (the LaTeX header was expecting the wrong \texMath instead of \math and was lacking the \ensuremath{})

This commit is contained in:
Suzanne Soy 2021-03-23 17:10:40 +00:00
parent 581f9cb514
commit f90a7fc86a

View File

@ -261,7 +261,7 @@ EOJS
(define tex-commands
(string->bytes/utf-8 #<<EOTEX
\def\texMath#1{#1}
\def\math#1{\ensuremath{#1}}
\def\texMathInline#1{\ensuremath{#1}}
\def\texMathDisplay#1{\ifmmode #1\else\[#1\]\fi}
EOTEX