Code owners
Assign users and groups as approvers for specific file changes. Learn more.
njuthesis-sample.tex 4.28 KiB
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% NJU Thesis
% 南京大学毕业论文LaTeX模板
% Version 0.9.1 (2021-09-16)
%
% 请关注项目地址以获取最新变化
% https://github.com/nju-lug/NJUThesis
% https://git.nju.edu.cn/nju-lug/nju-latex-templates/njuthesis
% https://ctan.org/pkg/njuthesis
%
% 贡献者
% Yu XIONG @atxy-blip Yichen ZHAO @FengChendian
% Song GAO @myandeg Chang MA @glatavento
% Yilun SUN @HermitSun Yinfeng LIN @linyinfeng
%
% 许可证
% LaTeX Project Public License(版本 1.3c 或更高)
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[
degree=phd,% 默认本科(ug), mg: 学硕, mf: 专硕, phd: 博士
type=thesis,% thesis: 毕业论文,design: 毕业设计
nlcover=true,% 需要国家图书馆封面,对本科无效
% 若以下两项不设置则自动调用系统预装字体
% customlatinfont=windows,% 设置英文字符集
% customchinesefont=windows,% 设置中文字符集
]{njuthesis}
% 设置个人信息
\njusetup {
% 本科生无需填写的项目已被特别标注
% 注意英文题目必须使用大括号,或者将空格替换为波浪线
% 注意不要有空行,否则可能报错
info = {
% 题目
TitleA = 一种使用南京大学\hologo{LaTeX}模版,
TitleB = 编写毕业论文的经验性方法, % 没有第二行就留空
TitleC = (内容已经过时,详见说明手册), % 没有第三行就留空
Title* = {An Empirical Way of Composing Thesis with NJU \hologo{LaTeX} Template},
% 姓名学号
Grade = 2018,
StudentID = 189114514, % dz18114514,
StudentName = 周煜华,
StudentName* = Zhou~Yuhua,
% 院系专业
Department = 拉太赫科学与技术学院,
Department* = School~of~\hologo{LaTeX},
Major = 拉太赫语言学,
Major* = \hologo{LaTeX}~Linguistics,
Field = 拉太赫语言在现当代的使用, % 研究生项
Field* = Contemporary~Usage~of~the~\hologo{LaTeX}~Language, % 研究生项
% 导师
SupervisorA = 李成殿,
SupervisorA*= Li~Chengdian,
SupervisorATitle = 教授,
SupervisorATitle* = Professor,
% 第二导师,如无则留空
% SupervisorB = 孙赫弥,
% SupervisorB* = Sun~Hemi,
% SupervisorBTitle = 副教授,
% SupervisorBTitle* = Associate professor,
% 提交日期
SubmitDate = 2021年8月10日,
SubmitDate* = {Aug 10, 2021}, % 研究生项
% 答辩,均为研究生项
DefendDate = 2021年9月19日,
ReviewerChairman = 张晓山~教授,
ReviewerA = 王瑞希~教授,
ReviewerB = 郭德纲~副教授,
ReviewerC = 华芈库~教授,
ReviewerD = 戴菲菲~教授,
% 国家图书馆封面相关,均为研究生项
Classification = 0175.2,
SecurityLevel = 限制,
UDC = 004.72,
SupervisorContact = {拉太赫科学与技术学院 枝江市结丘路 19 号 114514},
}
}
% 导入参考文献源
\addbibresource{njuthesis.bib}
\begin{document}
%-------------------------------------------------
% 封面、摘要、前言和目录
%-------------------------------------------------
\maketitle
\input{chapters/Abstract.tex}
\input{chapters/Preface.tex}
\tableofcontents % 生成目录
\listoffigures % 生成图片清单
\listoftables % 生成表格清单
%-------------------------------------------------
% 正文部分
%-------------------------------------------------
\mainmatter
\input{chapters/Introduction.tex}
\input{chapters/Environments.tex}
\input{chapters/Layout.tex}
\input{chapters/FigTabCode.tex}
\input{chapters/Mathematics.tex}
\input{chapters/Reference.tex}
\input{chapters/Bibliography.tex}
%-------------------------------------------------
% 参考文献
%-------------------------------------------------
\printbibliography[
heading=bibintoc,% 插入目录条目
title=参考文献]
%-------------------------------------------------
% 致谢
%-------------------------------------------------
\input{chapters/Acknowledgement.tex}
%-------------------------------------------------
% 附录部分
%-------------------------------------------------
\appendix
\input{chapters/Standard.tex}
\end{document}