diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-ntheorem.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/lwarp/lwarp-ntheorem.sty | 264 |
1 files changed, 132 insertions, 132 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-ntheorem.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-ntheorem.sty index bbf6f36c34c..63d3fc41746 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-ntheorem.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-ntheorem.sty @@ -41,11 +41,11 @@ {Unknown theoremstyle `#1'. Using `plain'}% \theorem@style{plain} \renewcommand{\LWR@newtheoremstyle}{plain}% new -}% + }% { -\theorem@style{#1} + \theorem@style{#1} \renewcommand{\LWR@newtheoremstyle}{#1}% new -} + } } @@ -61,7 +61,7 @@ \expandafter\gdef\csname mkheader@#1\endcsname {\csname setparms@#1\endcsname \@thm{#1}{#1}{#2} -}% + }% \global\@namedef{end#1}{\@endtheorem} \AtBeginEnvironment{#1}{\edef\LWR@thisthmstyle{\csuse{LWR@thmstyle#1}}}% new \fi @@ -77,7 +77,7 @@ \expandafter\gdef\csname mkheader@#1\endcsname {\csname setparms@#1\endcsname \@thm{#1}{#1}{#2} -}% + }% \global\@namedef{end#1}{\@endtheorem} \AtBeginEnvironment{#1}{\edef\LWR@thisthmstyle{\csuse{LWR@thmstyle#1}}}% new \fi @@ -98,7 +98,7 @@ \expandafter\gdef\csname mkheader@#1\endcsname {\csname setparms@#1\endcsname \@thm{#1}{#2}{#3} -}% + }% \global\@namedef{end#1}{\@endtheorem} \AtBeginEnvironment{#1}{\edef\LWR@thisthmstyle{\csuse{LWR@thmstyle#1}}}% new \fi} @@ -129,116 +129,116 @@ \renewtheoremstyle{plain}% {\item[\hskip\labelsep \theorem@headerfont -\InlineClass{theoremheaderplain}{##1\ ##2\theorem@separator}]}% + \InlineClass{theoremheaderplain}{##1\ ##2\theorem@separator}]}% {\item[\hskip\labelsep \theorem@headerfont -\InlineClass{theoremheaderplain}{##1\ ##2\ (##3)\theorem@separator}]} + \InlineClass{theoremheaderplain}{##1\ ##2\ (##3)\theorem@separator}]} \renewtheoremstyle{break}% {\item[ -\hskip\labelsep \theorem@headerfont -\InlineClass{theoremheaderbreak}{##1\ ##2\theorem@separator}\newline -]}% + \hskip\labelsep \theorem@headerfont + \InlineClass{theoremheaderbreak}{##1\ ##2\theorem@separator}\newline + ]}% {\item[ -\hskip\labelsep \theorem@headerfont -\InlineClass{theoremheaderbreak}{##1\ ##2\ (##3)\theorem@separator}\newline -]} + \hskip\labelsep \theorem@headerfont + \InlineClass{theoremheaderbreak}{##1\ ##2\ (##3)\theorem@separator}\newline + ]} \renewtheoremstyle{change}% {\item[\hskip\labelsep -\theorem@headerfont -\InlineClass{theoremheaderchange}{##2\ ##1\theorem@separator}]}% + \theorem@headerfont + \InlineClass{theoremheaderchange}{##2\ ##1\theorem@separator}]}% {\item[\hskip\labelsep -\theorem@headerfont -\InlineClass{theoremheaderchange}{##2\ ##1\ (##3)\theorem@separator}]} + \theorem@headerfont + \InlineClass{theoremheaderchange}{##2\ ##1\ (##3)\theorem@separator}]} \renewtheoremstyle{changebreak}% {\item[ -\hskip\labelsep \theorem@headerfont -\InlineClass{theoremheaderchangebreak}{##2\ ##1\theorem@separator}\newline -]}% + \hskip\labelsep \theorem@headerfont + \InlineClass{theoremheaderchangebreak}{##2\ ##1\theorem@separator}\newline + ]}% {\item[ -\hskip\labelsep \theorem@headerfont -\InlineClass{theoremheaderchangebreak}{##2\ ##1\ (##3)\theorem@separator}\newline -]} + \hskip\labelsep \theorem@headerfont + \InlineClass{theoremheaderchangebreak}{##2\ ##1\ (##3)\theorem@separator}\newline + ]} \renewtheoremstyle{margin}% {\item[\hskip\labelsep\theorem@headerfont -\InlineClass{theoremheadermargin}{##2 \qquad ##1\theorem@separator} -]}% + \InlineClass{theoremheadermargin}{##2 \qquad ##1\theorem@separator} + ]}% {\item[\hskip\labelsep\theorem@headerfont -\InlineClass{theoremheadermargin}{##2 \qquad ##1\ (##3)\theorem@separator} -]} + \InlineClass{theoremheadermargin}{##2 \qquad ##1\ (##3)\theorem@separator} + ]} \renewtheoremstyle{marginbreak}% {\item[\hskip\labelsep\theorem@headerfont -\InlineClass{theoremheadermarginbreak}{##2 \qquad ##1\theorem@separator}\newline -]}% + \InlineClass{theoremheadermarginbreak}{##2 \qquad ##1\theorem@separator}\newline + ]}% {\item[\hskip\labelsep\theorem@headerfont -\InlineClass{theoremheadermarginbreak}{##2 \qquad ##1\ (##3)\theorem@separator}\newline -]} + \InlineClass{theoremheadermarginbreak}{##2 \qquad ##1\ (##3)\theorem@separator}\newline + ]} \renewtheoremstyle{nonumberplain}% {\item[\theorem@headerfont\hskip\labelsep -\InlineClass{theoremheaderplain}{##1\theorem@separator}]}% + \InlineClass{theoremheaderplain}{##1\theorem@separator}]}% {\item[\theorem@headerfont\hskip \labelsep -\InlineClass{theoremheaderplain}{##1\ (##3)\theorem@separator}]} + \InlineClass{theoremheaderplain}{##1\ (##3)\theorem@separator}]} \renewtheoremstyle{nonumberbreak}% {\item[ -\hskip\labelsep \theorem@headerfont -\InlineClass{theoremheaderbreak}{##1\theorem@separator}\newline -]}% + \hskip\labelsep \theorem@headerfont + \InlineClass{theoremheaderbreak}{##1\theorem@separator}\newline + ]}% {\item[ -\hskip\labelsep \theorem@headerfont -\InlineClass{theoremheaderbreak}{##1\ (##3)\theorem@separator}\newline -]} + \hskip\labelsep \theorem@headerfont + \InlineClass{theoremheaderbreak}{##1\ (##3)\theorem@separator}\newline + ]} \renewtheoremstyle{empty}% {\item[]}% {\item[\theorem@headerfont \hskip\labelsep\relax -\InlineClass{theoremheaderplain}{##3}]} + \InlineClass{theoremheaderplain}{##3}]} \renewtheoremstyle{emptybreak}% {\item[]}% {\item[\theorem@headerfont \hskip\labelsep\relax -\InlineClass{theoremheaderplain}{##3}] \ \newline} -\ifbool{LWR@ntheoremamsthm}{}{ -\newtheoremstyle{plainupright}% - {\item[\hskip\labelsep \theorem@headerfont -\InlineClass{theoremheaderplain}{##1\ ##2\theorem@separator}]}% - {\item[\hskip\labelsep \theorem@headerfont -\InlineClass{theoremheaderplain}{##1\ ##2\ (##3)\theorem@separator}]} - -\newtheoremstyle{nonumberplainuprightsc}% - {\item[\theorem@headerfont\hskip\labelsep -\InlineClass{theoremheadersc}{##1\theorem@separator}]}% - {\item[\theorem@headerfont\hskip \labelsep -\InlineClass{theoremheadersc}{##1\ (##3)\theorem@separator}]} -\theoremstyle{plainupright} -\theorembodyfont{\upshape} -\theoremsymbol{\HTMLunicode{25A1}}% UTF-8 white box -\renewtheorem{Example}{Example} -\renewtheorem{example}{Example} -\renewtheorem{Beispiel}{Beispiel} -\renewtheorem{beispiel}{Beispiel} -\renewtheorem{Bemerkung}{Bemerkung} -\renewtheorem{bemerkung}{Bemerkung} -\renewtheorem{Anmerkung}{Anmerkung} -\renewtheorem{anmerkung}{Anmerkung} -\renewtheorem{Remark}{Remark} -\renewtheorem{remark}{Remark} -\renewtheorem{Definition}{Definition} -\renewtheorem{definition}{Definition} - -\theoremstyle{nonumberplainuprightsc} -\theoremsymbol{\HTMLunicode{220E}}% UTF-8 end-of-proof -\renewtheorem{Proof}{Proof} -\renewtheorem{proof}{Proof} -\renewtheorem{Beweis}{Beweis} -\renewtheorem{beweis}{Beweis} -\qedsymbol{\HTMLunicode{220E}}% UTF-8 end-of-proof - -\theoremsymbol{} + \InlineClass{theoremheaderplain}{##3}] \ \newline} +\ifbool{LWR@ntheoremamsthm}{}{% + \newtheoremstyle{plainupright}% + {\item[\hskip\labelsep \theorem@headerfont + \InlineClass{theoremheaderplain}{##1\ ##2\theorem@separator}]}% + {\item[\hskip\labelsep \theorem@headerfont + \InlineClass{theoremheaderplain}{##1\ ##2\ (##3)\theorem@separator}]} + + \newtheoremstyle{nonumberplainuprightsc}% + {\item[\theorem@headerfont\hskip\labelsep + \InlineClass{theoremheadersc}{##1\theorem@separator}]}% + {\item[\theorem@headerfont\hskip \labelsep + \InlineClass{theoremheadersc}{##1\ (##3)\theorem@separator}]} + \theoremstyle{plainupright} + \theorembodyfont{\upshape} + \theoremsymbol{\HTMLunicode{25A1}}% UTF-8 white box + \renewtheorem{Example}{Example} + \renewtheorem{example}{Example} + \renewtheorem{Beispiel}{Beispiel} + \renewtheorem{beispiel}{Beispiel} + \renewtheorem{Bemerkung}{Bemerkung} + \renewtheorem{bemerkung}{Bemerkung} + \renewtheorem{Anmerkung}{Anmerkung} + \renewtheorem{anmerkung}{Anmerkung} + \renewtheorem{Remark}{Remark} + \renewtheorem{remark}{Remark} + \renewtheorem{Definition}{Definition} + \renewtheorem{definition}{Definition} + + \theoremstyle{nonumberplainuprightsc} + \theoremsymbol{\HTMLunicode{220E}}% UTF-8 end-of-proof + \renewtheorem{Proof}{Proof} + \renewtheorem{proof}{Proof} + \renewtheorem{Beweis}{Beweis} + \renewtheorem{beweis}{Beweis} + \qedsymbol{\HTMLunicode{220E}}% UTF-8 end-of-proof + + \theoremsymbol{} }% not amsthm \ifbool{LWR@ntheoremamsthm}{ @@ -246,125 +246,125 @@ \def\theorem@headerfont{\normalfont\bfseries}\itshape% \def\@begintheorem##1##2{% \LWR@forcenewpage% new -\BlockClass{theorembodyplain}% new -\LWR@inctheorem% new + \BlockClass{theorembodyplain}% new + \LWR@inctheorem% new \item[\hskip\labelsep \InlineClass{theoremheaderplain}{##1\ ##2.} -]}% + ]}% \def\@opargbegintheorem##1##2##3{% \LWR@forcenewpage% new -\BlockClass{theorembodyplain}% new -\LWR@inctheorem% new + \BlockClass{theorembodyplain}% new + \LWR@inctheorem% new \item[\hskip\labelsep \InlineClass{theoremheaderplain}{##1\ ##2\ (##3).} -]}} + ]}} \gdef\th@nonumberplain{% \def\theorem@headerfont{\normalfont\bfseries}\itshape% \def\@begintheorem##1##2{% \LWR@forcenewpage% new -\BlockClass{theorembodyplain}% new -\LWR@inctheorem% new + \BlockClass{theorembodyplain}% new + \LWR@inctheorem% new \item[\hskip\labelsep \InlineClass{theoremheaderplain}{##1.} -]}% + ]}% \def\@opargbegintheorem##1##2##3{% \LWR@forcenewpage% new -\BlockClass{theorembodyplain}% new -\LWR@inctheorem% new + \BlockClass{theorembodyplain}% new + \LWR@inctheorem% new \item[\hskip\labelsep \InlineClass{theoremheaderplain}{##1\ (##3).} -]}} + ]}} \gdef\th@definition{% \def\theorem@headerfont{\normalfont\bfseries}\normalfont% \def\@begintheorem##1##2{% \LWR@forcenewpage% new -\BlockClass{theorembodydefinition}% new -\LWR@inctheorem% new + \BlockClass{theorembodydefinition}% new + \LWR@inctheorem% new \item[\hskip\labelsep \InlineClass{theoremheaderdefinition}{##1\ ##2.} -]}% + ]}% \def\@opargbegintheorem##1##2##3{% \LWR@forcenewpage% new -\BlockClass{theorembodydefinition}% new -\LWR@inctheorem% new + \BlockClass{theorembodydefinition}% new + \LWR@inctheorem% new \item[\hskip\labelsep \InlineClass{theoremheaderdefinition}{##1\ ##2\ (##3).} -]}} + ]}} \gdef\th@nonumberdefinition{% \def\theorem@headerfont{\normalfont\bfseries}\normalfont% \def\@begintheorem##1##2{% \LWR@forcenewpage% new -\BlockClass{theorembodydefinition}% new -\LWR@inctheorem% new + \BlockClass{theorembodydefinition}% new + \LWR@inctheorem% new \item[\hskip\labelsep \InlineClass{theoremheaderdefinition}{##1.} -]}% + ]}% \def\@opargbegintheorem##1##2##3{% \LWR@forcenewpage% new -\BlockClass{theorembodydefinition}% new -\LWR@inctheorem% new + \BlockClass{theorembodydefinition}% new + \LWR@inctheorem% new \item[\hskip\labelsep \InlineClass{theoremheaderdefinition}{##1\ (##3).} -]}} + ]}} \gdef\th@remark{% \def\theorem@headerfont{\itshape}\normalfont% \def\@begintheorem##1##2{% \LWR@forcenewpage% new -\BlockClass{theorembodyremark}% new -\LWR@inctheorem% new + \BlockClass{theorembodyremark}% new + \LWR@inctheorem% new \item[\hskip\labelsep \InlineClass{theoremheaderremark}{##1\ ##2.} -]}% + ]}% \def\@opargbegintheorem##1##2##3{% \LWR@forcenewpage% new -\BlockClass{theorembodyremark}% new -\LWR@inctheorem% new + \BlockClass{theorembodyremark}% new + \LWR@inctheorem% new \item[\hskip\labelsep \InlineClass{theoremheaderremark}{##1\ ##2\ (##3).} -]}} + ]}} \gdef\th@nonumberremark{% \def\theorem@headerfont{\itshape}\normalfont% \def\@begintheorem##1##2{% \LWR@forcenewpage% new -\BlockClass{theorembodyremark}% new -\LWR@inctheorem% new + \BlockClass{theorembodyremark}% new + \LWR@inctheorem% new \item[\hskip\labelsep \InlineClass{theoremheaderremark}{##1.} -]}% + ]}% \def\@opargbegintheorem##1##2##3{% \LWR@forcenewpage% new -\BlockClass{theorembodyremark}% new -\LWR@inctheorem% new + \BlockClass{theorembodyremark}% new + \LWR@inctheorem% new \item[\hskip\labelsep \InlineClass{theoremheaderremark}{##1\ (##3).} -]}} + ]}} \gdef\th@proof{% \def\theorem@headerfont{\normalfont\bfseries}\itshape% \def\@begintheorem##1##2{% \LWR@forcenewpage% new -\BlockClass{theorembodyproof}% new -\LWR@inctheorem% new + \BlockClass{theorembodyproof}% new + \LWR@inctheorem% new \item[\hskip\labelsep \InlineClass{theoremheaderproof}{##1.} -]}% + ]}% \def\@opargbegintheorem##1##2##3{% \LWR@forcenewpage% new -\BlockClass{theorembodyroof}% new -\LWR@inctheorem% new + \BlockClass{theorembodyroof}% new + \LWR@inctheorem% new \item[\hskip\labelsep \InlineClass{theoremheaderproof}{##1\ (##3).} -]}} + ]}} \newcounter{proof}% \if@thmmarks -\newcounter{currproofctr}% -\newcounter{endproofctr}% + \newcounter{currproofctr}% + \newcounter{endproofctr}% \fi \gdef\proofSymbol{\openbox} @@ -372,11 +372,11 @@ \newcommand{\proofname}{Proof} \newenvironment{proof}[1][\proofname]{ -\th@proof -\def\theorem@headerfont{\itshape}% -\normalfont -\theoremsymbol{\HTMLunicode{220E}}% UTF-8 end-of-proof -\@thm{proof}{proof}{#1} + \th@proof + \def\theorem@headerfont{\itshape}% + \normalfont + \theoremsymbol{\HTMLunicode{220E}}% UTF-8 end-of-proof + \@thm{proof}{proof}{#1} }% {\@endtheorem} @@ -384,10 +384,10 @@ \let\LWR@origendtheorem\@endtheorem \renewcommand{\@endtheorem}{% \ifbool{LWR@ntheoremmarks}{% -\ifsetendmark% -\InlineClass{theoremendmark}{\csname\InTheoType Symbol\endcsname}% -\setendmarkfalse% -\fi% + \ifsetendmark% + \InlineClass{theoremendmark}{\csname\InTheoType Symbol\endcsname}% + \setendmarkfalse% + \fi% }{}% \LWR@origendtheorem% \ifbool{LWR@ntheoremmarks}{\global\setendmarktrue}{}% |