diff --git a/doc/environments/groupthm/groupthm.dtx b/doc/environments/groupthm/groupthm.dtx index 99cce66..fafe93c 100644 --- a/doc/environments/groupthm/groupthm.dtx +++ b/doc/environments/groupthm/groupthm.dtx @@ -2086,12 +2086,11 @@ % We now glue the name together of its three parts, % and pass this key directly to the \pkg{thmtools} arguments % \begin{macrocode} - \clist_put_right:Nx \l_@@_thmtools_clist - { - name = \tl_use:N \l_@@_prefix_tl - \tl_use:N \l_@@_name_tl - \tl_use:N \l_@@_suffix_tl - } + \tl_set:Nn \l_tmpa_tl { name = } + \tl_put_right:NV \l_tmpa_tl \l_@@_prefix_tl + \tl_put_right:NV \l_tmpa_tl \l_@@_name_tl + \tl_put_right:NV \l_tmpa_tl \l_@@_suffix_tl + \clist_put_right:NV \l_@@_thmtools_clist \l_tmpa_tl % \end{macrocode} % Finally, apply the additional \pkg{thmtools} keys for this specific theorem. % Putting them last will overwrite keys that were given by the groups.