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:
parent
581f9cb514
commit
f90a7fc86a
|
@ -261,7 +261,7 @@ EOJS
|
||||||
|
|
||||||
(define tex-commands
|
(define tex-commands
|
||||||
(string->bytes/utf-8 #<<EOTEX
|
(string->bytes/utf-8 #<<EOTEX
|
||||||
\def\texMath#1{#1}
|
\def\math#1{\ensuremath{#1}}
|
||||||
\def\texMathInline#1{\ensuremath{#1}}
|
\def\texMathInline#1{\ensuremath{#1}}
|
||||||
\def\texMathDisplay#1{\ifmmode #1\else\[#1\]\fi}
|
\def\texMathDisplay#1{\ifmmode #1\else\[#1\]\fi}
|
||||||
EOTEX
|
EOTEX
|
||||||
|
|
Loading…
Reference in New Issue
Block a user