summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/njuthesis/njuthesis.cls
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/njuthesis/njuthesis.cls')
-rw-r--r--Master/texmf-dist/tex/latex/njuthesis/njuthesis.cls31
1 files changed, 16 insertions, 15 deletions
diff --git a/Master/texmf-dist/tex/latex/njuthesis/njuthesis.cls b/Master/texmf-dist/tex/latex/njuthesis/njuthesis.cls
index be4ec462560..1b977e7b347 100644
--- a/Master/texmf-dist/tex/latex/njuthesis/njuthesis.cls
+++ b/Master/texmf-dist/tex/latex/njuthesis/njuthesis.cls
@@ -6,7 +6,7 @@
%%
%% njuthesis.dtx (with options: `class')
%%
-%% Copyright (C) 2021 - 2022
+%% Copyright (C) 2021 - 2023
%% by Nanjing University Linux User Group
%% <git+nju-lug-email-3104-issue-@yaoge123.cn>
%%
@@ -24,7 +24,7 @@
%% `.dtx' through XeTeX.
%%
\NeedsTeXFormat{LaTeX2e}
-\GetIdInfo $Id: njuthesis.dtx 1.1.1 2022-12-04 00:00:00
+\GetIdInfo $Id: njuthesis.dtx 1.1.2 2023-01-15 14:35:00
+0800 NJU LUG <git+nju-lug-email-3104-issue-@yaoge123.cn>$
{Thesis template for Nanjing University}
\ProvidesExplClass{njuthesis}
@@ -70,7 +70,7 @@
\bool_new:N \g__nju_opt_academic_bool
\bool_new:N \g__nju_opt_twoside_bool
\bool_set_true:N \g__nju_opt_twoside_bool
-\bool_new:N \g__nju_opt_second_supv_bool
+\bool_new:N \g__nju_opt_supvii_bool
\tl_new:N \g__nju_info_supvfull_tl
\tl_new:N \g__nju_info_supvfull_en_tl
\tl_new:N \g__nju_font_latin_tl
@@ -636,9 +636,9 @@
{ \skip_gset:cn { c__nju_ #2 _skip } { #3 } }
{ \dim_gset:cn { c__nju_ #2 _dim } { #3 } }
}
-\NewDocumentCommand \njusetname { s m o m }
+\NewDocumentCommand \njusetname { s m O{} m }
{ \__nju_set_tokenlist:nnnnn {#1} {#2} {#3} {#4} { name } }
-\NewDocumentCommand \njusettext { s m o m }
+\NewDocumentCommand \njusettext { s m O{} m }
{ \__nju_set_tokenlist:nnnnn {#1} {#2} {#3} {#4} { text } }
\cs_new_protected:Npn \__nju_set_tokenlist:nnnnn #1#2#3#4#5
{
@@ -786,8 +786,9 @@
{ \clist_use:Nn \g__nju_info_supv_clist { \__nju_hskip: } }
\clist_if_empty:NF \g__nju_info_supvii_clist
{
+ \bool_gset_true:N \g__nju_opt_supvii_bool
\tl_gput_right:Nx \g__nju_info_supvfull_tl
- { \__nju_quad: \clist_use:Nn \g__nju_info_supv_clist { \__nju_hskip: } }
+ { \__nju_quad: \clist_use:Nn \g__nju_info_supvii_clist { \__nju_hskip: } }
}
\tl_set_eq:NN \g__nju_info_supvfull_en_tl \g__nju_info_supv_en_tl
\tl_if_empty:NF \g__nju_info_supvii_en_tl
@@ -818,7 +819,7 @@
{
\__nju_loadfont_latin:n { Menlo }
\fontspec_if_small_caps:F
- {
+ {
\msg_warning:nn { njuthesis } { no-small-caps }
\__fontspec_main_setmainfont:nn
{ \c__nju_name_gyrefeature_clist } { texgyretermes }
@@ -839,13 +840,13 @@
{ texgyrecursor }
}
\clist_const:Nn \c__nju_name_gyrefeature_clist
- {
- Extension = .otf,
- UprightFont = *-regular,
- BoldFont = *-bold,
- ItalicFont = *-italic,
- BoldItalicFont = *-bolditalic
- }
+ {
+ Extension = .otf,
+ UprightFont = *-regular,
+ BoldFont = *-bold,
+ ItalicFont = *-italic,
+ BoldItalicFont = *-bolditalic
+ }
\cs_new_protected:Npn \__nju_hide_no_script_msg:
{ \msg_redirect_name:nnn { fontspec } { no-script } { info } }
\cs_new_protected:Npn \__nju_loadfont_cjk_win:
@@ -936,7 +937,7 @@
\setCJKfamilyfont { zhhei } { Noto~Sans~CJK~SC }
\setCJKfamilyfont { zhfs } { FZFangSong-Z02 }
\setCJKfamilyfont { zhkai } { FZKai-Z03 }
- [AutoFakeBold=2.17]
+ [ \c__nju_name_fakebold_tl ]
}
\cs_new_protected:Npn \__nju_loadfont_cjk_source:
{