summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/njuthesis/njuthesis-postdoctoral.def
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/njuthesis/njuthesis-postdoctoral.def')
-rw-r--r--Master/texmf-dist/tex/latex/njuthesis/njuthesis-postdoctoral.def67
1 files changed, 33 insertions, 34 deletions
diff --git a/Master/texmf-dist/tex/latex/njuthesis/njuthesis-postdoctoral.def b/Master/texmf-dist/tex/latex/njuthesis/njuthesis-postdoctoral.def
index 7150de4a320..4fd12af3b1a 100644
--- a/Master/texmf-dist/tex/latex/njuthesis/njuthesis-postdoctoral.def
+++ b/Master/texmf-dist/tex/latex/njuthesis/njuthesis-postdoctoral.def
@@ -6,7 +6,7 @@
%%
%% njuthesis.dtx (with options: `def-p')
%%
-%% Copyright (C) 2021 - 2023
+%% Copyright (C) 2021 - 2024
%% 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.3.2 2023-12-05 16:30:00
+\GetIdInfo $Id: njuthesis.dtx 1.4.0 2024-03-19 20:30:00
+0800 NJU LUG <git+nju-lug-email-3104-issue-@yaoge123.cn>$
{Postdoctoral definition file for njuthesis}
\ProvidesExplFile{njuthesis-postdoctoral.def}
@@ -31,33 +31,32 @@
\__nju_declare_element:nn { p / cover / name-img }
{
- content = \__nju_name:N \c__nju_namewd_dim,
+ content = \__nju_name:N \l__nju_namewd_dim,
bottom-skip = 40 pt
}
\__nju_declare_element:nn { p / cover / report }
{
- content = \c__nju_name_report_tl,
+ content = \l__nju_name_report_tl,
format = \zihao { 0 } \sffamily,
bottom-skip = 40 pt plus 1.5 fil
}
\__nju_declare_element:nn { p / cover / title }
{
content =
- \c__nju_name_title_tl
- \c__nju_name_colon_tl
+ \l__nju_name_title_tl
+ \l__nju_name_colon_tl
\g__nju_info_title_tl,
format = \zihao { 4 },
bottom-skip = 80 pt
}
\__nju_declare_element:nn { p / cover / info }
{
- content =
- \__nju_p_cover_info:NN
- \c__nju_clabelwd_dim
- \c__nju_fmt_coverlabel_tl,
+ content = \__nju_p_cover_info:,
format = \zihao { -4 },
bottom-skip = 0 pt
}
+\cs_new:Npn \__nju_p_cover_info:
+ { \__nju_p_cover_info:NN \l__nju_clabelwd_dim \l__nju_fmt_coverlabel_tl }
\cs_new_protected:Npn \__nju_p_cover_info:NN #1#2
{
\clist_set:Nn \l__nju_tmp_clist
@@ -65,21 +64,21 @@
\__nju_get_max_width:NN \l__nju_tmpb_dim \l__nju_tmp_clist
\clist_map_inline:Nn \l__nju_tmp_clist
{
- \__nju_box_spread_name:NNn #1 #2 { ##1 }
- \c__nju_name_colon_tl
- \__nju_box_center:Nn \l__nju_tmpb_dim { \__nju_info:n { ##1 } }
+ \__nju_box_spread_name:NNn #1 #2 {##1}
+ \l__nju_name_colon_tl
+ \__nju_box_center:Nn \l__nju_tmpb_dim { \__nju_info:n {##1} }
\tex_par:D
}
}
\__nju_declare_element:nn { p / decl / orig / title }
{
- content = \c__nju_name_origdecl_tl,
- format = \c__nju_fmt_chapter_tl,
- bottom-skip = \c__nju_chapterafter_dim
+ content = \l__nju_name_origdecl_tl,
+ format = \l__nju_fmt_chapter_tl,
+ bottom-skip = \l__nju_chapterafter_dim
}
\__nju_declare_element:nn { p / decl / orig / text }
{
- content = \c__nju_text_origdecl_tl,
+ content = \l__nju_text_origdecl_tl,
align = n,
bottom-skip = 2 cm
}
@@ -90,13 +89,13 @@
}
\__nju_declare_element:nn { p / decl / auth / title }
{
- content = \c__nju_name_authdecl_tl,
- format = \c__nju_fmt_chapter_tl,
- bottom-skip = \c__nju_chapterafter_dim
+ content = \l__nju_name_authdecl_tl,
+ format = \l__nju_fmt_chapter_tl,
+ bottom-skip = \l__nju_chapterafter_dim
}
\__nju_declare_element:nn { p / decl / auth / text }
{
- content = \c__nju_text_authdecl_tl,
+ content = \l__nju_text_authdecl_tl,
align = n,
bottom-skip = 2 cm
}
@@ -109,8 +108,8 @@
}
\cs_new_protected:Npn \__nju_p_decl_sign:nn #1#2
{
- \__nju_name:n {#1} \c__nju_name_colon_tl \tex_hfill:D
- \__nju_name:n {#2} \c__nju_name_colon_tl
+ \__nju_name:n {#1} \l__nju_name_colon_tl \tex_hfill:D
+ \__nju_name:n {#2} \l__nju_name_colon_tl
\skip_horizontal:n { 160 pt } \__nju_null: \__nju_vskip:
}
\__nju_declare_page:nn { cover-p }
@@ -130,7 +129,7 @@
prefix = p / decl /,
bm-text = 声明页,
bm-name = decl,
- top-skip = \c__nju_chapterbefore_dim,
+ top-skip = \l__nju_chapterbefore_dim,
bottom-skip = 0 pt
}
\cs_new_protected:Npn \__nju_make_cover:
@@ -160,13 +159,13 @@
}
\__nju_declare_element:nn { abstract / mark }
{
- content = \c__nju_name_abstractb_tl,
+ content = \l__nju_name_abstractb_tl,
format = \sffamily \zihao { -3 },
bottom-skip = 15 pt
}
\__nju_declare_element:nn { abstract / en / mark }
{
- content = \c__nju_name_abstractb_en_tl,
+ content = \l__nju_name_abstractb_en_tl,
format = \sffamily \zihao { -3 },
bottom-skip = 15 pt
}
@@ -227,14 +226,14 @@
{ table } { 表 } { table },
}
{ \__nju_define_name:nnn #1 }
-\tl_const:Nn \c__nju_text_origdecl_tl
+\tl_set:Nn \l__nju_text_origdecl_tl
{
本人郑重声明:所呈交的研究报告,是本人独立进行研究工作所取得的成果。除
文中已经注明引用的内容外,本报告不含任何其他个人或集体已经发表或撰写过
的作品成果。对本报告的研究做出重要贡献的个人和集体,均已在报告中以明确
方式标明。本人完全意识到本声明的法律结果由本人承担。
}
-\tl_const:Nn \c__nju_text_authdecl_tl
+\tl_set:Nn \l__nju_text_authdecl_tl
{
本研究报告作者完全了解南京大学有关保留和使用该报告的规定,即:博士后在
职期间的知识产权单位属南京大学。学校有权保留并向国家有关部门或机构送交
@@ -267,12 +266,12 @@
{ emblem color } { black },
{ name color } { black },
{ section } { \bigger \normalfont \sffamily },
- { chapter } { \c__nju_fmt_section_tl \centering },
- { subsection } { \c__nju_fmt_section_tl },
- { subsubsection } { \c__nju_fmt_section_tl },
- { paragraph } { \c__nju_fmt_section_tl },
- { subparagraph } { \c__nju_fmt_section_tl },
- { chapterintoc } { \c__nju_fmt_section_tl },
+ { chapter } { \l__nju_fmt_section_tl \centering },
+ { subsection } { \l__nju_fmt_section_tl },
+ { subsubsection } { \l__nju_fmt_section_tl },
+ { paragraph } { \l__nju_fmt_section_tl },
+ { subparagraph } { \l__nju_fmt_section_tl },
+ { chapterintoc } { \l__nju_fmt_section_tl },
{ tabular } { \zihao { 5 } },
{ toc title } { \centering \zihao { 3 } \bfseries },
{ header } { \small \kaishu },