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 | 36 |
1 files changed, 19 insertions, 17 deletions
diff --git a/Master/texmf-dist/tex/latex/njuthesis/njuthesis-graduate.def b/Master/texmf-dist/tex/latex/njuthesis/njuthesis-graduate.def index 48eed109b75..0aed7c45085 100644 --- a/Master/texmf-dist/tex/latex/njuthesis/njuthesis-graduate.def +++ b/Master/texmf-dist/tex/latex/njuthesis/njuthesis-graduate.def @@ -23,11 +23,10 @@ %% To produce the documentation run the original source files ending with %% `.dtx' through XeTeX. %% -\GetIdInfo $Id: njuthesis.dtx 0.18.0 2022-05-01 12:40:00 +0800 NJU LUG <git+nju-lug-email-3104-issue-@yaoge123.cn>$ +\GetIdInfo $Id: njuthesis.dtx 0.19.0 2022-05-23 11:33:00 +0800 NJU LUG <git+nju-lug-email-3104-issue-@yaoge123.cn>$ {Graduate definition file for njuthesis} \ProvidesExplFile{njuthesis-graduate.def} {\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription} -\tl_const:Nn \c__nju_pagestyle_tl { headings } \__nju_declare_element:nn { cover / g / emblem-img } { content = \__nju_emblem:N \c__nju_emblemwidthi_dim, @@ -133,7 +132,7 @@ \__nju_declare_element:nn { cover / nl / name } { content = - \__nju_spread_box:nnV { 6 em } { } \c__nju_name_title_tl, + \__nju_spread_box:nnV { 6 em } { } \c__nju_name_title_b_tl, format = \zihao { -0 }, bottom-skip = 0 pt plus 1 fil } @@ -151,13 +150,13 @@ } \__nju_declare_element:nn { cover / nl / bottom } { - content = \__nju_cover_bottom_nl:, + content = \__nju_cover_bottom_nl:n { 4 }, bottom-skip = 1 cm, align = r } \__nju_declare_element:nn { cover / nl / date } { - content = \__nju_qquad: 年 \__nju_quad: 月 \__nju_quad: 日, + content = \g__nju_info_bottomdate_tl, format = \kaishu \zihao { 3 } } \cs_new_protected:Npn \__nju_cover_top_nl: @@ -173,7 +172,7 @@ { \parbox [ b ] { 15 em } { \__nju_uline_title: } \par \skip_vertical:n { - 0.5 cm } - { \zihao { 4 } \c__nju_name_title_b_tl } + { \zihao { 4 } \c__nju_name_subtitle_tl } \skip_vertical:N \c_zero_skip \__nju_ulined_center_box:nn { 4.5 em } { \g__nju_info_author_tl } \skip_vertical:n { - 0.5 cm } @@ -192,16 +191,15 @@ \__nju_uline_bientry:Nnnn \l__nju_tmpa_dim { major_b } { major } { } \\ \__nju_uline_bientry:Nnnn \l__nju_tmpa_dim { submitdate } { submitdate } { } \__nju_uline_bientry:Nnnn \l__nju_tmpa_dim { defenddate } { defenddate } { } \\ - \__nju_full_uline:Nn \l__nju_tmpa_dim { \c__nju_name_confer_tl } - \__nju_uline:n { \l__nju_tmpa_dim } + \__nju_uline_entry:Nnnn \l__nju_tmpa_dim { confer } { confer } { } } -\cs_new_protected:Npn \__nju_cover_bottom_nl: +\cs_new_protected:Npn \__nju_cover_bottom_nl:n #1 { - \__nju_name:n { chairman } \__nju_hskip: - \__nju_ulined_center_box:nn { 9 em } { \__nju_info:n { chairman } } \\ - \__nju_name:n { reviewer } \__nju_hskip: - \__nju_multiline_box:nnnn { \l__nju_tmp_int } - { \g__nju_info_reviewer_clist } { 4 } { 9 em } + \c__nju_name_chairman_tl \__nju_hskip: + \__nju_ulined_center_box:nn { 9 em } { \g__nju_info_chairman_tl } \\ + \c__nju_name_reviewer_tl \__nju_hskip: + \__nju_multiline_box:NNnn \l__nju_tmp_int + \g__nju_info_reviewer_clist { #1 } { 9 em } } \__nju_declare_element:nn { authdecl / g / title } { @@ -496,6 +494,7 @@ \c__nju_name_blankdate_tl ) }, { sign } { (签字) }, { submitdate } { 论文提交日期 }, + { subtitle } { (题名和副题名) }, { supv } { 导师 }, % 用于摘要的导师名称字样 { supv_a } { 指导教师(姓名、职称) }, @@ -508,7 +507,7 @@ % 用于摘要的标题名称字样 { title_a } { 题目 }, % 用于国家图书馆封面的标题名称字样 - { title_b } { (题名和副题名) }, + { title_b } { 学位论文 }, % 用于出版授权书的标题名称字样 { title_c } { 论文题名 }, { udc } { U D C }, @@ -521,10 +520,12 @@ { \c__nju_name_nju_tl \g__nju_info_type_tl 中文摘要首页用纸 } { \c__nju_name_nju_tl \g__nju_info_type_tl 英文摘要首页用纸 }, { author } { 作者姓名 } { POSTGRADUATE }, - { major } { 专业方向 } { SPECIALIZATION }, + { major } { 专业名称 } { SPECIALIZATION }, { supvfull } { 指导教师 } { MENTOR } } { \__nju_define_name:nnn #1 } +\int_compare:nT { \g__nju_info_degree_int == 3 } + { \njusetname{major}{专业学位类别(领域)} } \tl_const:Nn \c__nju_text_origdecl_tl { 本人郑重声明,所提交的学位论文是本人在导师指导下独立进行科学研究工作所 @@ -575,7 +576,8 @@ { \__nju_define_dim:nn #1 } \clist_map_inline:nn { - { section } { \large \normalfont \sffamily }, + { pagestyle } { headings }, + { section } { \large \sffamily }, { chapter } { \c__nju_fmt_section_tl \centering }, { chapterintoc } { \c__nju_fmt_section_tl }, { subsection } { \c__nju_fmt_section_tl }, |