2022-01-24 01:18:25 +01:00
|
|
|
\documentclass[12pt]{article}
|
2021-10-07 13:55:39 +02:00
|
|
|
|
2022-01-31 00:44:56 +01:00
|
|
|
|
2022-02-03 12:32:37 +01:00
|
|
|
\usepackage{l3benchmark}
|
|
|
|
|
|
|
|
\PassOptionsToPackage{cache}{groupthm}
|
2022-01-31 00:44:56 +01:00
|
|
|
|
2022-01-24 01:18:25 +01:00
|
|
|
\usepackage[number in = section]{fancythm}
|
2021-10-07 13:55:39 +02:00
|
|
|
|
2022-01-24 01:18:25 +01:00
|
|
|
\makeatletter
|
|
|
|
%\@counteralias{insection}{indocument}
|
|
|
|
\makeatother
|
|
|
|
|
|
|
|
|
|
|
|
\AddProvidedFancyTheoremToGroup{lemma}{small}
|
2021-10-07 13:55:39 +02:00
|
|
|
|
2022-02-03 12:32:37 +01:00
|
|
|
\NewTheoremGroup[suffix = $\frac{3}{4}$]{gag}
|
|
|
|
|
|
|
|
\NewGroupedTheoremFamily[group = {dagger, star, gag}]{definition}
|
|
|
|
|
|
|
|
\NewGroupedTheoremFamilyOptions{definition}{!s !t+ !tg }
|
|
|
|
{
|
|
|
|
\IfBooleanT{#3} { \AddTheoremToGroup{gag}}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
\ExplSyntaxOn
|
|
|
|
\benchmark_once:n
|
|
|
|
{
|
|
|
|
% \__groupthm_thmtools_declare_theorem:nn{name=Definition}{__definition__groups_}
|
|
|
|
}
|
|
|
|
\ExplSyntaxOff
|
|
|
|
|
|
|
|
|
2021-10-07 13:55:39 +02:00
|
|
|
\begin{document}
|
2022-01-24 01:18:25 +01:00
|
|
|
|
2022-02-03 12:32:37 +01:00
|
|
|
\begin{definition}g
|
|
|
|
bla
|
|
|
|
\end{definition}
|
|
|
|
|
2022-01-24 01:18:25 +01:00
|
|
|
\section{test}
|
|
|
|
|
|
|
|
\stepcounter{toplevel}
|
|
|
|
|
|
|
|
|
|
|
|
\begin{example}
|
|
|
|
test
|
|
|
|
\end{example}
|
|
|
|
|
|
|
|
\begin{example}+
|
|
|
|
test
|
|
|
|
\end{example}
|
|
|
|
|
|
|
|
\begin{example}*
|
|
|
|
|
|
|
|
\end{example}
|
|
|
|
|
|
|
|
\begin{lemma}
|
|
|
|
|
|
|
|
\end{lemma}
|
|
|
|
|
|
|
|
\begin{definition}
|
|
|
|
test
|
|
|
|
\end{definition}
|
|
|
|
|
|
|
|
\begin{definition}*
|
|
|
|
bla
|
|
|
|
\end{definition}
|
|
|
|
|
|
|
|
\begin{theoremdef}
|
|
|
|
test
|
|
|
|
\end{theoremdef}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
\begin{goal}+
|
|
|
|
test
|
|
|
|
\end{goal}
|
|
|
|
|
2021-10-07 13:55:39 +02:00
|
|
|
|
|
|
|
\end{document}
|