diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-cancel.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/lwarp/lwarp-cancel.sty | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-cancel.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-cancel.sty index 5fdd7cb174c..430e5273734 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-cancel.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-cancel.sty @@ -17,15 +17,6 @@ %% version 2005/12/01 or later. \LWR@origRequirePackage{lwarp-xcolor}% for \convertcolorspec \LWR@ProvidesPackagePass{cancel}[2013/04/12] -\LetLtxMacro\LWR@origcancel\cancel -\LetLtxMacro\LWR@origbcancel\bcancel -\LetLtxMacro\LWR@origxcancel\xcancel - -\appto\LWR@restoreorigformatting{% -\LetLtxMacro\cancel\LWR@origcancel% -\LetLtxMacro\bcancel\LWR@origbcancel% -\LetLtxMacro\xcancel\LWR@origxcancel% -} \newcommand{\LWR@cancelcolor}[5]{% \ifcsempty{#2}% @@ -33,7 +24,7 @@ {\LWR@htmlspanclass[#5;#4:\LWR@origpound\LWR@tempcolor]{#3}{#1}}% } -\DeclareRobustCommand{\cancel}[1]{% +\DeclareRobustCommand{\LWR@HTML@cancel}[1]{% \begingroup% \CancelColor% \LWR@findcurrenttextcolor% @@ -42,6 +33,7 @@ {text-decoration:line-through}% \endgroup% } +\LWR@formatted{cancel}% \LetLtxMacro\bcancel\cancel \LetLtxMacro\xcancel\cancel @@ -50,6 +42,7 @@ \CustomizeMathJax{\require{cancel}} \end{warpMathJax} + \endinput %% %% End of file `lwarp-cancel.sty'. |