From 05bc3d9c60b447b7254fe191d868df3d641b1087 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Ke=C3=9Fler?= Date: Thu, 20 Jan 2022 21:43:03 +0100 Subject: [PATCH] remove _aux from internal commands at some places --- doc/environments/groupthm/groupthm.dtx | 16 ++++++++-------- doc/environments/groupthm/groupthm.sty | 8 ++++---- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/doc/environments/groupthm/groupthm.dtx b/doc/environments/groupthm/groupthm.dtx index 958a96a..e83ebb1 100644 --- a/doc/environments/groupthm/groupthm.dtx +++ b/doc/environments/groupthm/groupthm.dtx @@ -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} diff --git a/doc/environments/groupthm/groupthm.sty b/doc/environments/groupthm/groupthm.sty index cade1ed..8484512 100644 --- a/doc/environments/groupthm/groupthm.sty +++ b/doc/environments/groupthm/groupthm.sty @@ -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 }