中国人民大学本硕博毕业论文LaTeX模板
Author
ZebinWang
Last Updated
há 6 meses
License
Creative Commons CC BY 4.0
Abstract
本模板传承自实验室师兄,个人追踪来源推测出处为https://github.com/ZebinWang/ructhesis。
% XeLaTeX can use any Mac OS X font. See the setromanfont command below.
% Input to XeLaTeX is full Unicode, so Unicode characters can be typed directly into the source.
% The next lines tell TeXShop to typeset with xelatex, and to open and save the source with Unicode encoding.
%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
\documentclass[a4paper,master]{ructhesis}
%自添宏包
\usepackage{skak}%国际象棋
\usepackage{subfigure}%子图http://www.ctex.org/documents/latex/graphics/node111.html
\usepackage{chemfig}%化学式
\usetikzlibrary{trees}
\usepackage{algorithm}
\usepackage{algorithmicx}
\usepackage{algpseudocode}
\usepackage{float}
\usepackage{makecell}
\usepackage{listings}
\usepackage{xcolor}
\usepackage[section]{placeins}
\usepackage{url}
\usepackage[backend=biber,bibstyle=gb7714-2015,gbnamefmt=lowercase,gbpub=false]{biblatex}
\addbibresource{ref/test.bib}
\newcommand{\upcite}[1]{\textsuperscript{\textsuperscript{\cite{#1}}}}
% list figure and table name
\renewcommand{\listfigurename}{图目录}
\renewcommand{\listtablename}{表目录}
\floatname{algorithm}{算法}
\counterwithin{algorithm}{chapter}
\renewcommand{\algorithmicrequire}{\textbf{输入:}}
%Use Input in the format of Algorithm
\renewcommand{\algorithmicensure}{\textbf{输出:}}
%UseOutput in the format of Algorithm
\algnewcommand\algorithmicforeach{\textbf{for each}}
\algdef{S}[FOR]{ForEach}[1]{\algorithmicforeach\ #1\ \algorithmicdo}
%将封面信息补全,相关专业名称过长的请在文字前添加命令\ziju{-0.15}
%文头
% \sign{中国人民大学本科毕业论文}
\sign{中国人民大学硕士学位论文}
%\sign{博士学位论文}
%以下信息本科研究生都需要补全
\title{中国人民大学LaTeX模板}%论文题名
\author{XXX}%作者
\school{XX学院}%学院
\field{XXXX}%专业
\studentid{2012202000}%学号
\advisor{XXX}%指导老师
\date{20XX年XX月XX日}
%以下本科填写
\grade{}%年级
\score{4.0}%成绩
\thesiscode{论文编码:RUC-BK-专业代码}%论文编码
\subtitle{}%论文副题名,没有不填写
%以下研究生填写
\etitle{LaTeX template of Renmin university of China}%英文题目
\keywords{\TeX{}}%论文主题词
%摘要关键词
\keywordzh{中文摘要关键词}%中文摘要关键词
\keyworden{English\qquad template}%英文摘要关键词
%
\begin{document}
%扉页
\maketitle
%覆盖plain页眉格式,使chapter首页也有页眉
\fancypagestyle{plain}{
\pagestyle{fancy}
}
%独创性声明
\originality
%授权书在这插入
\authorization{figures/shouquan.png}
%中文摘要
\pagestyle{fancy}
\include{format/cabstractpage}
%英文摘要
\include{format/eabstractpage}
\frontmatter
%正文目录
\pagenumbering{arabic}
\tableofcontents
%插图目录
{\renewcommand{\addvspace}[1]{} \listoffigures}
%表格目录
{\renewcommand{\addvspace}[1]{} \listoftables}
\mainmatter\clearpage
\pagestyle{newformat}
%正文章节
\include{chap/chapter1}
\include{chap/chapter2}
\include{chap/chapter3}
\input{chap/chapter4}%要插入本科签名的最后一个章节,插入命令使用\input{}
%本科签名
%\autograph
%参考文献
\cleardoublepage
\addcontentsline{toc}{chapter}{参考文献}
\printbibliography
%附录
\appendix
\include{chap/appendix_1}
%致谢
\include{format/acknowledge}
\end{document}