expand test and add benchmarkin

This commit is contained in:
Maximilian Keßler 2022-02-03 12:32:37 +01:00
parent 85d91e7b17
commit 9b64e53a98

View file

@ -1,7 +1,9 @@
\documentclass[12pt]{article}
\usepackage[default styles]{thmstyle}
\usepackage{l3benchmark}
\PassOptionsToPackage{cache}{groupthm}
\usepackage[number in = section]{fancythm}
@ -9,12 +11,33 @@
%\@counteralias{insection}{indocument}
\makeatother
\ExplSyntaxOff
\AddProvidedFancyTheoremToGroup{lemma}{small}
\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
\begin{document}
\begin{definition}g
bla
\end{definition}
\section{test}
\stepcounter{toplevel}