diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-units.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/lwarp/lwarp-units.sty | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-units.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-units.sty index 325fa58f47a..a31b4104d5d 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-units.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-units.sty @@ -41,8 +41,8 @@ \LWR@formatted{unitfrac} \begin{warpMathJax} -\CustomizeMathJax{\newcommand{\unit}[2][]{#1 #2}} -\CustomizeMathJax{\newcommand{\unitfrac}[3][]{#1 #2/#3}} +\CustomizeMathJax{\newcommand{\unit}[2][]{#1 \mathinner{#2}}} +\CustomizeMathJax{\newcommand{\unitfrac}[3][]{#1 \mathinner{{}^{#2}\!/\!_{#3}}}} \end{warpMathJax} |