From 20bd4d4687e297dc8614d0da8128d21abf4976cc Mon Sep 17 00:00:00 2001 From: Yukai Chou Date: Fri, 8 Mar 2024 14:53:17 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E8=B0=83=E6=95=B4=E7=BC=A9=E8=BF=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/njuthesis.dtx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/source/njuthesis.dtx b/source/njuthesis.dtx index 7724b16..9170615 100644 --- a/source/njuthesis.dtx +++ b/source/njuthesis.dtx @@ -5071,18 +5071,18 @@ To produce the documentation run the original source files ending with \cs_new_protected:Npn \@@_loadfont_stzhongs: { \cs_if_exist_use:NF \@@_stzhongs: - { - \fontspec_font_if_exist:nTF { 华文中宋 } - { \@@_stzhongs:n { \c_@@_name_fakebold_tl } } { - \bool_if:NTF \g_@@_font_path_bool + \fontspec_font_if_exist:nTF { 华文中宋 } + { \@@_stzhongs:n { \c_@@_name_fakebold_tl } } { + \bool_if:NTF \g_@@_font_path_bool + { \@@_stzhongs:nn { \c_@@_name_stzhongsfile_tl } { Path = \g_@@_font_path_tl, \c_@@_name_fakebold_tl } - } - { - \cs_set_eq:NN \@@_stzhongs: \rmfamily - \msg_warning:nn { njuthesis } { missing-stzhongs } + } + { + \cs_set_eq:NN \@@_stzhongs: \rmfamily + \msg_warning:nn { njuthesis } { missing-stzhongs } } } }