2022-01-16 23:56:03 +01:00
|
|
|
\documentclass{article}
|
|
|
|
|
|
|
|
\usepackage[enable-debug]{expl3}
|
|
|
|
\ExplSyntaxOn
|
|
|
|
\debug_on:n { all }
|
|
|
|
\ExplSyntaxOff
|
|
|
|
|
2022-01-17 03:13:46 +01:00
|
|
|
\usepackage[default styles]{mkessler-thmstyle}
|
2022-01-16 23:56:03 +01:00
|
|
|
\usepackage{mkessler-groupthm}
|
2022-01-17 03:13:46 +01:00
|
|
|
\usepackage[ ]{verbatim}
|
2022-01-17 00:20:14 +01:00
|
|
|
|
|
|
|
\GenerateTheoremVariants
|
|
|
|
[
|
|
|
|
group = {star, dagger},
|
2022-01-17 03:13:46 +01:00
|
|
|
thmtools = { style = thmgreenmargin },
|
|
|
|
name = Beispiel
|
2022-01-17 00:20:14 +01:00
|
|
|
]{example}
|
2022-01-16 23:56:03 +01:00
|
|
|
|
2022-01-17 03:13:46 +01:00
|
|
|
\GenerateTheoremVariants
|
|
|
|
[
|
|
|
|
group = {star, dagger},
|
|
|
|
thmtools = { style = thmorangemarginandfill }
|
|
|
|
]{lemma}
|
|
|
|
|
2022-01-16 23:56:03 +01:00
|
|
|
\DeclareTheoremVariants{example} { !s !t+ }
|
|
|
|
{
|
|
|
|
\IfBooleanT{#1}
|
|
|
|
{
|
|
|
|
\AddTheoremToGroup { star }
|
|
|
|
}
|
|
|
|
\IfBooleanT{#2}
|
|
|
|
{
|
|
|
|
\AddTheoremToGroup { dagger }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-01-17 03:13:46 +01:00
|
|
|
\DeclareTheoremVariants{lemma} { !s !t+ }
|
|
|
|
{
|
|
|
|
\IfBooleanT{#1}
|
|
|
|
{
|
|
|
|
\AddTheoremToGroup { star }
|
|
|
|
}
|
|
|
|
\IfBooleanT{#2}
|
|
|
|
{
|
|
|
|
\AddTheoremToGroup { dagger }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-01-16 23:56:03 +01:00
|
|
|
\begin{document}
|
|
|
|
|
2022-01-17 03:13:46 +01:00
|
|
|
\section{a}
|
2022-01-16 23:56:03 +01:00
|
|
|
|
|
|
|
\begin{example}
|
|
|
|
test
|
|
|
|
\end{example}
|
|
|
|
|
|
|
|
\begin{example}+
|
|
|
|
test
|
|
|
|
\end{example}
|
|
|
|
|
|
|
|
\begin{example}*
|
|
|
|
test
|
|
|
|
\end{example}
|
|
|
|
|
2022-01-17 03:13:46 +01:00
|
|
|
\section{b}
|
|
|
|
|
2022-01-16 23:56:03 +01:00
|
|
|
\begin{example}*+
|
|
|
|
test
|
|
|
|
\end{example}
|
|
|
|
|
|
|
|
\begin{example*}
|
|
|
|
test
|
|
|
|
\end{example*}
|
|
|
|
|
2022-01-17 03:13:46 +01:00
|
|
|
\begin{lemma}+
|
|
|
|
test
|
|
|
|
\end{lemma}
|
|
|
|
|
|
|
|
\begin{verbatim}
|
|
|
|
\NewTheoremGroup[keys]{name}
|
|
|
|
\ProvideTheoremGroup
|
|
|
|
\RenewTheoremGroup
|
|
|
|
\DeclareTheoremGroup
|
|
|
|
|
|
|
|
\AppendToTheoremGroup[keys]{name}[before / after ? ]
|
|
|
|
|
|
|
|
\NewTheoremFamily
|
|
|
|
\ProvideTheoremFamily
|
|
|
|
|
|
|
|
\DeclareTheoremFamilyOptions
|
|
|
|
\ProvideTheoremFamilyOptions
|
|
|
|
\RenewTheoremFamilyOptions
|
|
|
|
\NewTheoremFamilyOptions
|
|
|
|
|
|
|
|
\AddTheoremGroupParent{child}{parent}
|
|
|
|
|
|
|
|
\NewTheorem -> starred + unstarred family + options
|
|
|
|
\ProvideTheorem
|
|
|
|
|
|
|
|
\NewFancyTheoremFamily[mdframed = , group, name, thmtools, style = ] wrapped \NewTheoremFamily
|
|
|
|
|
|
|
|
\DeclareStandardTheoremFamilyOptions
|
|
|
|
\ProvideStandardTheoremFamilyOptions
|
|
|
|
\NewStandardTheoremFamilyOptions
|
|
|
|
\RenewStandardTheoremFamilyOptions
|
|
|
|
|
|
|
|
\NewFancyTheorem[mdframed =, thmtools = , name = , group = ]{name}
|
|
|
|
|
|
|
|
\end{verbatim}
|
|
|
|
|
|
|
|
\section{TODO}
|
|
|
|
|
|
|
|
\begin{itemize}
|
|
|
|
\item style = parsen
|
|
|
|
\end{itemize}
|
|
|
|
|
|
|
|
\begin{verbatim}
|
|
|
|
|
|
|
|
\usepackage
|
|
|
|
[
|
|
|
|
big = { document, section, subsection, no },
|
|
|
|
small = { document, section, subsection, no },
|
|
|
|
tiny = { document, section, subsection, no },
|
|
|
|
notheorems
|
|
|
|
] { fancythm }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
\end{verbatim}
|
2022-01-16 23:56:03 +01:00
|
|
|
\end{document}
|