Skip to content

Commit

Permalink
Restore float font in nomenclature and abbreviation
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexaraWu committed Dec 28, 2022
1 parent 9266682 commit 2c9a000
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions sjtutex/source/sjtutex.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -2870,17 +2870,29 @@
% \begin{macrocode}
%<*thesis>
\NewDocumentEnvironment { abbreviation } { }
{ \@@_head_aux:V \l_@@_name_abbr_tl } { }
{
\@@_head_aux:V \l_@@_name_abbr_tl
\tl_clear:N \SJTU@style@float@font
} { }
\NewDocumentEnvironment { abbreviation* } { }
{ \@@_head_aux_s:V \l_@@_name_abbr_tl } { }
{
\@@_head_aux_s:V \l_@@_name_abbr_tl
\tl_clear:N \SJTU@style@float@font
} { }
% \end{macrocode}
%
% 符号对照表。
% \begin{macrocode}
\NewDocumentEnvironment { nomenclature } { }
{ \@@_head_aux:V \l_@@_name_nom_tl } { }
{
\@@_head_aux:V \l_@@_name_nom_tl
\tl_clear:N \SJTU@style@float@font
} { }
\NewDocumentEnvironment { nomenclature* } { }
{ \@@_head_aux_s:V \l_@@_name_nom_tl } { }
{
\@@_head_aux_s:V \l_@@_name_nom_tl
\tl_clear:N \SJTU@style@float@font
} { }
% \end{macrocode}
%
% 全文总结。
Expand Down

0 comments on commit 2c9a000

Please sign in to comment.