JXNU-master-Templates
Author
程预敏
Last Updated
2 anni fa
License
Creative Commons CC BY 4.0
Abstract
这是江西师范大学数学与统计学院硕士研究生毕业论文的模板文件, 修正了封面页LOGO图片错误的问题, 更新了新的版权页面. 使用了ntheorem包替换amsthm以支持定理类环境, 可以在正文中使用\thref{} 命令来直接引用定理类环境.
%编译方式: 正文使用 Xelatex+biber+Xelatex+Xelatex 编译链进行全编译, 或者使用加上 Xelatex 参数的 Latexmk 指令进行编译
%如果需要使用 bibtex 进行编译, 请去掉 biblatex 宏包的引用, 并使用 \usepackage{gbt7714} 宏包. 使用该宏包无法显示 ``硕士期间发表的论文'' 这一章
%该模板建议使用 VS Code+Texlive 进行编译, 设置中加入 Latexmk 编译方式后效果最好.
\documentclass[UTF8,a4paper,twoside,zihao=-4,AutoFakeBold=2,reqno]{ctexbook}
\usepackage{mathrsfs}
\usepackage{amsmath, amssymb, amscd}%amsthm, %\usepackage{amsthm}
\usepackage{latexsym}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage[usenames,dvipsnames]{xcolor}%\usepackage[a-1b]{pdfx}
\usepackage{amsfonts}
\usepackage{bookmark}
\usepackage{hyperref}
\definecolor{tianyi}{HTML}{1A237E}
\definecolor{secondary}{HTML}{1B5E20}
\hypersetup{%下面的六行是 PDF 元数据设置, 分别是:标题, 作者, 学科(主题), 关键词和生成工具 可以按需使用或者直接删除
pdftitle = {JXNU毕业论文},
pdfauthor = {作者},
pdfsubject={Stochastic Analysis},
pdfkeywords={},
pdfcreator = {Texlive 2021},
pdfproducer = {Texlive 2021},
bookmarksopen=true,
colorlinks=true,
linkcolor=tianyi,
anchorcolor=black,
citecolor=secondary,
urlcolor=black,
bookmarksnumbered =true,
}
\let\proofname\relax
\usepackage[amsmath,thmmarks,amsthm,hyperref,thref]{ntheorem}
\usepackage[backend=biber,bibstyle=gb7714-2015,citestyle=gb7714-2015,gblocal=gb7714-2015,gbalign=gb7714-2015,block=space,url=false,doi=false,gbfieldtype = true,backref=true]{biblatex}%加载biblatex宏包, 使用参考文献, backref会显示参考文献的引用页, 这一特性可能不符合毕业论文标准, 建议在正式提交时取消.
% gbnamefmt=pinyin
%标注(引用)样式citestyle, 著录样式bibstyle都采用gb7714-2015样式
\addbibresource[location=local]{thesis.bib}%,backref=true%%其中后端backend使用biber
\usepackage{graphicx}
\usepackage{caption}
\usepackage{subfigure}
\usepackage{float}
\usepackage{tikz}
\usepackage{dsfont}
\usepackage{lipsum}
\usepackage{zhlipsum}
\usepackage[subfigure]{tocloft}
\renewcommand{\cftchapleader}{\cftdotfill{\cftdotsep}}
\renewcommand\contentsname{\zihao{3}\heiti \hspace*{\fill}目\quad 录\hspace*{\fill}}
\usepackage{fancyhdr}
\usepackage{setspace}
\usepackage{bbm}
\ctexset{
chapter={
format={\heiti\zihao{3}\centering\bfseries},%章标题格式
number={\arabic{chapter}},
afterskip={15.05625pt},
beforeskip={-30pt},%这里设置的是章标题与上页边距的距离. 默认时是比较大的. 记得自己设置
},
section={
format={\heiti\zihao{-3}\centering\bfseries},% 节标题格式
afterskip={15.05625pt},
beforeskip={7pt},
},
subsection={
format={\heiti\zihao{4}\indent},%小节标题格式
beforeskip={7pt},
afterskip={15.05625pt},
},
}
\newcommand{\nomenclatureitem}[3][ ]{%
\noindent\makebox[0.15\textwidth][l]{#2}{{#3}\hfill{#1}}\par
}
\newcommand{\Unit}[1]{\,\mathrm{#1}}
\newcommand{\norm}[1]{\left\Vert #1\right\Vert}
\newcommand{\abs}[1]{\left\vert #1\right\vert}
\newcommand{\cRed}[1]{\textcolor{red}{#1}}
%%%%%%%%%%%%%%%%%下面两个命令主要是用来盲审屏蔽作者信息的, 有需求的可以使用
\newcommand{\censor}[1]{#1}
\newcommand{\starcensor}[1]{#1}
\allowdisplaybreaks
\makeatletter
\renewtheoremstyle{plain}%
{\item[\hskip\labelsep \theorem@headerfont ##1\ ##2\theorem@separator]}%
{\item[\hskip\labelsep \theorem@headerfont ##1\ ##2\ \normalfont({##3})\theorem@separator]}
\makeatother
\theoremstyle{plain}
\theorembodyfont{\itshape}
\theoremheaderfont{\normalfont\bfseries}
\theoremseparator{\textbf{.}}
\newtheorem{theorem}{定理}[section]
\newtheorem{corollary}[theorem]{推论}
\newtheorem{proposition}[theorem]{命题}
\newtheorem{lemma}[theorem]{引理}
\newtheorem{nature}[theorem]{性质}
\newtheorem{remark}[theorem]{注记}
%\theoremstyle{definition}
\newtheorem{definition}[theorem]{定义}
\newtheorem*{remarkn}{注记}
\newtheorem{example}[theorem]{示例}
\newtheorem{Assumption}[theorem]{假定}
\newtheorem{hypothesis}[theorem]{假设}
\renewcommand{\proofname}{\indent 证明}
\renewcommand\thesection{\thechapter{}.\arabic{section}}
\renewcommand\thetable{\thechapter{}.\arabic{table}}
\renewcommand\thefigure{\thechapter{}.\arabic{figure}}
\newcommand{\headingstobeshown}{}
%%%%%%%%%%%%下面的命令会令 公式引用 随环境变化, 可按需使用
%\renewcommand{\eqref}[1]{(\ref{#1})}
\renewcommand{\bibfont}{\zihao{-4}}
\def\Box{\hfill\square}
\def \tenrm{\rm}
\def\Rnum{\mathbb{R}}
\def\Enum{\mathbb{E}}
\def\mE{\mathbb{E}}
\def\Znum{\mathbb{Z}}
\def\Nnum{\mathbb{N}}
\def\c{\hookrightarrow}
\def\cc{\hookrightarrow\hookrightarrow}
\def\m{\mbox}
\def\Pro{\mathbb{P}}
\def\mi{\mathrm{i}}
\def\me{\mathrm{e}}
\newcommand{\set}[1]{\{#1\}}
\newcommand*{\dif}{\mathop{}\!\mathrm{d}}
\newcommand{\RomanNum}[1]{\uppercase\expandafter{\romannumeral #1\relax}}
\newcommand{\etal}{\text{et al.\ }}
\makeatletter
\newcommand\dlmu[2][3.5cm]{\hskip1pt\underline{\hb@xt@ #1{\hss#2\hss}}\hskip3pt}
\makeatother
%*******************************************************************************
\numberwithin{equation}{section}
\counterwithin{figure}{section}
%\oddsidemargin=20pt \evensidemargin=0pt %\textwidth=17.1cm
%\textheight=22.5cm
\usepackage[top=2.54cm,bottom=2.54cm, left=3.17cm,right=3.17cm]{geometry}
\setlength{\headheight}{12.64723 pt}
\setlength{\parskip}{-0.1em}
% \setlength{\baselineskip}{20pt}
%*******************************************************************************
\begin{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%封面%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\include{cover}
%%%%%%%%%%%%%%%%%%%%%%%%%独创性声明%%%%%%%%%%%%%%%%%%%%%%%%%%
\include{creative}
%%%%%%%%%%%%%%%%%%%%%%%%%%%摘要%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\include{abstract}
%%%%%%%%%%%%%%%%%%%%%%%%%% 目录 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newpage
\setlength\cftbeforetoctitleskip{-35pt}
\setlength\cftaftertoctitleskip{12pt}
\tableofcontents
\cleardoublepage
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% End of Contents %%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\pagenumbering{arabic} \setcounter{page}{1}
\mainmatter
%%%%%%%%%%%%%%%%%%%%主体部分样式%%%%%%%%%%%%%%%%%%%%%%%%%%
\pagestyle{fancy}
%清除原页眉页脚样式
\fancyhf{}
%改成对应的论文名称
\fancyhead[CO]{\zihao{5}论文标题}
%硕士论文可改为对应的其他情形
\fancyhead[CE]{\zihao{5}江西师范大学硕士学位论文}
% 设置页脚, 页眉的位置上也可以放置页码
\fancyfoot[CO, CE]{\thepage}
% \fancyfoot[LO, RE]{其他信息}
% 设置页眉页脚横线及样式
%页眉线宽, 设为0可以去页眉线
\renewcommand{\headrulewidth}{1.5pt}
%页脚线宽, 设为0可以去页脚线
\renewcommand{\footrulewidth}{0mm}
%%%%%%%%%%%%%%%%%%%%%%%%%第一章%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\include{chapter1}
%%%%%%%%%%%%%%%%%%%%%%%%%第二章%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\include{chapter2}
%%%%%%%%%%%%%%%%%%%%%%%%%第三章%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\include{chapter3}
%%%%%%%%%%%%%%%%%%%%%%%%%第四章%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\include{chapter4}
% \appendix
%%------------------------------------------参考文献-------------------
% \backmatter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%参考文献%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\backmatter
\pagestyle{fancy}
\fancyhf{}
\fancyfoot[CO, CE]{\thepage}
\renewcommand{\headrulewidth}{0mm}
\renewcommand{\footrulewidth}{0mm}
% \pagenumbering{roman}
%\bibliographystyle{plain}
%\bibliography{thesis}
\phantomsection
\nocite{*}
\printbibliography[heading=bibliography,title=参考文献]
\addcontentsline{toc}{chapter}{参考文献}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%致谢%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\include{thanks}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%研究成果%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\include{pub}
\end{document}