diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-amsthm.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/lwarp/lwarp-amsthm.sty | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-amsthm.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-amsthm.sty index e6bd5b2d5c5..7704450d15c 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-amsthm.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-amsthm.sty @@ -127,10 +127,22 @@ \def\@endtheorem{\endtrivlist\endBlockClass\@endpefalse } \AtBeginDocument{ +\@ifundefined{LWR@orig@openbox}{ +\LetLtxMacro\LWR@orig@openbox\openbox +\LetLtxMacro\LWR@orig@blacksquare\blacksquare +\LetLtxMacro\LWR@orig@Box\Box + \def\openbox{\text{\HTMLunicode{25A1}}}% UTF-8 white box \def\blacksquare{\text{\HTMLunicode{220E}}}% UTF-8 end-of-proof \def\Box{\text{\HTMLunicode{25A1}}}% UTF-8 white box -} + +\appto\LWR@restoreorigformatting{% +\LetLtxMacro\openbox\LWR@orig@openbox% +\LetLtxMacro\blacksquare\LWR@orig@blacksquare% +\LetLtxMacro\Box\LWR@orig@Box% +}% appto +}{}% @ifundefined +}% AtBeginDocument \renewenvironment{proof}[1][\proofname]{\par \LWR@forcenewpage% lwarp \BlockClass{amsthmproof}% lwarp |