summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lwarp/lwarp-amsthm.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-amsthm.sty')
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-amsthm.sty30
1 files changed, 15 insertions, 15 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-amsthm.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-amsthm.sty
index b411574059f..e6bd5b2d5c5 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-amsthm.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-amsthm.sty
@@ -6,7 +6,7 @@
%%
%% lwarp.dtx (with options: `amsthm')
%% This is a generated file.
-%% Copyright 2016-2017 Brian Dunn
+%% Copyright 2016-2018 Brian Dunn
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
@@ -25,15 +25,15 @@
\@ifundefined{th@#1}{%
\PackageWarning{amsthm}{Unknown theoremstyle `#1'}%
\thm@style{plain}%
- \renewcommand{\LWR@newtheoremstyle}{plain}% new
+ \renewcommand{\LWR@newtheoremstyle}{plain}% lwarp
}{%
\thm@style{#1}%
- \renewcommand{\LWR@newtheoremstyle}{#1}% new
+ \renewcommand{\LWR@newtheoremstyle}{#1}% lwarp
}%
}
\def\@xnthm#1#2{%
- \csedef{LWR@thmstyle#2}{\LWR@newtheoremstyle}% new
+ \csedef{LWR@thmstyle#2}{\LWR@newtheoremstyle}% lwarp
\let\@tempa\relax
\@xp\@ifdefinable\csname #2\endcsname{%
\global\@xp\let\csname end#2\endcsname\@endtheorem
@@ -45,7 +45,7 @@
\else % numbered theorem, need to check for optional arg
\def\@tempa{\@oparg{\@ynthm{#2}}[]}%
\fi
- \AtBeginEnvironment{#2}{\edef\LWR@thisthmstyle{\csuse{LWR@thmstyle#2}}}% new
+ \AtBeginEnvironment{#2}{\edef\LWR@thisthmstyle{\csuse{LWR@thmstyle#2}}}% lwarp
}%
\@tempa
}
@@ -67,9 +67,9 @@
\LWR@haveamsthmnote
\def\@begintheorem#1#2[#3]{%
\item[
- \@ifempty{#1}{\let\thmname\@gobble}{\LWR@haveamsthmname}% new
- \@ifempty{#2}{\let\thmnumber\@gobble}{\LWR@haveamsthmnumber}% new
- \@ifempty{#3}{\let\thmnote\@gobble}{\LWR@haveamsthmnote}% new
+ \@ifempty{#1}{\let\thmname\@gobble}{\LWR@haveamsthmname}% lwarp
+ \@ifempty{#2}{\let\thmnumber\@gobble}{\LWR@haveamsthmnumber}% lwarp
+ \@ifempty{#3}{\let\thmnote\@gobble}{\LWR@haveamsthmnote}% lwarp
\thm@swap\swappedhead\thmhead{#1}{#2}{#3}%
\the\thm@headpunct~
\thmheadnl % possibly a newline.
@@ -79,8 +79,8 @@
\def\@thm#1#2#3{%
\ifhmode\unskip\unskip\par\fi
\normalfont
- \LWR@forcenewpage% new
- \BlockClass{amsthmbody\LWR@thisthmstyle}% new
+ \LWR@forcenewpage% lwarp
+ \BlockClass{amsthmbody\LWR@thisthmstyle}% lwarp
\trivlist
\let\thmheadnl\relax
\let\thm@swap\@gobble
@@ -103,8 +103,8 @@
\def\cref@thmoptarg[#1]#2#3#4{%
\ifhmode\unskip\unskip\par\fi%
\normalfont%
- \LWR@forcenewpage% new
- \BlockClass{amsthmbody\LWR@thisthmstyle}% new
+ \LWR@forcenewpage% lwarp
+ \BlockClass{amsthmbody\LWR@thisthmstyle}% lwarp
\trivlist%
\let\thmheadnl\relax%
\let\thm@swap\@gobble%
@@ -132,8 +132,8 @@
\def\Box{\text{\HTMLunicode{25A1}}}% UTF-8 white box
}
\renewenvironment{proof}[1][\proofname]{\par
-\LWR@forcenewpage% new
- \BlockClass{amsthmproof}% new
+\LWR@forcenewpage% lwarp
+ \BlockClass{amsthmproof}% lwarp
\pushQED{\qed}%
\normalfont \topsep6\p@\@plus6\p@\relax
\trivlist
@@ -141,7 +141,7 @@
\InlineClass{amsthmproofname}{#1\@addpunct{.}}]\ignorespaces% changes
}{%
\InlineClass{theoremendmark}{\popQED}\endtrivlist%
- \endBlockClass% new
+ \endBlockClass% lwarp
\@endpefalse
}