Skip to content

Commit

Permalink
Updated compatibility definitions
Browse files Browse the repository at this point in the history
These new definitions allow for the original LaTeX and TeX logos inside of math mode.
  • Loading branch information
t-makaro authored Oct 17, 2017
1 parent a496b6b commit 69285de
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions nbconvert/templates/latex/base.tplx
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,10 @@ This template does not define a docclass, the inheriting class must define this.
% Math Jax compatability definitions
\def\gt{>}
\def\lt{<}
\def\TeX{\mbox{T\kern-.14em\lower.5ex\hbox{E}\kern-.115em X}}
\def\LaTeX{\mbox{L\kern-.325em\raise.21em\hbox{$\scriptstyle{A}$}\kern-.17em}\TeX}
\let\Oldtex\TeX
\let\Oldlatex\LaTeX
\renewcommand{\TeX}{\textrm{\Oldtex}}
\renewcommand{\LaTeX}{\textrm{\Oldlatex}}
% Document parameters
% Document title
((* block title -*))
Expand Down

0 comments on commit 69285de

Please sign in to comment.