remove _aux from internal commands at some places

This commit is contained in:
Maximilian Keßler 2022-01-20 21:43:03 +01:00
parent 70ddae2307
commit 05bc3d9c60
2 changed files with 12 additions and 12 deletions

View File

@ -1363,9 +1363,9 @@
% \end{macro}
%
%
% \begin{macro}{\@@_define_group_aux:nnnnn}
% \begin{macro}{\@@_define_group:nnnnn}
% \begin{syntax}
% \cs{@@_define_group_aux:nnnnn}\marg{theorem group}\marg{prefix tl}
% \cs{@@_define_group:nnnnn}\marg{theorem group}\marg{prefix tl}
% \marg{suffix tl}\marg{mapname clist}\marg{thmtools clist}
% \end{syntax}
%
@ -1378,7 +1378,7 @@
%
%
% \begin{macrocode}
\cs_new:Npn \@@_define_group_aux:nnnnn #1#2#3#4#5
\cs_new:Npn \@@_define_group:nnnnn #1#2#3#4#5
{
% \end{macrocode}
%
@ -1425,9 +1425,9 @@
% \end{macro}
%
%
% \begin{macro}{\@@_undefine_group_aux:n}
% \begin{macro}{\@@_undefine_group:n}
% \begin{syntax}
% \cs{@@_undefine_group_aux:n}\marg{theorem group}
% \cs{@@_undefine_group:n}\marg{theorem group}
% \end{syntax}
%
% Undeclares / undefines the given theorem group.
@ -1439,7 +1439,7 @@
% This macro assumes that the group was defined prior to calling.
%
% \begin{macrocode}
\cs_new:Npn \@@_undefine_group_aux:n #1
\cs_new:Npn \@@_undefine_group:n #1
{
\cs_undefine:c { @@_use_group_#1: }
% \end{macrocode}
@ -1570,8 +1570,8 @@
{ new, renew, provide, declare }
{ theorem group }
{ @@_use_group_##1: }
\@@_undefine_group_aux:n
\@@_define_group_aux:nnnnn
\@@_undefine_group:n
\@@_define_group:nnnnn
{ groupthm_#1_group:nnnnn }
{ { ##1 } { ##2 } { ##3 } { ##4 } { ##5 } }
% \end{macrocode}

View File

@ -161,7 +161,7 @@
\clist_clear:N \l__groupthm_group_clist
\hook_use:n { __groupthm/groupsort }
}
\cs_new:Npn \__groupthm_define_group_aux:nnnnn #1#2#3#4#5
\cs_new:Npn \__groupthm_define_group:nnnnn #1#2#3#4#5
{
\cs_new:cpn { __groupthm_use_group_#1: }
{
@ -185,7 +185,7 @@
\__groupthm_add_to_theorem_group_ordering:n { #1 }
\clist_gput_left:Nn \g__groupthm_defined_theorem_groups_clist { #1 }
}
\cs_new:Npn \__groupthm_undefine_group_aux:n #1
\cs_new:Npn \__groupthm_undefine_group:n #1
{
\cs_undefine:c { __groupthm_use_group_#1: }
\hook_gremove_code:nn { __groupthm/prefix } { #1 }
@ -285,8 +285,8 @@
{ new, renew, provide, declare }
{ theorem group }
{ __groupthm_use_group_##1: }
\__groupthm_undefine_group_aux:n
\__groupthm_define_group_aux:nnnnn
\__groupthm_undefine_group:n
\__groupthm_define_group:nnnnn
{ groupthm_#1_group:nnnnn }
{ { ##1 } { ##2 } { ##3 } { ##4 } { ##5 } }
\cs_generate_variant:Nn \groupthm_new_group:nnnnn { n V V V V }