From 521e6c9fda2ed26d870b9d71c4cb518b6c73759b Mon Sep 17 00:00:00 2001 From: "Davide P. Cervone" Date: Mon, 21 Apr 2014 15:24:30 -0400 Subject: [PATCH] Remove extra level of nesting from \textit, \textbf, etc. --- unpacked/jax/input/TeX/jax.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/unpacked/jax/input/TeX/jax.js b/unpacked/jax/input/TeX/jax.js index 7d1313700..1abcc0d9a 100644 --- a/unpacked/jax/input/TeX/jax.js +++ b/unpacked/jax/input/TeX/jax.js @@ -934,10 +934,10 @@ mathsf: ['Macro','{\\sf #1}',1], mathtt: ['Macro','{\\tt #1}',1], textrm: ['Macro','\\mathord{\\rm\\text{#1}}',1], - textit: ['Macro','\\mathord{\\it{\\text{#1}}}',1], - textbf: ['Macro','\\mathord{\\bf{\\text{#1}}}',1], - textsf: ['Macro','\\mathord{\\sf{\\text{#1}}}',1], - texttt: ['Macro','\\mathord{\\tt{\\text{#1}}}',1], + textit: ['Macro','\\mathord{\\it\\text{#1}}',1], + textbf: ['Macro','\\mathord{\\bf\\text{#1}}',1], + textsf: ['Macro','\\mathord{\\sf\\text{#1}}',1], + texttt: ['Macro','\\mathord{\\tt\\text{#1}}',1], pmb: ['Macro','\\rlap{#1}\\kern1px{#1}',1], TeX: ['Macro','T\\kern-.14em\\lower.5ex{E}\\kern-.115em X'], LaTeX: ['Macro','L\\kern-.325em\\raise.21em{\\scriptstyle{A}}\\kern-.17em\\TeX'],