diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/njuthesis/njuthesis-undergraduate.def')
-rw-r--r-- | Master/texmf-dist/tex/latex/njuthesis/njuthesis-undergraduate.def | 24 |
1 files changed, 19 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/njuthesis/njuthesis-undergraduate.def b/Master/texmf-dist/tex/latex/njuthesis/njuthesis-undergraduate.def index 590a83fc8c6..bdbf15f9ae5 100644 --- a/Master/texmf-dist/tex/latex/njuthesis/njuthesis-undergraduate.def +++ b/Master/texmf-dist/tex/latex/njuthesis/njuthesis-undergraduate.def @@ -23,7 +23,7 @@ %% To produce the documentation run the original source files ending with %% `.dtx' through XeTeX. %% -\GetIdInfo $Id: njuthesis.dtx 0.16.0 2022-03-19 12:00:00 +0800 NJU LUG <git+nju-lug-email-3104-issue-@yaoge123.cn>$ +\GetIdInfo $Id: njuthesis.dtx 0.16.1 2022-03-27 13:00:00 +0800 NJU LUG <git+nju-lug-email-3104-issue-@yaoge123.cn>$ {Undergraduate definition file for njuthesis} \ProvidesExplFile{njuthesis-undergraduate.def} {\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription} @@ -99,8 +99,8 @@ { content = \__nju_abs_info_ug:nn { } { : }, format = \zihao { -4 } \kaishu, - align = l, - bottom-skip = 1 cm + bottom-skip = 1 cm, + align = l } \__nju_declare_element:nn { abstract / en / title } { @@ -112,8 +112,8 @@ { content = \__nju_abs_info_ug:nn { _en } { :~ }, format = \zihao { -4 }, - align = l, - bottom-skip = 1 cm + bottom-skip = 1 cm, + align = l } \cs_new_protected:Npn \__nju_abs_info_ug:nn #1#2 { @@ -126,6 +126,18 @@ { \__nju_name:n { ##1 #1 } #2 \__nju_info:n { ##1 #1 } \\ } \__nju_name:n { abstract #1 } #2 } +\__nju_declare_element:nn { abstract / mark } + { + content = \c__nju_name_abstract_b_tl, + format = \sffamily \zihao { -3 }, + bottom-skip = 1 cm + } +\__nju_declare_element:nn { abstract / en / mark } + { + content = \c__nju_name_abstract_b_en_tl, + format = \sffamily \zihao { -3 }, + bottom-skip = 1 cm + } \cs_new_protected:Npn \__nju_make_abstract: { \UseInstance { nju } { abstract / title } @@ -154,6 +166,8 @@ { abstract } { 摘要 } { ABSTRACT }, % 用于书签的摘要名称字样 { abstract_a } { 中文摘要 } { ABSTRACT }, + % 用于小标题的摘要名称字样 + { abstract_b } { 摘\qquad{}要 } { ABSTRACT }, { appendix } { 附录 } { appendix }, { dept } { 院系 } { DEPARTMENT }, { figure } { 图 } { figure }, |