diff --git a/nbconvert/templates/latex/base.tplx b/nbconvert/templates/latex/base.tplx index 3c4e39475..222ea40f4 100644 --- a/nbconvert/templates/latex/base.tplx +++ b/nbconvert/templates/latex/base.tplx @@ -138,6 +138,10 @@ This template does not define a docclass, the inheriting class must define this. % Math Jax compatability definitions \def\gt{>} \def\lt{<} + \let\Oldtex\TeX + \let\Oldlatex\LaTeX + \renewcommand{\TeX}{\textrm{\Oldtex}} + \renewcommand{\LaTeX}{\textrm{\Oldlatex}} % Document parameters % Document title ((* block title -*))