From 0329d70521813977b5b544f364f88f74b76a7918 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Ke=C3=9Fler?= Date: Sun, 23 Jan 2022 01:10:36 +0100 Subject: [PATCH] fix bug --- doc/environments/groupthm/groupthm.dtx | 10 +++++----- doc/environments/groupthm/groupthm.sty | 6 +----- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/doc/environments/groupthm/groupthm.dtx b/doc/environments/groupthm/groupthm.dtx index 13009cb..026d638 100644 --- a/doc/environments/groupthm/groupthm.dtx +++ b/doc/environments/groupthm/groupthm.dtx @@ -740,10 +740,10 @@ % \end{function} % \begin{function} -{ -\groupthm_new_family:nnnnn, \groupthm_provide_family:nnnnn, -\groupthm_new_family:nVVVV, \groupthm_provide_family:nVVVV -} +% { +% \groupthm_new_family:nnnnn, \groupthm_provide_family:nnnnn, +% \groupthm_new_family:nVVVV, \groupthm_provide_family:nVVVV +% } % \begin{syntax} % \cs{groupthm_new_family:nnnnn}\marg{theorem family}\marg{groups_1}\marg{name} % \marg{thmtools clist}\marg{groups_2} @@ -1694,7 +1694,7 @@ { \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 } } \clist_map_function:nN { #1 } \@@_map_aux:n diff --git a/doc/environments/groupthm/groupthm.sty b/doc/environments/groupthm/groupthm.sty index 8e0b275..19ea16d 100644 --- a/doc/environments/groupthm/groupthm.sty +++ b/doc/environments/groupthm/groupthm.sty @@ -23,10 +23,6 @@ %% File: groupthm.dtx \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{thmtools} \cs_new:Npn \__groupthm_thmtools_declare_theorem:nn #1 #2 @@ -380,7 +376,7 @@ { \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 } } \clist_map_function:nN { #1 } \__groupthm_map_aux:n