Newer
Older
\RenewDocumentCommand \listoftables { }
{
\group_begin:
\ctexset{
chapter/format = {\centering\songti\bf\zihao{3}\selectfont},
}
\chapter*{\listtablename}
\group_end:
\addcontentsline{toc}{chapter}{\listtablename}
\vskip 20pt
\NewDocumentEnvironment{preface} { +b }
{ \chapter*{前言}
\addcontentsline{toc}{chapter}{前言} #1 }
{ \cleardoublepage }
\NewDocumentEnvironment{acknowledgement} { +b }
{ \chapter*{致谢}
\addcontentsline{toc}{chapter}{致谢} #1 }
{ \cleardoublepage }
% \changes{v0.10}{2021/09/29}{新增了成果列表页面。}
% 发表文章目录与合作文章目录。
% \begin{macrocode}
\NewDocumentCommand\njupaperlist { t* m }
{
\begin{refsection}
\nocite{#2}
\IfBooleanTF {#1}
{ \printbibliography[heading=subbibliography,title=合作文章目录] }
{ \printbibliography[heading=subbibliography,title=发表文章目录] }
\end{refsection}
}
\RequirePackage[
style=gb7714-2015,
%style=numeric-comp,
%citestyle=authortitle-icomp,
% citestyle=numeric-comp,
%bibstyle=authoryear,
% bibstyle=numeric,
sorting=none,
%sorting=nyt,
%sortcites=true,
%autocite=footnote,
backend=biber, % Compile the bibliography with biber
hyperref=true,
backref=false,
citecounter=true,
pagetracker=true,
citetracker=true,
ibidtracker=context,
autopunct=true,
autocite=plain,
% gbpub=false, % Uncomment if you do NOT want '[S.l. : s.n.]'
% in reference entries, GitHub Issue (#47)
% gbnamefmt=lowercase, % Uncomment if you do NOT want uppercase author
% names in reference entries, GitHub Issue (#23)
% \changes{v0.12}{2021/12/06}{设置输出参考文献的默认选项。}
% 设置参考文献名称
% \begin{macrocode}
\ctexset{ bibname = {参考文献} }
% \end{macrocode}
% 将参考文献插入目录
% \begin{macrocode}
\DeclarePrintbibliographyDefaults{ heading = bibintoc }
% \end{macrocode}
%
\AtEveryBibitem{
\clearfield{abstract}
\clearfield{issn}
\clearfield{isbn}
\clearfield{archivePrefix}
\clearfield{arxivId}
\clearfield{pmid}
\clearfield{eprint}
\ifentrytype{online}{}{\ifentrytype{misc}{}{\clearfield{url}}}
}
\crefname{figure}{图}{图}
\crefname{table}{表}{表}
% \crefname{equation}{公式}{公式}
\crefformat{chapter}{第#2#1#3章}
\crefformat{section}{第~#2#1#3~节}
\crefformat{subsection}{第~#2#1#3~小节}
\crefformat{subsubsection}{第~#2#1#3~小节}
\crefname{appendix}{附录}{附录}
% \crefname{definition}{定义}{定义}
% \crefname{axiom}{公理}{公理}
% \crefname{property}{性质}{性质}
% \crefname{proposition}{命题}{命题}
% \crefname{lemma}{引理}{引理}
% \crefname{corollary}{推论}{推论}
% \crefname{remark}{注解}{注解}
% \crefname{condition}{条件}{条件}
% \crefname{conclusion}{结论}{结论}
% \crefname{assumption}{假设}{假设}
{
\hypersetup
{
bookmarksnumbered = true,
psdextra = true,
unicode = true,
% \end{macrocode}
% 填写 PDF 元信息。
% \begin{macrocode}
pdftitle = \l_@@_info_title_tl,
pdfauthor = \l_@@_info_author_tl,
pdfkeywords = \l_@@_info_keywords_clist,
pdfcreator = \c_@@_name_pdf_creator_tl
}
}
\floatsetup[figure]{ % Captions for figures
capposition=bottom,%
margins=centering,%
floatwidth=\textwidth%
}
\floatsetup[table]{ % Captions for tables
capposition=above,%
margins=centering,%
floatwidth=\textwidth%
}
%
% 图表标题样式
% \begin{macrocode}
\DeclareCaptionFont{songticap}{\zihao{5}\bf\songti}
\captionsetup{
font=small,%
labelfont=songticap,
textfont=songticap,
strut=no,%
hypcap=true, % Links point to the top of the figure
% indention=0pt, % Suppress indentation
% % parindent=0pt, % Suppress space between paragraphs
aboveskip=6pt, % Increase the space between the figure and the caption
belowskip=6pt, % Increase the space between the caption and the table
}
% \end{macrocode}
\floatsetup[lstlisting]{ % Captions for lstlistings
capposition=above,%
margins=centering,%
floatwidth=\textwidth%
}
\lstset{
basicstyle=\ttfamily\linespread{1}\small\selectfont,
keywordstyle=\bfseries,% use bold style for keywords
commentstyle=\rmfamily\itshape,% use italic style for comments
stringstyle=\ttfamily,% 字符串风格
flexiblecolumns,% ?
numbers=left,% left-aligned numbering
showspaces=false,% hide markers for spaces
showstringspaces=false,
captionpos=t,% place the caption at the top
% frame=lrtb,% show all four sides of the frame
% linewidth=.8\textwidth,
% breakatwhitespace=true,
breaklines=true,
xleftmargin=2em,xrightmargin=2em,% set the width of the code environment
}
\renewcommand{\labelitemi}{\tiny$\blacktriangleright$}
\renewcommand{\labelitemii}{\textbullet}
\setlist[itemize]{noitemsep}
\setlist[enumerate]{noitemsep}
\setlist[description]{noitemsep}
%
% \begin{macro}{\mathbi}
% Math bold italic letters
% \begin{macrocode}
\declaretheoremstyle[
%spaceabove=.5\thm@preskip,
%spacebelow=.5\thm@postskip,
headfont=\bf\songti,%\scshape,
notefont=\songti,% notebraces={ (}{)},
bodyfont=\songti,
%headformat={\NAME\space\NUMBER\space\NOTE},
headpunct={},
%postheadspace={.5em plus .1em minus .1em},
%prefoothook={\hfill\qedsymbol}
]{njuthm}
\theoremstyle{njuthm}
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
\declaretheorem[
name=算法,
style=njuthm,
refname={算法,算法},
Refname={算法,算法},
% numberwithin=section,
]{algorithm}
\declaretheorem[
name=假设,
style=njuthm,
refname={假设,假设},
Refname={假设,假设},
% numberwithin=section,
]{assumption}
\declaretheorem[
name=公理,
style=njuthm,
refname={公理,公理},
Refname={公理,公理},
% numberwithin=section,
]{axiom}
\declaretheorem[
name=结论,
style=njuthm,
refname={结论,结论},
Refname={结论,结论},
% numberwithin=section,
]{conclusion}
\declaretheorem[
name=条件,
style=njuthm,
refname={条件,条件},
Refname={条件,条件},
% numberwithin=section,
]{condition}
\declaretheorem[
name=推论,
style=njuthm,
refname={推论,推论},
Refname={推论,推论},
% numberwithin=section,
]{corollary}
\declaretheorem[
name=定义,
style=njuthm,
refname={定义,定义},
Refname={定义,定义},
% numberwithin=section,
]{definition}
\declaretheorem[
name=例,
style=njuthm,
refname={例,例},
Refname={例,例},
% numberwithin=section,
]{example}
\declaretheorem[
name=引理,
style=njuthm,
refname={引理,引理},
Refname={引理,引理},
% numberwithin=section,
]{lemma}
\declaretheorem[
name=性质,
style=njuthm,
refname={性质,性质},
Refname={性质,性质},
% numberwithin=section,
]{property}
\declaretheorem[
name=命题,
style=njuthm,
refname={命题,命题},
Refname={命题,命题},
% numberwithin=section,
]{proposition}
\declaretheorem[
name=注解,
style=njuthm,
refname={注解,注解},
Refname={注解,注解},
% numberwithin=section,
]{remark}
\declaretheorem[
name=定理,
style=njuthm,
refname={定理,定理},
Refname={定理,定理},
numberwithin=section,
]{theorem}
\tl_new:N \l_@@_info_title_tl
% \end{macrocode}
% \end{variable}
% 将多行标题合并为完整标题。
% \begin{macrocode}
\tl_set:Nn \l_@@_info_title_tl
{ \l_@@_info_title_a_tl \l_@@_info_title_b_tl \l_@@_info_title_c_tl }
%
% \begin{variable}{\l_@@_info_supv_full_tl,\l_@@_info_supv_full_en_tl}
% 用于存储导师姓名加职称的变量,旧版编译器不支持字符串中含有|\hspace{.5em}|这样的空白空间命令
\tl_new:N \l_@@_info_supv_full_tl
\tl_new:N \l_@@_info_supv_full_en_tl
% \end{macrocode}
% \end{variable}
% \begin{macrocode}
\tl_set:Nn \l_@@_info_supv_full_tl
{
\l_@@_info_supv_a_tl\quad\l_@@_info_supv_a_title_tl\qquad
\l_@@_info_supv_b_tl\quad\l_@@_info_supv_b_title_tl
}
{
\l_@@_info_supv_a_title_en_tl\quad\l_@@_info_supv_a_en_tl\qquad
\l_@@_info_supv_b_title_en_tl\quad\l_@@_info_supv_b_en_tl
}
{
% 本科
\tl_const:Nn \c_@@_name_title_tl { 题\hfill 目 }
\tl_const:Nn \c_@@_cover_uline_len_a_tl { 250pt }
\tl_const:Nn \c_@@_cover_uline_len_b_tl { 90pt }
\tl_const:Nn \c_@@_cover_uline_font_tl { \songti }
\tl_const:Nn \c_@@_cover_uline_style_tl { \bf }
\tl_const:Nn \c_@@_cover_uline_bskip_tl {}
% 本科强制不打印国家图书馆封面
\bool_set_false:N \g_@@_nlcover_bool
}
{
% 本科以外都是研究生
\tl_const:Nn \c_@@_name_title_tl { 论\hfill 文\hfill 题\hfill 目 }
\tl_const:Nn \c_@@_cover_uline_len_a_tl { 250pt }
\tl_const:Nn \c_@@_cover_uline_len_b_tl { 14em }
\tl_const:Nn \c_@@_cover_uline_font_tl { \kaishu }
\tl_const:Nn \c_@@_cover_uline_style_tl {}
\tl_const:Nn \c_@@_cover_uline_bskip_tl { \hspace{1em} }
% \begin{arguments}
% \item 宽度
% \item 内容
% \end{arguments}
% 利用 \cs{tl_map_inline:nn} 在字符间插入 \tn{hfil};紧随其后的 \tn{unskip}
% 将会去掉最后一个 \tn{hfil}。见 \url{https://tex.stackexchange.com/q/169689}。
% |#2| 需要完全展开以避免 underfull 警告。
% \begin{macrocode}
\cs_new_protected:Npn \@@_spread_box:nn #1#2
{
\mode_leave_vertical:
\hbox_to_wd:nn {#1}
{ \tl_map_inline:xn {#2} { ##1 \hfil } \unskip }
}
% \end{macrocode}
% \end{macro}
% \begin{macro}{\@@_cover_uline_a:n}
% 在封面绘制下划线
\cs_new_protected:Npn \@@_cover_uline_a:n #1
{
\uline{\makebox[\c_@@_cover_uline_len_a_tl]
{\rm\c_@@_cover_uline_font_tl #1 }}
}
\cs_new_protected:Npn \@@_cover_uline_b:n #1
{
\uline{\makebox[\c_@@_cover_uline_len_b_tl]
{\rm\c_@@_cover_uline_font_tl #1 }}
}
\cs_new_protected:Npn \@@_cover_uline_nl:nn #1 #2
{
\uline{\makebox[#1]
{\rm\c_@@_cover_uline_font_tl #2 }}
}
\cs_new_protected:Npn \@@_cover_box:n #1
{
\makebox[\c_@@_cover_box_len_tl][s]{
#1\c_@@_cover_uline_bskip_tl}
}
{
{ (申请 }
\clist_item:Nn \c_@@_name_degree_clist { \g_@@_info_degree_int }
{ 学位) }
}
% \begin{macrocode}
\cs_new_protected:Npn \@@_cover_title_breakline:
{
\@@_cover_box:n {\c_@@_name_title_tl}
& \@@_cover_uline_a:n
{ \c_@@_cover_uline_style_tl \l_@@_info_title_a_tl } \\
\tl_if_empty:NF \l_@@_info_title_b_tl
{
\tl_if_empty:NTF \l_@@_info_title_c_tl
{
& \@@_cover_uline_a:n
{\c_@@_cover_uline_style_tl \l_@@_info_title_b_tl } \\
}
{
& \@@_cover_uline_a:n
{ \c_@@_cover_uline_style_tl \l_@@_info_title_b_tl } \\
& \@@_cover_uline_a:n
{ \c_@@_cover_uline_style_tl \l_@@_info_title_c_tl } \\
}
}
% \begin{macrocode}
\cs_new_protected:Npn \@@_print_covertab:
{%
{
\begin{tabular}{p{4.2em}c}
\@@_cover_box:n {院\hfill 系}
& \@@_cover_uline_a:n {\l_@@_info_dept_tl} \\
\@@_cover_box:n {专\hfill 业}
& \@@_cover_uline_a:n {\l_@@_major_tl} \\
\@@_cover_title_breakline:
\end{tabular}\\
\begin{tabular}{p{4.2em}cp{4.2em}c}
\@@_cover_box:n {年\hfill 级}
& \@@_cover_uline_b:n {\l_@@_info_grade_tl}
& \@@_cover_box:n {学\hfill 号}
& \@@_cover_uline_b:n {\l_@@_info_id_tl}\\
\end{tabular}\\
\begin{tabular}{p{4.2em}c}
\@@_cover_box:n {学\hfill 生\hfill 姓\hfill 名}
& \@@_cover_uline_a:n {\l_@@_info_author_tl}
\end{tabular}\\
\begin{tabular}{p{4.2em}cp{4.2em}c}
\@@_cover_box:n {导\hfill 师}
& \@@_cover_uline_b:n {\l_@@_info_supv_a_tl}
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
& \@@_cover_uline_b:n {\l_@@_info_supv_a_title_tl}\\
% 第二导师
\tl_if_empty:NF \l_@@_info_supv_b_tl
{
\@@_cover_box:n {第\hfill 二\hfill 导\hfill 师}
& \@@_cover_uline_b:n {\l_@@_info_supv_b_tl}
& \@@_cover_box:n {职\hfill 称}
& \@@_cover_uline_b:n {\l_@@_info_supv_b_title_tl}\\
}
\end{tabular}\\
\begin{tabular}{p{4.2em}c}
\@@_cover_box:n {提\hfill 交\hfill 日\hfill 期}
& \@@_cover_uline_a:n {\l_@@_submit_date_tl}\\
\end{tabular}
}
{
\begin{tabular}{p{6em}c}
\@@_cover_title_breakline:
\@@_cover_box:n {作\hfill 者\hfill 姓\hfill 名}
& \@@_cover_uline_a:n {\@@_spread_box:nn {4em}{\l_@@_info_author_tl}}\\
\@@_cover_box:n {专\hfill 业\hfill 名\hfill 称}
& \@@_cover_uline_a:n {\l_@@_major_tl}\\
\@@_cover_box:n {研\hfill 究\hfill 方\hfill 向}
& \@@_cover_uline_a:n {\l_@@_field_tl}\\
\@@_cover_box:n {指\hfill 导\hfill 教\hfill 师}
& \@@_cover_uline_a:n {\l_@@_info_supv_full_tl}\\
\end{tabular}
}
\hfill
\makebox[40pt][l]{密级}
\@@_cover_uline_b:n {\l_@@_info_seclv_tl}
\vskip 10pt \hskip -15mm
\@@_cover_uline_b:n {\l_@@_info_udc_tl}
}
% 中部
\vskip\stretch{2}
\begin{center}
\def\ULthickness{1pt}
{\kaishu\zihao{-0} 学\hspace{0.5em}位\hspace{0.5em}论\hspace{0.5em}文}
\kaishu\zihao{1}
\vskip \stretch{1}
\@@_cover_uline_b:n {\l_@@_info_title_a_tl}\\
\@@_cover_uline_b:n {\l_@@_info_title_b_tl}\\
\@@_cover_uline_b:n {\l_@@_info_title_c_tl}\\
\vskip \stretch{1}
{\kaishu\zihao{4}(题名和副题名)}
\vskip \stretch{1} \vskip 5mm
{\kaishu\zihao{1}\uline{\makebox{\l_@@_info_author_tl}}}
\vskip \stretch{1}
{\kaishu\zihao{4}(作者姓名)}
\end{center}
% 底部
\vskip\stretch{1}\kaishu\zihao{4}
\noindent 指导教师姓名、职务、职称、学位、单位名称及地址%
\@@_cover_uline_nl:nn {94pt}{\l_@@_info_supv_a_tl}\par
\noindent \@@_cover_uline_nl:nn {\textwidth}{%
\l_@@_info_supv_cont_tl}\par
\noindent 申请学位级别%
\@@_cover_uline_nl:nn {9em}{\clist_item:Nn \c_@@_name_degree_clist { \g_@@_info_degree_int }}%
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
\noindent 专业名称%
\uline{\hfill\l_@@_major_tl\hfill}\par
\noindent 论文提交日期%
\@@_cover_uline_nl:nn {9em}{\l_@@_submit_date_tl}%
\noindent 论文答辩日期%
\uline{\hfill\l_@@_defend_date_tl\hfill}\par
\noindent 学位授予单位和日期\uline{\hfill}\par
\begin{flushright}
答辩委员会主席:
\@@_cover_uline_nl:nn {9em}{ \l_@@_info_chairman_tl }\par
评阅人:
\@@_cover_uline_nl:nn {9em}
{ \clist_item:Nn \l_@@_info_reviewer_clist {1} }\par
\@@_cover_uline_nl:nn {9em}
{ \clist_item:Nn \l_@@_info_reviewer_clist {2} }\par
\@@_cover_uline_nl:nn {9em}
{ \clist_item:Nn \l_@@_info_reviewer_clist {3} }\par
\@@_cover_uline_nl:nn {9em}
{ \clist_item:Nn \l_@@_info_reviewer_clist {4} }\par
\end{flushright}
\begin{center}
\kaishu\zihao{3}\hspace{2em} 年\hspace{1em} 月\hspace{1em} 日
\end{center}
\vskip -10mm
% 原创性声明。
% \begin{macrocode}
\cs_new_protected:Npn \@@_print_declaration:
{
\c_@@_orig_decl_text_tl
\vfil
\begin{flushright}
{研究生签名:} \uline{\makebox[5em]{}}
{日期:} \uline{\makebox[5em]{}}
\end{flushright}
\vfil
}
% \end{macrocode}
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
{
\pdfbookmark{封面}{cover} % 将封面插入pdf书签
\begin{spacing}{1.25}
\noindent\null\hspace{-10mm}
\njuemblem[black]{!}{3cm}\smallskip
\begin{center}
\njuname[black]{!}{3.35cm}
\vskip 10mm
{\zihao{1}\bf\songti\@@_spread_box:nn {9em}{本科毕业论文}}
\vfill
\vskip\stretch{0}
{\bgroup
\kaishu\zihao{3}
\def\tabcolsep{1pt}
\def\arraystretch{1.5}
% 绘制信息框
\@@_print_covertab:
\egroup}
\vfill
\end{center}
\end{spacing}
}
\egroup
\par\vfill\vskip\stretch{0}
\bgroup
\bf\kaishu\zihao{3}
\def\tabcolsep{1pt}
\def\arraystretch{1.5}
\vskip 10mm
\@@_print_covertab:
\egroup
\bgroup
\bf\kaishu\zihao{4}\l_@@_submit_date_tl
\egroup
\vskip 15mm
\end{center}
\end{spacing}
\newpage % 封面背面
\begin{spacing}{1.625}
\makebox[6em][s]{\bf\kaishu 学\hfill 号}:\MakeUppercase{\l_@@_info_id_tl}
\makebox[6em][s]{\bf\kaishu 论文答辩日期}:\l_@@_defend_date_tl
\par
\makebox[6em][s]{\bf\kaishu 指\hfill 导\hfill 教\hfill 师}:\hspace{50mm}(签字)
\par
\egroup}
\vskip 15mm
\end{spacing}
\bf\sffamily\zihao{2}\l_@@_info_title_en_tl
\vskip \stretch{1}
\normalfont\rmfamily\zihao{4}{by}
\vskip 3pt
\bf\sffamily\zihao{4}\l_@@_info_author_en_tl
\vskip\stretch{1}
\normalfont\sffamily\zihao{4}
\l_@@_info_supv_a_title_en_tl
\hspace{.5em}\l_@@_info_supv_a_en_tl\\
\l_@@_info_supv_b_title_en_tl
\hspace{.5em}\l_@@_info_supv_b_en_tl
A~dissertation~submitted~to\\
the~graduate~school~of~Nanjing~University\\
in~partial~fulfilment~of~the~requirements~for~the~degree~of\\
\textsc{
\clist_item:Nn \c_@@_name_degree_en_clist { \g_@@_info_degree_int }
}\\
in\\
{\l_@@_major_en_tl}
}
\vskip\stretch{2}
\vskip 30pt
\normalfont\normalsize\l_@@_submit_date_en_tl
\end{center}
}
% 重定义 \cs{maketitle}。
% 如果选择了 |nlcover|,就生成用于申请学位的国家图书馆封面和原创性声明,反之生成普通封面。
\bool_if:NTF \g_@@_nlcover_bool
{ \@@_print_cover_nl: \@@_print_declaration: }
{ \use:c { @@_print_cover_ \g_@@_info_diploma_tl : } }
% \begin{macrocode}
\cleardoublepage
\pagestyle{plain}
\pagenumbering{Roman}
\normalfont\normalsize
% \begin{macro}{\@@_print_keywords:,\@@_print_keywords_en:}
\cs_new_protected:Npn \@@_print_keywords:
{
\par\vspace{2ex}
\group_begin:
\noindent \c_@@_name_keywords_tl
\clist_use:Nn \l_@@_info_keywords_clist {;}
\group_end:
}
\cs_new_protected:Npn \@@_print_keywords_en:
{
\par\vspace{2ex}
\group_begin:
\noindent \c_@@_name_keywords_en_tl\hspace{0.5em}
\clist_use:Nn \l_@@_info_keywords_en_clist {;}
\group_end:
}
% \begin{macro}{\@@_print_abstract_ug:,\@@_print_abstract_en_ug:}
% 输出本科摘要格式。
\begin{center}
\kaishu\zihao{-2}{\textbf{
\uuline{南京大学本科生毕业论文(设计、作品)中文摘要}}}
\end{center}
题目: \l_@@_info_title_tl \\
院系: \l_@@_info_dept_tl \\
专业: \l_@@_major_tl \\
本科生姓名: \l_@@_info_author_tl \\
指导教师(姓名、职称):\l_@@_info_supv_full_tl \\
摘要:
}
\cs_new_protected:Npn \@@_print_abstract_en_ug:
{
\begin{center}
\kaishu\zihao{-2}{\textbf{\uuline{
南京大学本科生毕业论文(设计、作品)英文摘要}}}
\end{center}
THESIS: ~~\l_@@_info_title_en_tl \\
DEPARTMENT: ~~\l_@@_info_dept_en_tl \\
SPECIALIZATION: ~~\l_@@_major_en_tl \\
UNDERGRADUATE:~~\l_@@_info_author_en_tl \\
MENTOR:~~\l_@@_info_supv_full_en_tl \\
ABSTRACT:
% \begin{macro}{\@@_print_abstract_g:,\@@_print_abstract_en_g:}
% 输出研究生摘要格式。
\begin{center}
\kaishu\zihao{-2}{\textbf{\uuline{
南京大学研究生毕业论文中文摘要首页用纸}}}
\end{center}
\bgroup
\noindent\kaishu\zihao{4}
毕业论文题目:\hspace{0.5em}\njuline{\l_@@_info_title_tl\hfill}\\
\njuline{\makebox[11em]{\l_@@_major_tl}}专业
\njuline{\makebox[4em]{\l_@@_info_grade_tl}}级
\int_compare:nTF { \g_@@_info_degree_int == 4} { 博 } { 硕 }
士生姓名:\njuline{\hfill\l_@@_info_author_tl\hfill}\\
指导教师(姓名、职称):\njuline{\hfill\l_@@_info_supv_full_tl\hfill}
\egroup\par
}
\cs_new_protected:Npn \@@_print_abstract_en_g:
{
\zihao{4}
THESIS: ~~\l_@@_info_title_en_tl \\
SPECIALIZATION: ~~\l_@@_major_en_tl \\
POSTGRADUATE:~~\l_@@_info_author_en_tl \\
{ \newpage \use:c { @@_print_abstract_ \g_@@_info_diploma_tl : }
\group_begin: \kaishu \zihao{-4} #1 }
{ \@@_print_keywords: \group_end: }
% \end{macrocode}
% \end{macro}
%
% \begin{macro}{abstract*}
% 英文摘要环境。\pkg{xparse} 目前不支持合并带有星号的环境,因此需要单独定义。
% \begin{macrocode}
\NewDocumentEnvironment{abstract*} { +b }
{ \newpage \use:c { @@_print_abstract_en_ \g_@@_info_diploma_tl : }
\group_begin: \zihao{-4} #1 }
{ \@@_print_keywords_en: \group_end: }