diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/njuthesis/njuthesis-graduate.def')
-rw-r--r-- | Master/texmf-dist/tex/latex/njuthesis/njuthesis-graduate.def | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/njuthesis/njuthesis-graduate.def b/Master/texmf-dist/tex/latex/njuthesis/njuthesis-graduate.def index 87a970d39c7..6b96701f2ea 100644 --- a/Master/texmf-dist/tex/latex/njuthesis/njuthesis-graduate.def +++ b/Master/texmf-dist/tex/latex/njuthesis/njuthesis-graduate.def @@ -6,7 +6,7 @@ %% %% njuthesis.dtx (with options: `def-g') %% -%% Copyright (C) 2021 - 2022 +%% Copyright (C) 2021 - 2023 %% by Nanjing University Linux User Group %% <git+nju-lug-email-3104-issue-@yaoge123.cn> %% @@ -23,7 +23,7 @@ %% To produce the documentation run the original source files ending with %% `.dtx' through XeTeX. %% -\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>$ {Graduate definition file for njuthesis} \ProvidesExplFile{njuthesis-graduate.def} @@ -139,7 +139,8 @@ \skip_vertical:n { .5 cm } { Supervised~ by } \skip_vertical:N \c_zero_skip - \textsf { \g__nju_info_supvfull_en_tl }, + \textsf { \g__nju_info_supv_en_tl + \tex_par:D \g__nju_info_supvii_en_tl }, format = \zihao { 4 }, bottom-skip = 0 pt plus 1.2 fil } @@ -337,7 +338,7 @@ \c__nju_name_email_tl & \g__nju_info_email_tl \\ \c__nju_name_supvb_tl & \clist_item:Nn \g__nju_info_supv_clist { 1 } - \bool_if:NT \g__nju_opt_second_supv_bool + \bool_if:NT \g__nju_opt_supvii_bool { \__nju_quad: \clist_item:Nn \g__nju_info_supvii_clist { 1 } } \\ \end{tblr} } @@ -480,8 +481,15 @@ } \cs_new_protected:Npn \__nju_abs_info_en_g:N #1 { - \clist_map_inline:nn { title, major, author, supvfull } - { \__nju_name:n { ##1 _en } #1 \__nju_info:n { ##1 _en } \\ } + \__nju_uline_list:NNx \g__nju_info_title_en_tl \g__nju_abs_title_left_skip + { \c__nju_name_title_en_tl #1 } + \clist_map_inline:nn { major, author, supvfull } + { + \tex_par:D + \__nju_get_width_print:Nx \l__nju_tmpa_dim + { \__nju_name:n { ##1 _en } #1 } + \__nju_box_ulined_info:Nn \l__nju_tmpa_dim { ##1 _en } + } } \cs_new_protected:Npn \__nju_make_abstract: { |