diff options
author | Karl Berry <karl@freefriends.org> | 2018-06-06 20:52:12 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-06-06 20:52:12 +0000 |
commit | 0287311bafc0bdd253df0c8d6df3ef85f804d263 (patch) | |
tree | 151b584accf0b823a70c9bb86673bb0ad79f2991 /Master/texmf-dist/tex/latex/lwarp/lwarp-xfrac.sty | |
parent | e0b44a591ea65a8c11f15d8e4c0cfb50a6058782 (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-xfrac.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/lwarp/lwarp-xfrac.sty | 18 |
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% }, |