Newer
Older
section/format = \@@_sec_title_style:,
subsection/format = \@@_sec_title_style:,
subsubsection/format = \@@_sec_title_style:
}
\ctexset
{
contentsname = {目录},
listfigurename = {插图清单},
listtablename = {表格清单},
}
% \begin{macrocode}
\cftsetpnumwidth{2em}
\renewcommand{\cftchapleader}{\cftdotfill{\cftchapdotsep}}
\renewcommand{\cftchapdotsep}{\cftdotsep}
\setlength{\cftsecindent}{2em}
\setlength{\cftsubsecindent}{52pt}
\setlength{\cftsubsecnumwidth}{2em}
% \end{macrocode}
%
% \begin{macro}{\@@_toc_title_style:}
% 目录页单独设置三号粗宋体标题。
% \begin{macrocode}
\cs_new_protected:Npn \@@_toc_title_style:
{ \centering \songti \bf \zihao{3} \selectfont }
% \end{macrocode}
% \end{macro}
%
\RenewDocumentCommand \tableofcontents { }
{
\raggedbottom
\group_begin:
\ctexset
{ contentsname = {目\hspace{2em}录},
chapter/format = \@@_toc_title_style: }
\chapter*{\contentsname}
\group_end:
\addcontentsline{toc}{chapter}{\contentsname}
\vskip 20pt
\@starttoc{toc}
}
\RenewDocumentCommand \listoffigures { }
{
\group_begin:
\chapter*{\listfigurename}
\group_end:
\addcontentsline{toc}{chapter}{\listfigurename}
\vskip 20pt
\@starttoc{lof}
}
\RenewDocumentCommand \listoftables { }
{
\group_begin:
\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 }
{ \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}}}
}
{
\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
}
}
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
% 修改 \pkg{cleverref} 的标签名称。默认在名称后面添加空格,删除公式编号的括号
% \begin{macrocode}
\crefdefaultlabelformat{#2#1#3\,}
\crefname { figure } { 图 } { 图 }
\crefname { table } { 表 } { 表 }
\crefname { appendix } { 附录 } { 附录 }
\crefformat { equation } { 公式~#2#1#3~ }
\crefformat { chapter } { 第#2#1#3章 }
\crefformat { section } { 第~#2#1#3~节 }
\crefformat { subsection } { 第~#2#1#3~小节 }
\crefformat { subsubsection } { 第~#2#1#3~小节 }
% \crefname{assumption}{假设}{假设}
% \crefname{axiom}{公理}{公理}
% \crefname{conclusion}{结论}{结论}
% \crefname{condition}{条件}{条件}
% \crefname{corollary}{推论}{推论}
% \crefname{definition}{定义}{定义}
% \crefname{lemma}{引理}{引理}
% \crefname{property}{性质}{性质}
% \crefname{proposition}{命题}{命题}
% \crefname{remark}{注解}{注解}
% \end{macrocode}
%
% 设置默认图片扩展名,允许在不键入扩展名时自动进行补全。
% \begin{macrocode}
\DeclareGraphicsExtensions{.pdf,.eps,.jpg,.png}
% \end{macrocode}
% \changes{v0.12}{2021/12/06}{删除了可能导致冲突的 \pkg{floatrow}。}
\DeclareCaptionStyle{njucap}
{
font = small,
labelfont = bf,
labelsep = quad,
justification = centering
}
\captionsetup [ figure ] { style = njucap }
\captionsetup [ table ] { style = njucap }
% 使用 \pkg{listings} 提供的 \tn{lstset} 设置代码环境基本样式。
% \begin{macrocode}
\lstset
{
basewidth = 0.5 em,
lineskip = 3 pt,
basicstyle = \small\ttfamily,
keywordstyle = \bfseries,
commentstyle = \itshape,
numbers = left,
captionpos = t,
breaklines = true,
xleftmargin = 2 em,
xrightmargin = 2 em,
flexiblecolumns
}
%
%
% \subsubsection{列表环境}
% \changes{v0.12}{2021/12/07}{删除了 \pkg{enumitem} 的部分列表环境设置。}
%
% \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}
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
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
\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}
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
& \@@_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 }}%
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
\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}
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
{
\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: }