summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lwarp/lwarp-xfrac.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-xfrac.sty')
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-xfrac.sty18
1 files changed, 8 insertions, 10 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-xfrac.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-xfrac.sty
index 9744eb1546d..d82834964ad 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-xfrac.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-xfrac.sty
@@ -38,18 +38,16 @@
\LWR@htmltagc{/span}%
\endLWR@nestspan%
}
-\NewDocumentCommand{\LWR@noscalebox}{m o m}{#3}
-
\DeclareInstance{xfrac}{default}{text}{
numerator-format = {%
\begingroup%
-\LetLtxMacro{\scalebox}{\LWR@noscalebox}%
+\RenewDocumentCommand{\scalebox}{m o m}{##3}%
\LWR@htmlsmallfontstart\textsuperscript{#1}\,\LWR@htmlsmallfontend%
\endgroup%
},
denominator-format = {%
\begingroup%
-\LetLtxMacro{\scalebox}{\LWR@noscalebox}%
+\RenewDocumentCommand{\scalebox}{m o m}{##3}%
\LWR@htmlsmallfontstart{}\,#1\LWR@htmlsmallfontend%
\endgroup%
},
@@ -59,13 +57,13 @@ scaling = false
\DeclareInstance{xfrac}{lmr}{text}{
numerator-format = {%
\begingroup%
-\LetLtxMacro{\scalebox}{\LWR@noscalebox}%
+\RenewDocumentCommand{\scalebox}{m o m}{##3}%
\LWR@htmlsmallfontstart\textsuperscript{#1}\,\LWR@htmlsmallfontend%
\endgroup%
},
denominator-format = {%
\begingroup%
-\LetLtxMacro{\scalebox}{\LWR@noscalebox}%
+\RenewDocumentCommand{\scalebox}{m o m}{##3}%
\LWR@htmlsmallfontstart{}\,#1\LWR@htmlsmallfontend%
\endgroup%
},
@@ -75,13 +73,13 @@ scaling = false
\DeclareInstance{xfrac}{lmss}{text}{
numerator-format = {%
\begingroup%
-\LetLtxMacro{\scalebox}{\LWR@noscalebox}%
+\RenewDocumentCommand{\scalebox}{m o m}{##3}%
\LWR@htmlsmallfontstart\textsuperscript{#1}\,\LWR@htmlsmallfontend%
\endgroup%
},
denominator-format = {%
\begingroup%
-\LetLtxMacro{\scalebox}{\LWR@noscalebox}%
+\RenewDocumentCommand{\scalebox}{m o m}{##3}%
\LWR@htmlsmallfontstart{}\,#1\LWR@htmlsmallfontend%
\endgroup%
},
@@ -91,13 +89,13 @@ scaling = false
\DeclareInstance{xfrac}{lmtt}{text}{
numerator-format = {%
\begingroup%
-\LetLtxMacro{\scalebox}{\LWR@noscalebox}%
+\RenewDocumentCommand{\scalebox}{m o m}{##3}%
\LWR@htmlsmallfontstart\textsuperscript{#1}\,\LWR@htmlsmallfontend%
\endgroup%
},
denominator-format = {%
\begingroup%
-\LetLtxMacro{\scalebox}{\LWR@noscalebox}%
+\RenewDocumentCommand{\scalebox}{m o m}{##3}%
\LWR@htmlsmallfontstart{}\,#1\LWR@htmlsmallfontend%
\endgroup%
},