This commit is contained in:
Maximilian Keßler 2022-01-23 01:10:36 +01:00
parent 39b1aa88b3
commit 0329d70521
2 changed files with 6 additions and 10 deletions

View File

@ -740,10 +740,10 @@
% \end{function} % \end{function}
% \begin{function} % \begin{function}
{ % {
\groupthm_new_family:nnnnn, \groupthm_provide_family:nnnnn, % \groupthm_new_family:nnnnn, \groupthm_provide_family:nnnnn,
\groupthm_new_family:nVVVV, \groupthm_provide_family:nVVVV % \groupthm_new_family:nVVVV, \groupthm_provide_family:nVVVV
} % }
% \begin{syntax} % \begin{syntax}
% \cs{groupthm_new_family:nnnnn}\marg{theorem family}\marg{groups_1}\marg{name} % \cs{groupthm_new_family:nnnnn}\marg{theorem family}\marg{groups_1}\marg{name}
% \marg{thmtools clist}\marg{groups_2} % \marg{thmtools clist}\marg{groups_2}
@ -1694,7 +1694,7 @@
{ {
\cs_set:Npn \@@_map_aux:n ##1 \cs_set:Npn \@@_map_aux:n ##1
{ {
\cs_set_eq:Nn \@@_Declarator: { \text_titlecase_first:n { ##1 } } \cs_set:Nn \@@_Declarator: { \text_titlecase_first:n { ##1 } }
\@@_new_document_command:cnn { #2 } { #3 } { #4 } \@@_new_document_command:cnn { #2 } { #3 } { #4 }
} }
\clist_map_function:nN { #1 } \@@_map_aux:n \clist_map_function:nN { #1 } \@@_map_aux:n

View File

@ -23,10 +23,6 @@
%% File: groupthm.dtx %% File: groupthm.dtx
\ProvidesExplPackage{groupthm}{2022/01/17}{0.0.1}{Grouped theorems.} \ProvidesExplPackage{groupthm}{2022/01/17}{0.0.1}{Grouped theorems.}
{
\groupthm_new_family:nnnnn, \groupthm_provide_family:nnnnn,
\groupthm_new_family:nVVVV, \groupthm_provide_family:nVVVV
}
\RequirePackage{amsthm} \RequirePackage{amsthm}
\RequirePackage{thmtools} \RequirePackage{thmtools}
\cs_new:Npn \__groupthm_thmtools_declare_theorem:nn #1 #2 \cs_new:Npn \__groupthm_thmtools_declare_theorem:nn #1 #2
@ -380,7 +376,7 @@
{ {
\cs_set:Npn \__groupthm_map_aux:n ##1 \cs_set:Npn \__groupthm_map_aux:n ##1
{ {
\cs_set_eq:Nn \__groupthm_Declarator: { \text_titlecase_first:n { ##1 } } \cs_set:Nn \__groupthm_Declarator: { \text_titlecase_first:n { ##1 } }
\__groupthm_new_document_command:cnn { #2 } { #3 } { #4 } \__groupthm_new_document_command:cnn { #2 } { #3 } { #4 }
} }
\clist_map_function:nN { #1 } \__groupthm_map_aux:n \clist_map_function:nN { #1 } \__groupthm_map_aux:n