summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lwarp/lwarp-realscripts.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-realscripts.sty')
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-realscripts.sty8
1 files changed, 6 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-realscripts.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-realscripts.sty
index d3a8e5e2444..2cb38b2edb8 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-realscripts.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-realscripts.sty
@@ -28,8 +28,12 @@
\newcommand*{\LWR@setrealscriptsalign}[1]{%
\renewcommand*{\LWR@realscriptsalign}{}%
-\ifthenelse{\equal{#1}{c}}{\renewcommand{\LWR@realscriptsalign}{\LWR@origmbox{text-align:center} ; }}{}%
-\ifthenelse{\equal{#1}{r}}{\renewcommand{\LWR@realscriptsalign}{\LWR@origmbox{text-align:right} ; }}{}%
+\ifthenelse{\equal{#1}{c}}{%
+ \renewcommand{\LWR@realscriptsalign}{\LWR@print@mbox{text-align:center} ; }%
+}{}%
+\ifthenelse{\equal{#1}{r}}{%
+ \renewcommand{\LWR@realscriptsalign}{\LWR@print@mbox{text-align:right} ; }%
+}{}%
}
\DeclareDocumentCommand \textsubsuperscript {s O{l} mm} {%