summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lwarp/lwarp-theorem.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-08-17 21:15:43 +0000
committerKarl Berry <karl@freefriends.org>2017-08-17 21:15:43 +0000
commit0f4a34d1fe6262bc72205b50adb2ae5ab576d427 (patch)
tree96d07059e14ae2c49b831c16e2cf0de025d41d5c /Master/texmf-dist/tex/latex/lwarp/lwarp-theorem.sty
parent0b34e84c6dde5d7877c9b07fc95374374aaba3c6 (diff)
lwarp (17aug17)
git-svn-id: svn://tug.org/texlive/trunk@45054 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-theorem.sty')
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-theorem.sty106
1 files changed, 53 insertions, 53 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-theorem.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-theorem.sty
index 2bc608f1a3e..2a597dada71 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-theorem.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-theorem.sty
@@ -52,10 +52,10 @@
}}
\gdef\@ynthm#1#2{%
-\expandafter\@ifdefinable\csname #1\endcsname
+ \expandafter\@ifdefinable\csname #1\endcsname
{
-\csedef{LWR@thmstyle#1}{\LWR@newtheoremstyle}% new
-\@definecounter{#1}%
+ \csedef{LWR@thmstyle#1}{\LWR@newtheoremstyle}% new
+ \@definecounter{#1}%
\expandafter\xdef\csname the#1\endcsname{\@thmcounter{#1}}%
\def\@tempa{\global\@namedef{#1}}\expandafter \@tempa
\expandafter{\csname th@\the \theorem@style \expandafter
@@ -70,106 +70,106 @@
\else
\expandafter\@ifdefinable\csname #1\endcsname
{
-\csedef{LWR@thmstyle#1}{\LWR@newtheoremstyle}% new
-\expandafter \xdef \csname the#1\endcsname
+ \csedef{LWR@thmstyle#1}{\LWR@newtheoremstyle}% new
+ \expandafter \xdef \csname the#1\endcsname
{\expandafter \noexpand \csname the#2\endcsname}%
\def\@tempa{\global\@namedef{#1}}\expandafter \@tempa
\expandafter{\csname th@\the \theorem@style \expandafter
\endcsname \the\theorem@bodyfont \@thm{#2}{#3}}%
\global \expandafter \let \csname end#1\endcsname \@endtheorem
\AtBeginEnvironment{#1}{\edef\LWR@thisthmstyle{\csuse{LWR@thmstyle#1}}}% new
-}%
+ }%
\fi}
\gdef\th@plain{%\normalfont\itshape
\def\@begintheorem##1##2{%
\LWR@forcenewpage% new
-\BlockClass{theorembody\LWR@thisthmstyle}% new
+ \BlockClass{theorembody\LWR@thisthmstyle}% new
\item[\hskip\labelsep
-\InlineClass{theoremheader}{##1\ ##2}
-]}%
+ \InlineClass{theoremheader}{##1\ ##2}
+ ]}%
\def\@opargbegintheorem##1##2##3{%
\LWR@forcenewpage% new
-\BlockClass{theorembody\LWR@thisthmstyle}% new
+ \BlockClass{theorembody\LWR@thisthmstyle}% new
\item[\hskip\labelsep
-\InlineClass{theoremheader}{##1\ ##2\ (##3)}
-]}
+ \InlineClass{theoremheader}{##1\ ##2\ (##3)}
+ ]}
}
\gdef\th@break{%\normalfont\slshape
\def\@begintheorem##1##2{%
\LWR@forcenewpage% new
-\BlockClass{theorembody\LWR@thisthmstyle}% new
-\item[\hskip \labelsep
-\InlineClass{theoremheader}{##1\ ##2}\newline%
-]}%
+ \BlockClass{theorembody\LWR@thisthmstyle}% new
+ \item[\hskip \labelsep
+ \InlineClass{theoremheader}{##1\ ##2}\newline%
+ ]}%
\def\@opargbegintheorem##1##2##3{%
\LWR@forcenewpage% new
-\BlockClass{theorembody\LWR@thisthmstyle}% new
+ \BlockClass{theorembody\LWR@thisthmstyle}% new
\item[\hskip \labelsep
-\InlineClass{theoremheader}{##1\ ##2\ (##3)}\newline
-]}
+ \InlineClass{theoremheader}{##1\ ##2\ (##3)}\newline
+ ]}
}
\gdef\th@marginbreak{%\normalfont\slshape
\def\@begintheorem##1##2{
\LWR@forcenewpage% new
-\BlockClass{theorembody\LWR@thisthmstyle}% new
-\item[\hskip\labelsep %
-\InlineClass{theoremheader}{##2 \qquad ##1}\newline
-]}%
+ \BlockClass{theorembody\LWR@thisthmstyle}% new
+ \item[\hskip\labelsep %
+ \InlineClass{theoremheader}{##2 \qquad ##1}\newline
+ ]}%
\def\@opargbegintheorem##1##2##3{%
\LWR@forcenewpage% new
-\BlockClass{theorembody\LWR@thisthmstyle}% new
-\item[\hskip\labelsep %
-\InlineClass{theoremheader}{##2 \qquad ##1\ %
-(##3)}\newline
-]}
+ \BlockClass{theorembody\LWR@thisthmstyle}% new
+ \item[\hskip\labelsep %
+ \InlineClass{theoremheader}{##2 \qquad ##1\ %
+ (##3)}\newline
+ ]}
}
\gdef\th@changebreak{%\normalfont\slshape
\def\@begintheorem##1##2{
\LWR@forcenewpage% new
-\BlockClass{theorembody\LWR@thisthmstyle}% new
-\item[\hskip\labelsep
-\InlineClass{theoremheader}{##2\ ##1}\newline
-]}%
+ \BlockClass{theorembody\LWR@thisthmstyle}% new
+ \item[\hskip\labelsep
+ \InlineClass{theoremheader}{##2\ ##1}\newline
+ ]}%
\def\@opargbegintheorem##1##2##3{%
\LWR@forcenewpage% new
-\BlockClass{theorembody\LWR@thisthmstyle}% new
-\item[\hskip\labelsep
-\InlineClass{theoremheader}{ ##2\ ##1\ %
-(##3)}\newline
-]}
+ \BlockClass{theorembody\LWR@thisthmstyle}% new
+ \item[\hskip\labelsep
+ \InlineClass{theoremheader}{ ##2\ ##1\ %
+ (##3)}\newline
+ ]}
}
\gdef\th@change{%\normalfont\slshape
\def\@begintheorem##1##2{
\LWR@forcenewpage% new
-\BlockClass{theorembody\LWR@thisthmstyle}% new
-\item[\hskip\labelsep
-\InlineClass{theoremheader}{##2\ ##1}
-]}%
+ \BlockClass{theorembody\LWR@thisthmstyle}% new
+ \item[\hskip\labelsep
+ \InlineClass{theoremheader}{##2\ ##1}
+ ]}%
\def\@opargbegintheorem##1##2##3{%
\LWR@forcenewpage% new
-\BlockClass{theorembody\LWR@thisthmstyle}% new
-\item[\hskip\labelsep
-\InlineClass{theoremheader}{##2\ ##1\ (##3)}
-]}
+ \BlockClass{theorembody\LWR@thisthmstyle}% new
+ \item[\hskip\labelsep
+ \InlineClass{theoremheader}{##2\ ##1\ (##3)}
+ ]}
}
\gdef\th@margin{%\normalfont\slshape
\def\@begintheorem##1##2{
\LWR@forcenewpage% new
-\BlockClass{theorembody\LWR@thisthmstyle}% new
-\item[\hskip\labelsep
-\InlineClass{theoremheader}{##2 \qquad ##1}
-]}%
+ \BlockClass{theorembody\LWR@thisthmstyle}% new
+ \item[\hskip\labelsep
+ \InlineClass{theoremheader}{##2 \qquad ##1}
+ ]}%
\def\@opargbegintheorem##1##2##3{%
\LWR@forcenewpage% new
-\BlockClass{theorembody\LWR@thisthmstyle}% new
-\item[\hskip\labelsep
-\InlineClass{theoremheader}{##2 \qquad ##1\ (##3)}
-]}
+ \BlockClass{theorembody\LWR@thisthmstyle}% new
+ \item[\hskip\labelsep
+ \InlineClass{theoremheader}{##2 \qquad ##1\ (##3)}
+ ]}
}
\gdef\@endtheorem{\endBlockClass\endtrivlist}
\endinput