mirror of
https://github.com/vale981/TUD_MATH_BA
synced 2025-03-05 09:31:39 -05:00
updated comments
This commit is contained in:
parent
6d0513a16a
commit
d55763b903
1 changed files with 5 additions and 3 deletions
|
@ -16,13 +16,14 @@
|
|||
\let\tempa\@empty
|
||||
\IfEq{#1}{firstnumber}{\def\tempa{changebreak}}{%
|
||||
\IfEq{#1}{firstname}{\def\tempa{break}}{%
|
||||
\PackageWarning{mathscript}{Unknown Value}
|
||||
\PackageWarning{mathscript}{Unknown Value for key `order'}
|
||||
}
|
||||
}
|
||||
\edef\theoremheader@order@val{\tempa}
|
||||
}
|
||||
|
||||
%possible values: all you can imagine. usefull values: in this class predefined theorem-environment-names
|
||||
%possible values: all you can imagine.
|
||||
%usefull values: theorem-names defined in this class, new theorems defined by \newmdtheoremenv
|
||||
\listadd{\theorem@disable}{\@empty}
|
||||
\DeclareOptionX{disable}{%
|
||||
\listadd{\theorem@disable}{#1}
|
||||
|
@ -139,6 +140,7 @@
|
|||
% End Packages %
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
|
||||
%tweak \newmdtheoremenv to create an empty environment if this very enviroment is disabled
|
||||
\RenewDocumentCommand{\newmdtheoremenv}{O{} m o m o}{%
|
||||
\ifinlist{#2}{\theorem@disable}{%
|
||||
\IfStrEq{#2}{theorem}{\newtheorem{#2}{}[section]}{\newtheorem{#2}{}[theorem]}
|
||||
|
@ -645,4 +647,4 @@
|
|||
\titlespacing{\chapter}{0pt}{-0.75cm}{0pt}%
|
||||
}
|
||||
|
||||
\endinput
|
||||
\endinput
|
Loading…
Add table
Reference in a new issue