![[天津科技大学][TUST]2023本科生毕业论文](https://writelatex.s3.amazonaws.com/published_ver/29424.jpeg?X-Amz-Expires=14400&X-Amz-Date=20230528T172804Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20230528/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=2d6a0086c9283348e2dd31775e697ddad18fa5d4fe272475bf386397f648d09e)
[天津科技大学][TUST]2023本科生毕业论文
Author
Jianzheng Liu
Last Updated
8 days ago
License
Creative Commons CC BY 4.0
Abstract
基于天津大学本科生毕业论文模板修改
![[天津科技大学][TUST]2023本科生毕业论文](https://writelatex.s3.amazonaws.com/published_ver/29424.jpeg?X-Amz-Expires=14400&X-Amz-Date=20230528T172804Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20230528/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=2d6a0086c9283348e2dd31775e697ddad18fa5d4fe272475bf386397f648d09e)
% !Mode:: "TeX:UTF-8"
% !TEX program = xelatex
%此模版以天津大学本科生毕业论文模板为基础,保留了原有的文件名和内容注释,由天津科技大学刘建征进行了修改,2023.5.20
%%%%%%%%%% Port for macOS %%%%%%%%%%%
% Modified: Qin Yubo
\def\usewhat{xelatex}
\documentclass[12pt,openany,oneside]{ctexbook}
% 本科生毕业论文通常采用单页排版
\input{setup/package} % 定义本文所使用宏包
\graphicspath{{figures/}} % 定义所有的图像文件在 figures 子目录下
%定义小节编号
\begin{document} % 开始全文
\input{setup/format} % 完成对论文各个部分格式的设置
\frontmatter % 以下是论文导言部分,包括论文的封面,中英文摘要和中文目录
\fancypagestyle{plain}{
\fancyhf{}
\renewcommand{\headrulewidth}{0 pt}
\fancyfoot[C]{\song\xiaowu~\thepage~}
}
% 直接从 Word 模板生成封面导出 pdf 似乎更方便
\input{preface/cover} % 封面
%%%%%%%%%% 目录 %%%%%%%%%%
\defaultfont
\clearpage{\pagestyle{empty}\cleardoublepage}
\setcounter{page}{1} % 单独从 1 开始编页码
\pagenumbering{arabic}
\titleformat{\chapter}{\centering\sanhao\hei}{\chaptername}{2em}{} % 设置目录两字的格式
\pdfbookmark[0]{目~~录}{mulu}
\tableofcontents % 中文目录
\fancypagestyle{plain}{
\fancyhf{}
\renewcommand{\headrulewidth}{0 pt}
\fancyfoot[C]{\song\xiaowu~\thepage~}
}
\thispagestyle{plain}
\mainmatter\defaultfont\sloppy\raggedbottom
\makeatletter
\fancypagestyle{plain}{ % 设置开章页眉页脚风格
\fancyhf{}
\fancyhead[C]{\song\wuhao \@cheading} % 首页页眉格式
\fancyfoot[C]{\song\xiaowu ~\thepage~} % 首页页脚格式
\renewcommand{\headrulewidth}{0.5pt}
\renewcommand{\footrulewidth}{0pt}
}
\makeatother
\setcounter{page}{1} % 单独从 1 开始编页码
\titleformat{\chapter}{\centering\xiaosan\hei}{\chaptername}{2em}{} % 恢复chapter标题格式要求
%%%%%%%%% 正文 %%%%%%%%%
\include{body}
%%%%%%%%%% 参考文献 %%%%%%%%%%
\defaultfont
\bibliographystyle{references/ref.buk}
\phantomsection
\markboth{参考文献}{参考文献}
\addcontentsline{toc}{chapter}{参考文献} % 参考文献加入到中文目录
\nocite{*} % 若将此命令屏蔽掉,则未引用的文献不会出现在文后的参考文献中
\bibliography{references/reference}
\titleformat{\chapter}{\centering\sihao\hei}{\chaptername}{2em}{}
%\include{appendix/paperInEnglish} % 外文资料
%\include{appendix/paperInChinese} % 中文译文
\include{appendix/acknowledgements} % 致谢
\clearpage
\end{document} % 结束全文