summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lwarp/lwarp-realscripts.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-06-06 20:52:12 +0000
committerKarl Berry <karl@freefriends.org>2018-06-06 20:52:12 +0000
commit0287311bafc0bdd253df0c8d6df3ef85f804d263 (patch)
tree151b584accf0b823a70c9bb86673bb0ad79f2991 /Master/texmf-dist/tex/latex/lwarp/lwarp-realscripts.sty
parente0b44a591ea65a8c11f15d8e4c0cfb50a6058782 (diff)
lwarp (6jun18)
git-svn-id: svn://tug.org/texlive/trunk@47944 c570f23f-e606-0410-a88d-b1316a301751
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} {%