replace some old syntax with proper macros

This commit is contained in:
Maximilian Keßler 2022-01-18 11:28:04 +01:00
parent 1f3aa04bfe
commit 9e00b49279
2 changed files with 87 additions and 78 deletions

View file

@ -44,16 +44,18 @@
% {% % {%
% \emph{#1}% % \emph{#1}%
% } % }
% \NewDocumentCommand{\ma}{m}
% {
% \{\meta{#1}\}
% }
% %
% \begin{documentation} % \begin{documentation}
% %
% \tableofcontents % \tableofcontents
% \listoftodos
% \newpage % \newpage
% %
% \begin{itemize}
% \item Inheritance
% \item Appending to groups
% \item Generation + parsing of families
% \end{itemize}
% A central thing in \LaTeX is the usage of \enquote{theorems}. % A central thing in \LaTeX is the usage of \enquote{theorems}.
% With \enquote{theorems} we actually mean \enquote{environments} that typically % With \enquote{theorems} we actually mean \enquote{environments} that typically
% have a title, some style applied to their contents and are numbered throughout % have a title, some style applied to their contents and are numbered throughout
@ -230,7 +232,7 @@
% %
% \begin{function}{\NewTheoremGroup, \RenewTheoremGroup, \ProvideTheoremGroup, \DeclareTheoremGroup} % \begin{function}{\NewTheoremGroup, \RenewTheoremGroup, \ProvideTheoremGroup, \DeclareTheoremGroup}
% \begin{syntax} % \begin{syntax}
% \cs{NewTheoremGroup}[\meta{keys}]\{\meta{theorem group}\} % \cs{NewTheoremGroup}\oarg{keys}\marg{theorem group}
% \end{syntax} % \end{syntax}
% %
% This introduces a new \meta{theorem group} with the given name. % This introduces a new \meta{theorem group} with the given name.
@ -273,8 +275,8 @@
% %
% \begin{function}{\DeclareTheoremGroupRule} % \begin{function}{\DeclareTheoremGroupRule}
% \begin{syntax} % \begin{syntax}
% \cs{DeclareTheoremGroupRule}[\meta{keyname}]% % \cs{DeclareTheoremGroupRule}\oarg{keyname}%
% \{\meta{theorem group 1}\}\{\meta{relation}\}\{\meta{theorem group 2}\} % \marg{theorem group 1}\marg{relation}\marg{theorem group 2}
% \end{syntax} % \end{syntax}
% %
% This declares some relation between the two theorem groups, % This declares some relation between the two theorem groups,
@ -328,7 +330,7 @@
% \subsection{Inheritance of theorem groups} % \subsection{Inheritance of theorem groups}
% \begin{function}{\AddTheoremGroupParent} % \begin{function}{\AddTheoremGroupParent}
% \begin{syntax} % \begin{syntax}
% \cs{AddTheoremGroupParent}\{\meta{theorem group 1}\}\{\meta{theorem group 2}\} % \cs{AddTheoremGroupParent}\marg{theorem group 1}\marg{theorem group 2}
% \end{syntax} % \end{syntax}
% Declares \meta{theorem group 1} to \enquote{inherit} all properties % Declares \meta{theorem group 1} to \enquote{inherit} all properties
% of \meta{theorem group 2}. % of \meta{theorem group 2}.
@ -351,7 +353,7 @@
% \subsection{Appending to theorem groups} % \subsection{Appending to theorem groups}
% \begin{function}{\AppendToTheoremGroup} % \begin{function}{\AppendToTheoremGroup}
% \begin{syntax} % \begin{syntax}
% \cs{AppendToTheoremGroup}[\meta{keys}]\{\meta{theorem group}\} % \cs{AppendToTheoremGroup}\oarg{keys}\marg{theorem group}
% \end{syntax} % \end{syntax}
% Adds the properties given as \meta{keys} to the theorem group. % Adds the properties given as \meta{keys} to the theorem group.
% The syntax for the \meta{keys} is the same as in \cs{NewTheoremGroup}. % The syntax for the \meta{keys} is the same as in \cs{NewTheoremGroup}.
@ -432,7 +434,7 @@
% %
% \begin{function}{\NewGroupedTheorem, \ProvideGroupedTheorem} % \begin{function}{\NewGroupedTheorem, \ProvideGroupedTheorem}
% \begin{syntax} % \begin{syntax}
% \cs{NewGroupedTheorem}[\meta{keys}]\{\meta{theorem name}\} % \cs{NewGroupedTheorem}\oarg{keys}\marg{theorem name}
% \end{syntax} % \end{syntax}
% This defines \meta{theorem name} as a new theorem environment. % This defines \meta{theorem name} as a new theorem environment.
% Its properties can be set by the following keys: % Its properties can be set by the following keys:
@ -448,7 +450,7 @@
% %
% \item % \item
% %
% \kw{group} $=$ \{\meta{clist}\} % \kw{group} $=$ \marg{clist}
% %
% Makes this theorem a member of the listed groups. % Makes this theorem a member of the listed groups.
% It will inherit all respective properties of these groups. % It will inherit all respective properties of these groups.
@ -457,7 +459,7 @@
% %
% \item % \item
% %
% \kw{thmtools} = \{\meta{clist}\} % \kw{thmtools} = \marg{clist}
% %
% Passes these option to the \pkg{thmtools} environment that is declared internally. % Passes these option to the \pkg{thmtools} environment that is declared internally.
% %
@ -466,7 +468,7 @@
% %
% \begin{function}{\NewGroupedTheorem*,\ProvideGroupedTheorem*} % \begin{function}{\NewGroupedTheorem*,\ProvideGroupedTheorem*}
% \begin{syntax} % \begin{syntax}
% \cs{NewGroupedTheorem*}[\meta{keys}]\{\meta{theorem name}\} % \cs{NewGroupedTheorem*}\oarg{keys}\marg{theorem name}
% \end{syntax} % \end{syntax}
% Behaves the same as \cs{NewGroupedTheorem}, % Behaves the same as \cs{NewGroupedTheorem},
% but also adds the theorem to the default \kw{unnumbered} group, % but also adds the theorem to the default \kw{unnumbered} group,
@ -478,7 +480,7 @@
% %
% \begin{function}{\NewTheorem, \ProvideTheorem} % \begin{function}{\NewTheorem, \ProvideTheorem}
% \begin{syntax} % \begin{syntax}
% \cs{NewTheorem}[\meta{keys}]\{\meta{theorem name}\} % \cs{NewTheorem}\oarg{keys}\marg{theorem name}
% \end{syntax} % \end{syntax}
% %
% This behaves essentially the same as \cs{NewGroupedTheorem}, % This behaves essentially the same as \cs{NewGroupedTheorem},
@ -493,7 +495,7 @@
% %
% \begin{function}{\NewTheorem*, \ProvideTheorem*} % \begin{function}{\NewTheorem*, \ProvideTheorem*}
% \begin{syntax} % \begin{syntax}
% \cs{NewTheorem}[\meta{keys}]\{\meta{theorem name}\} % \cs{NewTheorem}\oarg{keys}\marg{theorem name}
% \end{syntax} % \end{syntax}
% Combines the behavior of \cs{NewGroupedTheorem*} and \cs{NewTheorem}, thus % Combines the behavior of \cs{NewGroupedTheorem*} and \cs{NewTheorem}, thus
% declaring \meta{theorem} to (additionally) be member of the \kw{unnumbered} % declaring \meta{theorem} to (additionally) be member of the \kw{unnumbered}
@ -506,7 +508,7 @@
% %
% \begin{function}{\NewGroupedTheoremFamily, \ProvideGroupedTheoremFamily} % \begin{function}{\NewGroupedTheoremFamily, \ProvideGroupedTheoremFamily}
% \begin{syntax} % \begin{syntax}
% \cs{NewTheoremFamily}[\meta{keys}]\{\meta{theorem name}\} % \cs{NewTheoremFamily}\oarg{keys}\marg{theorem name}
% \end{syntax} % \end{syntax}
% %
% Defines a family of grouped theorems. % Defines a family of grouped theorems.
@ -550,7 +552,7 @@
% %
% \begin{function}{\AddTheoremToGroup} % \begin{function}{\AddTheoremToGroup}
% \begin{syntax} % \begin{syntax}
% \cs{AddTheoremToGroup}\{\meta{theorem group}\} % \cs{AddTheoremToGroup}\marg{theorem group}
% \end{syntax} % \end{syntax}
% %
% Means that the current invocation of a theorem family should % Means that the current invocation of a theorem family should
@ -565,8 +567,8 @@
% \ProvideGroupedTheoremFamilyOptions, \DeclareGroupedTheoremFamilyOptions % \ProvideGroupedTheoremFamilyOptions, \DeclareGroupedTheoremFamilyOptions
% } % }
% \begin{syntax} % \begin{syntax}
% \cs{NewGroupedTheoremFamilyOptions}\{\meta{theorem name}\}\{\meta{argument specifiation}\}% % \cs{NewGroupedTheoremFamilyOptions}\marg{theorem name}\marg{argument specifiation}%
% \{\meta{selection body}\} % \marg{selection body}
% \end{syntax} % \end{syntax}
% %
% Defines a new environment with options, given by \meta{theorem name}. % Defines a new environment with options, given by \meta{theorem name}.
@ -600,8 +602,8 @@
% \ProvideGroupedTheoremFamilyOptions*, \DeclareGroupedTheoremFamilyOptions* % \ProvideGroupedTheoremFamilyOptions*, \DeclareGroupedTheoremFamilyOptions*
% } % }
% \begin{syntax} % \begin{syntax}
% \cs{NewGroupedTheoremFamilyOptions*}\{\meta{theorem name}\}\{\meta{argument specifiation}\}% % \cs{NewGroupedTheoremFamilyOptions*}\marg{theorem name}\marg{argument specifiation}%
% \{\meta{selection body}\} % \marg{selection body}
% \end{syntax} % \end{syntax}
% %
% Does the same as \cs{NewGroupedTheoremFamilyOptions}, % Does the same as \cs{NewGroupedTheoremFamilyOptions},
@ -618,8 +620,8 @@
% \ProvideTheoremFamilyOptions, \DeclareTheoremFamilyOptions % \ProvideTheoremFamilyOptions, \DeclareTheoremFamilyOptions
% } % }
% \begin{syntax} % \begin{syntax}
% \cs{NewTheoremFamilyOptions}\{\meta{theorem name}\}\{\meta{argument specifiation}\}% % \cs{NewTheoremFamilyOptions}\marg{theorem name}\marg{argument specifiation}%
% \{\meta{selection body}\} % \marg{selection body}
% \end{syntax} % \end{syntax}
% %
% This behaves essentially the same as \cs{NewGroupedTheoremFamilyOptions}, % This behaves essentially the same as \cs{NewGroupedTheoremFamilyOptions},
@ -638,8 +640,8 @@
% \ProvideTheoremFamilyOptions*, \DeclareTheoremFamilyOptions* % \ProvideTheoremFamilyOptions*, \DeclareTheoremFamilyOptions*
% } % }
% \begin{syntax} % \begin{syntax}
% \cs{NewTheoremFamilyOptions*}\{\meta{theorem name}\}\{\meta{argument specifiation}\}% % \cs{NewTheoremFamilyOptions*}\marg{theorem name}\marg{argument specifiation}%
% \{\meta{selection body}\} % \marg{selection body}
% \end{syntax} % \end{syntax}
% %
% Combines the behavior of \cs{NewGroupedTheoremFamilyOptions*} and \cs{NewTheoremFamilyOptions}, % Combines the behavior of \cs{NewGroupedTheoremFamilyOptions*} and \cs{NewTheoremFamilyOptions},
@ -682,10 +684,10 @@
% where the \meta{mandatory args} list the mandatory args of the \LaTeX2e % where the \meta{mandatory args} list the mandatory args of the \LaTeX2e
% interface, and the \meta{optional args} list the optional args % interface, and the \meta{optional args} list the optional args
% of the key-value interface, but requiring them mandatory as well. % of the key-value interface, but requiring them mandatory as well.
% \item \cs{groupthm_new_foo_from_keys:mmm}\{\meta{keys}\}\meta{mandatory args} % \item \cs{groupthm_new_foo_from_keys:mmm}\marg{keys}\meta{mandatory args}
% where we pass a \texttt{clist} as the first argument and all mandatory args % where we pass a \texttt{clist} as the first argument and all mandatory args
% as further mandatory arguments. % as further mandatory arguments.
% \item \cs{NewFoo}[\meta{keys}]\meta{mandatory args}, % \item \cs{NewFoo}\oarg{keys}\meta{mandatory args},
% where the keys can be passed optionally. % where the keys can be passed optionally.
% \end{itemize} % \end{itemize}
% %
@ -700,7 +702,7 @@
% \groupthm_declare_theorem_group_from_keys:nn % \groupthm_declare_theorem_group_from_keys:nn
% } % }
% \begin{syntax} % \begin{syntax}
% \cs{groupthm_new_theorem_group_from_keys:nn}\ma{keys}\ma{theorem group} % \cs{groupthm_new_theorem_group_from_keys:nn}\marg{keys}\marg{theorem group}
% \end{syntax} % \end{syntax}
% %
% \LaTeX3 versions of \cs{NewTheoremGroup}, \cs{RenewTheoremGroup}, % \LaTeX3 versions of \cs{NewTheoremGroup}, \cs{RenewTheoremGroup},
@ -722,8 +724,8 @@
% \groupthm_declare_theorem_group:nVVVV % \groupthm_declare_theorem_group:nVVVV
% } % }
% \begin{syntax} % \begin{syntax}
% \cs{groupthm_new_theorem_group:nnnnn}\ma{theorem group}\ma{prename tl} % \cs{groupthm_new_theorem_group:nnnnn}\marg{theorem group}\marg{prename tl}
% \ma{postname tl}\ma{mapname clist}\ma{thmtools clist} % \marg{postname tl}\marg{mapname clist}\marg{thmtools clist}
% \end{syntax} % \end{syntax}
% %
% Non-keyval versions of % Non-keyval versions of
@ -741,8 +743,8 @@
% %
% \begin{function}{\groupthm_declare_theorem_group_rule:nnnn} % \begin{function}{\groupthm_declare_theorem_group_rule:nnnn}
% \begin{syntax} % \begin{syntax}
% \cs{groupthm_declare_theorem_group_rule:nnnn}\ma{keyname}\ma{theorem group 1} % \cs{groupthm_declare_theorem_group_rule:nnnn}\marg{keyname}\marg{theorem group 1}
% \ma{relation}\ma{theorem group 2} % \marg{relation}\marg{theorem group 2}
% \end{syntax} % \end{syntax}
% %
% \LaTeX3 version of \cs{DeclareTheoremGroupRule} % \LaTeX3 version of \cs{DeclareTheoremGroupRule}
@ -754,7 +756,7 @@
% %
% \begin{function}{\groupthm_new_grouped_theorem_from_keys:nn, \groupthm_provide_grouped_theorem_from_keys:nn} % \begin{function}{\groupthm_new_grouped_theorem_from_keys:nn, \groupthm_provide_grouped_theorem_from_keys:nn}
% \begin{syntax} % \begin{syntax}
% \cs{groupthm_provide_grouped_theorem_from_keys:nn}\ma{keys}\ma{environment name} % \cs{groupthm_provide_grouped_theorem_from_keys:nn}\marg{keys}\marg{environment name}
% \end{syntax} % \end{syntax}
% %
% \LaTeX3 version of \cs{NewGroupedTheorem}, \cs{ProvideGroupedTheorem} % \LaTeX3 version of \cs{NewGroupedTheorem}, \cs{ProvideGroupedTheorem}
@ -768,7 +770,7 @@
% \groupthm_provide_grouped_theorem_star_from_keys:nn % \groupthm_provide_grouped_theorem_star_from_keys:nn
% } % }
% \begin{syntax} % \begin{syntax}
% \cs{groupthm_new_grouped_theorem_star_from_keys:nn}\ma{keys}\ma{environment name} % \cs{groupthm_new_grouped_theorem_star_from_keys:nn}\marg{keys}\marg{environment name}
% \end{syntax} % \end{syntax}
% %
% %
@ -781,7 +783,7 @@
% %
% \begin{function}{\groupthm_new_theorem_from_keys:nn, \groupthm_provide_theorem_from_keys:nn} % \begin{function}{\groupthm_new_theorem_from_keys:nn, \groupthm_provide_theorem_from_keys:nn}
% \begin{syntax} % \begin{syntax}
% \cs{groupthm_provide_theorem_from_keys:nn}\ma{keys}\ma{environment name} % \cs{groupthm_provide_theorem_from_keys:nn}\marg{keys}\marg{environment name}
% \end{syntax} % \end{syntax}
% %
% \LaTeX3 version of \cs{NewTheorem}, \cs{ProvideTheorem} % \LaTeX3 version of \cs{NewTheorem}, \cs{ProvideTheorem}
@ -791,7 +793,7 @@
% %
% \begin{function}{\groupthm_new_theorem_star_from_keys:nn, \groupthm_provide_theorem_star_from_keys:nn} % \begin{function}{\groupthm_new_theorem_star_from_keys:nn, \groupthm_provide_theorem_star_from_keys:nn}
% \begin{syntax} % \begin{syntax}
% \cs{groupthm_new_theorem_star_from_keys:nn}\ma{keys}\ma{environment name} % \cs{groupthm_new_theorem_star_from_keys:nn}\marg{keys}\marg{environment name}
% \end{syntax} % \end{syntax}
% %
% \LaTeX3 version of \cs{NewTheorem*}, \cs{ProvideTheorem*} % \LaTeX3 version of \cs{NewTheorem*}, \cs{ProvideTheorem*}
@ -811,7 +813,7 @@
% \groupthm_provide_theorem_star:nnnn % \groupthm_provide_theorem_star:nnnn
% } % }
% \begin{syntax} % \begin{syntax}
% \cs{groupthm_new_theorem:nnnn}\ma{keys}\ma{environment name} % \cs{groupthm_new_theorem:nnnn}\marg{keys}\marg{environment name}
% \end{syntax} % \end{syntax}
% %
% Non-keyval versions of above macros. % Non-keyval versions of above macros.
@ -867,7 +869,7 @@
% hook role setting mechanism: % hook role setting mechanism:
% \begin{macro}{\@@_hook_gset_rule_foreach:nNnn} % \begin{macro}{\@@_hook_gset_rule_foreach:nNnn}
% \begin{syntax} % \begin{syntax}
% \cs{@@_hook_gset_rule_foreach:nNnn}\ma{hook}\meta{clist name}\meta{relation}\meta{label} % \cs{@@_hook_gset_rule_foreach:nNnn}\marg{hook}\meta{clist name}\meta{relation}\meta{label}
% \end{syntax} % \end{syntax}
% %
% This is a wrapper around the \cs{hook_gset_rule:nnnn} macro % This is a wrapper around the \cs{hook_gset_rule:nnnn} macro
@ -893,7 +895,7 @@
% %
% When an unknown group is used somwhere: % When an unknown group is used somwhere:
% \begin{syntax} % \begin{syntax}
% \cs{msg_error:nnn}\{ groupthm \}\{ unknown group \}\{\meta{groupname}\} % \cs{msg_error:nnn}\{ groupthm \}\{ unknown group \}\marg{groupname}
% \end{syntax} % \end{syntax}
% \begin{macrocode} % \begin{macrocode}
\msg_new:nnn { groupthm } { unknown ~ group } \msg_new:nnn { groupthm } { unknown ~ group }
@ -904,7 +906,7 @@
% %
% When an unknown key has been used: % When an unknown key has been used:
% \begin{syntax} % \begin{syntax}
% \cs{msg_error:nnn}\{ groupthm \}\{ unknown key \}\{\meta{key}\} % \cs{msg_error:nnn}\{ groupthm \}\{ unknown key \}\marg{key}
% \end{syntax} % \end{syntax}
% \begin{macrocode} % \begin{macrocode}
\msg_new:nnn { groupthm } { unknown ~ key } \msg_new:nnn { groupthm } { unknown ~ key }
@ -916,7 +918,7 @@
% Some data structure is already defined or not defined yet. % Some data structure is already defined or not defined yet.
% \begin{syntax} % \begin{syntax}
% \cs{msg_error:nnnnn}\{ groupthm \}\{ wrong definition \} % \cs{msg_error:nnnnn}\{ groupthm \}\{ wrong definition \}
% \{\meta{type}\}\{\meta{name}\}\{\meta{already $\|$ not}\} % \marg{type}\marg{name}\marg{already $\|$ not}
% \end{syntax} % \end{syntax}
% \begin{macrocode} % \begin{macrocode}
\msg_new:nnn { groupthm } { wrong ~ definition } \msg_new:nnn { groupthm } { wrong ~ definition }
@ -945,7 +947,7 @@
% %
% \begin{macro}{\hook_gset_rule:nnVn} % \begin{macro}{\hook_gset_rule:nnVn}
% \begin{syntax} % \begin{syntax}
% \cs{hook_gset_rule:nnVn}\{\meta{hook}\}\{\meta{label 1}\}\{\meta{relation}\}\{\meta{label 2}\} % \cs{hook_gset_rule:nnVn}\marg{hook}\marg{label 1}\marg{relation}\marg{label 2}
% \end{syntax} % \end{syntax}
% %
% Just a variant of the usual \cs{hook_gset_rule:nnnn} macro that we use. % Just a variant of the usual \cs{hook_gset_rule:nnnn} macro that we use.
@ -1056,7 +1058,7 @@
% %
% \begin{macro}{\@@_set_normalized_keys:nnn} % \begin{macro}{\@@_set_normalized_keys:nnn}
% \begin{syntax} % \begin{syntax}
% \cs{@@_set_normalized_keys:nnn}\ma{keys}\ma{key group}\ma{fallback name} % \cs{@@_set_normalized_keys:nnn}\marg{keys}\marg{key group}\marg{fallback name}
% \end{syntax} % \end{syntax}
% %
% Sets the packages keys and normalizes the retrieved values, that is, % Sets the packages keys and normalizes the retrieved values, that is,
@ -1124,7 +1126,7 @@
% %
% \begin{macro}{\@@_add_to_theorem_group_ordering:n} % \begin{macro}{\@@_add_to_theorem_group_ordering:n}
% \begin{syntax} % \begin{syntax}
% \cs{@@_add_to_theorem_group_ordering:n}\ma{theorem group} % \cs{@@_add_to_theorem_group_ordering:n}\marg{theorem group}
% \end{syntax} % \end{syntax}
% %
% Sets hook relations for this group and all already defined theorem groups. % Sets hook relations for this group and all already defined theorem groups.
@ -1145,7 +1147,7 @@
% %
% \begin{macro}{\@@_remove_from_theorem_group_ordering:n} % \begin{macro}{\@@_remove_from_theorem_group_ordering:n}
% \begin{syntax} % \begin{syntax}
% \cs{@@_remove_from_theorem_group_ordering:n}\ma{theorem group} % \cs{@@_remove_from_theorem_group_ordering:n}\marg{theorem group}
% \end{syntax} % \end{syntax}
% %
% Removes all relations of this theorem group with the currently defined theorem groups. % Removes all relations of this theorem group with the currently defined theorem groups.
@ -1166,7 +1168,7 @@
% %
% \begin{macro}{\@@_add_to_sort_hook:n} % \begin{macro}{\@@_add_to_sort_hook:n}
% \begin{syntax} % \begin{syntax}
% \cs{@@_add_to_sort_hook:n}\ma{theorem group} % \cs{@@_add_to_sort_hook:n}\marg{theorem group}
% \end{syntax} % \end{syntax}
% %
% Adds the theorem group into the sort hook to be restored later from it. % Adds the theorem group into the sort hook to be restored later from it.
@ -1208,8 +1210,8 @@
% %
% \begin{macro}{\@@_declare_theorem_group_aux:nnnnn} % \begin{macro}{\@@_declare_theorem_group_aux:nnnnn}
% \begin{syntax} % \begin{syntax}
% \cs{@@_declare_theorem_group_aux:nnnnn}\{\meta{theorem group}\}\{\meta{prename tl}\} % \cs{@@_declare_theorem_group_aux:nnnnn}\marg{theorem group}\marg{prename tl}
% \{\meta{postname tl}\}\{\meta{mapname clist}\}\{\meta{thmtools clist}\} % \marg{postname tl}\marg{mapname clist}\marg{thmtools clist}
% \end{syntax} % \end{syntax}
% %
% This creates a new theorem group out of the given parameters. % This creates a new theorem group out of the given parameters.
@ -1270,7 +1272,7 @@
% %
% \begin{macro}{\@@_undeclare_theorem_group_aux:n} % \begin{macro}{\@@_undeclare_theorem_group_aux:n}
% \begin{syntax} % \begin{syntax}
% \cs{@@_undeclare_theorem_group_aux:n}\ma{theorem group} % \cs{@@_undeclare_theorem_group_aux:n}\marg{theorem group}
% \end{syntax} % \end{syntax}
% %
% Undeclares / undefines the given theorem group. % Undeclares / undefines the given theorem group.
@ -1443,7 +1445,7 @@
% %
% \begin{macro}{\groupthm_new_theorem_group_from_keys:nn} % \begin{macro}{\groupthm_new_theorem_group_from_keys:nn}
% \begin{syntax} % \begin{syntax}
% \cs{groupthm_new_theorem_group_from_keys:nn}\ma{keys}\ma{theorem group} % \cs{groupthm_new_theorem_group_from_keys:nn}\marg{keys}\marg{theorem group}
% \end{syntax} % \end{syntax}
% %
% \begin{macrocode} % \begin{macrocode}
@ -1463,7 +1465,7 @@
% %
% \begin{macro}{\groupthm_renew_theorem_group_from_keys:nn} % \begin{macro}{\groupthm_renew_theorem_group_from_keys:nn}
% \begin{syntax} % \begin{syntax}
% \cs{groupthm_renew_theorem_group_from_keys:nn}\ma{keys}\ma{theorem group} % \cs{groupthm_renew_theorem_group_from_keys:nn}\marg{keys}\marg{theorem group}
% \end{syntax} % \end{syntax}
% %
% \begin{macrocode} % \begin{macrocode}
@ -1483,7 +1485,7 @@
% %
% \begin{macro}{\groupthm_provide_theorem_group_from_keys:nn} % \begin{macro}{\groupthm_provide_theorem_group_from_keys:nn}
% \begin{syntax} % \begin{syntax}
% \cs{groupthm_provide_theorem_group_from_keys:nn}\ma{keys}\ma{theorem group} % \cs{groupthm_provide_theorem_group_from_keys:nn}\marg{keys}\marg{theorem group}
% \end{syntax} % \end{syntax}
% %
% \begin{macrocode} % \begin{macrocode}
@ -1503,7 +1505,7 @@
% %
% \begin{macro}{\groupthm_declare_theorem_group_from_keys:nn} % \begin{macro}{\groupthm_declare_theorem_group_from_keys:nn}
% \begin{syntax} % \begin{syntax}
% \cs{groupthm_declare_theorem_group_from_keys:nn}\ma{keys}\ma{theorem group} % \cs{groupthm_declare_theorem_group_from_keys:nn}\marg{keys}\marg{theorem group}
% \end{syntax} % \end{syntax}
% %
% \begin{macrocode} % \begin{macrocode}
@ -1574,8 +1576,8 @@
% %
% \begin{macro}{\groupthm_declare_theorem_group_rule:nnnn} % \begin{macro}{\groupthm_declare_theorem_group_rule:nnnn}
% \begin{syntax} % \begin{syntax}
% \cs{groupthm_declare_theorem_group_rule:nnnn}\ma{keyname}\ma{theorem group 1} % \cs{groupthm_declare_theorem_group_rule:nnnn}\marg{keyname}\marg{theorem group 1}
% \ma{relation}\ma{theorem group 2} % \marg{relation}\marg{theorem group 2}
% \end{syntax} % \end{syntax}
% %
% We have to normalize the arguments a little bit, namely replacing \texttt{higher} % We have to normalize the arguments a little bit, namely replacing \texttt{higher}
@ -1611,8 +1613,8 @@
% \begin{macro}{\DeclareTheoremGroupRule} % \begin{macro}{\DeclareTheoremGroupRule}
% \begin{syntax} % \begin{syntax}
% \cs{DeclareTheoremGroupRule}[\meta{keyname}]% % \cs{DeclareTheoremGroupRule}\oarg{keyname}%
% \{\meta{theorem group 1}\}\{\meta{relation}\}\{\meta{theorem group 2}\} % \marg{theorem group 1}\marg{relation}\marg{theorem group 2}
% \end{syntax} % \end{syntax}
% %
% \begin{macrocode} % \begin{macrocode}
@ -1632,7 +1634,7 @@
% %
% \begin{macro}{\@@_powerset_clist_foreach:Nn} % \begin{macro}{\@@_powerset_clist_foreach:Nn}
% \begin{syntax} % \begin{syntax}
% \cs{@@_powerset_clist_foreach:Nn}\meta{clist}\ma{code} % \cs{@@_powerset_clist_foreach:Nn}\meta{clist}\marg{code}
% \end{syntax} % \end{syntax}
% %
% Executes \meta{code} for each subset of the given clist variable. % Executes \meta{code} for each subset of the given clist variable.
@ -1730,8 +1732,8 @@
% %
% \begin{macro}{\@@_declare_grouped_theorem_aux:nnnn} % \begin{macro}{\@@_declare_grouped_theorem_aux:nnnn}
% \begin{syntax} % \begin{syntax}
% \cs{@@_declare_grouped_theorem_aux:nnnn}\ma{environment name} % \cs{@@_declare_grouped_theorem_aux:nnnn}\marg{environment name}
% \ma{groups clist}\ma{theorem name}\ma{thmtools keys} % \marg{groups clist}\marg{theorem name}\marg{thmtools keys}
% \end{syntax} % \end{syntax}
% %
% This is the internal backend that declares a grouped theorem % This is the internal backend that declares a grouped theorem
@ -1807,8 +1809,8 @@
% %
% \begin{macro}{\groupthm_new_grouped_theorem:nnnn,\groupthm_new_grouped_theorem:nVVV} % \begin{macro}{\groupthm_new_grouped_theorem:nnnn,\groupthm_new_grouped_theorem:nVVV}
% \begin{syntax} % \begin{syntax}
% \cs{groupthm_new_grouped_theorem:nnnn}\ma{environment name} % \cs{groupthm_new_grouped_theorem:nnnn}\marg{environment name}
% \ma{groups clist}\ma{theorem name}\ma{thmtools keys} % \marg{groups clist}\marg{theorem name}\marg{thmtools keys}
% \end{syntax} % \end{syntax}
% %
% \begin{macrocode} % \begin{macrocode}
@ -1874,8 +1876,8 @@
% %
% \begin{macro}{\groupthm_provide_grouped_theorem_star:nnnn} % \begin{macro}{\groupthm_provide_grouped_theorem_star:nnnn}
% \begin{syntax} % \begin{syntax}
% \cs{groupthm_provide_grouped_theorem_star:nnnn}\ma{environment name} % \cs{groupthm_provide_grouped_theorem_star:nnnn}\marg{environment name}
% \ma{groups clist}\ma{theorem name}\ma{thmtools keys} % \marg{groups clist}\marg{theorem name}\marg{thmtools keys}
% \end{syntax} % \end{syntax}
% %
% \begin{macrocode} % \begin{macrocode}
@ -1896,8 +1898,8 @@
% %
% \begin{macro}{\groupthm_new_theorem:nnnn,\groupthm_new_theorem:nVVV} % \begin{macro}{\groupthm_new_theorem:nnnn,\groupthm_new_theorem:nVVV}
% \begin{syntax} % \begin{syntax}
% \cs{groupthm_new_theorem:nnnn}\ma{environment name} % \cs{groupthm_new_theorem:nnnn}\marg{environment name}
% \ma{groups clist}\ma{theorem name}\ma{thmtools keys} % \marg{groups clist}\marg{theorem name}\marg{thmtools keys}
% \end{syntax} % \end{syntax}
% %
% %
@ -1917,8 +1919,8 @@
% %
% \begin{macro}{\groupthm_provide_theorem:nnnn,\groupthm_provide_theorem:nVVV} % \begin{macro}{\groupthm_provide_theorem:nnnn,\groupthm_provide_theorem:nVVV}
% \begin{syntax} % \begin{syntax}
% \cs{groupthm_provide_theorem:nnnn}\ma{environment name} % \cs{groupthm_provide_theorem:nnnn}\marg{environment name}
% \ma{groups clist}\ma{theorem name}\ma{thmtools keys} % \marg{groups clist}\marg{theorem name}\marg{thmtools keys}
% \end{syntax} % \end{syntax}
% %
% %
@ -1942,8 +1944,8 @@
% %
% \begin{macro}{\groupthm_new_theorem_star:nnnn} % \begin{macro}{\groupthm_new_theorem_star:nnnn}
% \begin{syntax} % \begin{syntax}
% \cs{groupthm_new_theorem_star:nnnn}\ma{environment name} % \cs{groupthm_new_theorem_star:nnnn}\marg{environment name}
% \ma{groups clist}\ma{theorem name}\ma{thmtools keys} % \marg{groups clist}\marg{theorem name}\marg{thmtools keys}
% \end{syntax} % \end{syntax}
% %
% \begin{macrocode} % \begin{macrocode}
@ -1959,8 +1961,8 @@
% %
% \begin{macro}{\groupthm_provide_theorem_star:nnnn} % \begin{macro}{\groupthm_provide_theorem_star:nnnn}
% \begin{syntax} % \begin{syntax}
% \cs{groupthm_provide_theorem_star:nnnn}\ma{environment name} % \cs{groupthm_provide_theorem_star:nnnn}\marg{environment name}
% \ma{groups clist}\ma{theorem name}\ma{thmtools keys} % \marg{groups clist}\marg{theorem name}\marg{thmtools keys}
% \end{syntax} % \end{syntax}
% %
% \begin{macrocode} % \begin{macrocode}
@ -2113,7 +2115,7 @@
% %
% \begin{macro}{\NewGroupedTheorem} % \begin{macro}{\NewGroupedTheorem}
% \begin{syntax} % \begin{syntax}
% \cs{NewGroupedTheorem}[\meta{keys}]\ma{theorem name} % \cs{NewGroupedTheorem}\oarg{keys}\marg{theorem name}
% \end{syntax} % \end{syntax}
% %
% \begin{macrocode} % \begin{macrocode}
@ -2133,7 +2135,7 @@
% %
% \begin{macro}{\ProvideGroupedTheorem} % \begin{macro}{\ProvideGroupedTheorem}
% \begin{syntax} % \begin{syntax}
% \cs{ProvideGroupedTheorem}[\meta{keys}]\ma{theorem name} % \cs{ProvideGroupedTheorem}\oarg{keys}\marg{theorem name}
% \end{syntax} % \end{syntax}
% %
% \begin{macrocode} % \begin{macrocode}
@ -2154,7 +2156,7 @@
% %
% \begin{macro}{\NewTheorem} % \begin{macro}{\NewTheorem}
% \begin{syntax} % \begin{syntax}
% \cs{NewTheorem}[\meta{keys}]\ma{theorem name} % \cs{NewTheorem}\oarg{keys}\marg{theorem name}
% \end{syntax} % \end{syntax}
% %
% \begin{macrocode} % \begin{macrocode}
@ -2174,7 +2176,7 @@
% %
% \begin{macro}{\ProvideTheorem} % \begin{macro}{\ProvideTheorem}
% \begin{syntax} % \begin{syntax}
% \cs{ProvideTheorem}[\meta{keys}]\ma{theorem name} % \cs{ProvideTheorem}\oarg{keys}\marg{theorem name}
% \end{syntax} % \end{syntax}
% %
% \begin{macrocode} % \begin{macrocode}
@ -2201,4 +2203,3 @@
% \end{implementation} % \end{implementation}
% \end{documentation} % \end{documentation}
% \newpage % \newpage
% \PrintIndex

View file

@ -0,0 +1,8 @@
\contentsline {todo}{\color@fb@x {}{black}{}{orange}{\leavevmode {\color {orange}o}}\ insert code example output}{4}{section*.3}%
\contentsline {todo}{\color@fb@x {}{black}{}{orange}{\leavevmode {\color {orange}o}}\ code}{4}{section*.4}%
\contentsline {todo}{\color@fb@x {}{black}{}{red!40}{\leavevmode {\color {red!40}o}}\ Add reference.}{7}{section*.5}%
\contentsline {todo}{\color@fb@x {}{black}{}{red!40}{\leavevmode {\color {red!40}o}}\ Add reference.}{7}{section*.6}%
\contentsline {todo}{\color@fb@x {}{black}{}{red!40}{\leavevmode {\color {red!40}o}}\ Add reference.}{8}{section*.7}%
\contentsline {todo}{\color@fb@x {}{black}{}{red!40}{\leavevmode {\color {red!40}o}}\ Add reference.}{9}{section*.8}%
\contentsline {todo}{\color@fb@x {}{black}{}{red!40}{\leavevmode {\color {red!40}o}}\ Add reference.}{10}{section*.9}%
\contentsline {todo}{\color@fb@x {}{black}{}{red!40}{\leavevmode {\color {red!40}o}}\ Add reference.}{17}{section*.10}%