expand test and add benchmarkin
This commit is contained in:
parent
85d91e7b17
commit
9b64e53a98
1 changed files with 25 additions and 2 deletions
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue