-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.tex
90 lines (77 loc) · 2.84 KB
/
main.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
% !TEX program = xelatex
% !TeX encoding = UTF-8
% !TeX spellcheck = en_US
% !BIB program = bibtex
\documentclass[oneside]{shouthesis}
% 如果不需要双面打印时插入的空白页,可以将twoside选项改成oneside
\renewcommand{\thefigure}{\thechapter-\arabic{figure}}
\renewcommand{\thetable}{\thechapter-\arabic{table}}
% ======= 根据自己需要加载相应宏包 ==========
\usepackage{mathrsfs} % 提供mathscr: 花体
\usepackage{amsmath} % AMSLaTeX宏包 用来排出更加漂亮的公式
\usepackage{amssymb} % ams数学符号
\usepackage{physics} % 物理常用符号
\usepackage{threeparttable} % 表格加脚注
\usepackage{booktabs} % 表格,横的粗线;\specialrule{1pt}{0pt}{0pt}
\usepackage{longtable} %支持跨页的表格。
\usepackage[justification=centering]{caption}
% =================================
\setcitestyle{super} %角标格式右上
% =================================
% 定义所有的图片文件在 figures 子目录下
% 如果图片放在主目录,则可以注释下面的命令
\graphicspath{{figures/}}
% =================================
% =================================
% 论文封面需要的基本信息配置
% 注意:
% 1. '\shousetup'配置里面不要出现空行 (很重要,不然会编译出错!)
% 2. 后面带*的是相应的英文参数。比如author是中文名,author*是英文名
% =================================
\shousetup{
% 中文标题在封面上分为两行显示,分别为titleA和titleB。如果一行放得下,titleB留空白即可。
titleA = {上海海洋大学学硕士学位论文},
titleB = {\LaTeX{} 模板使用示例文档 v\version},
title* = {An Introduction to \LaTeX{} Thesis Template of Shanghai Ocean
University v\version},
% 专业
discipline = {计算机},
discipline* = {Physics},
% 姓名
author = {张三},
author* = {San Zhang},
% 指导教师,中文姓名和职称之间空格分开,下同
supervisor = {李四\ 教授},
supervisor* = {Professor Si Li},
% 日期,如果不指定则默认显示编译当月
% date = {2022年4月},
% data* = {April, 2022}
}
% =================================
\begin{document}
\maketitle
\frontmatter
% 摘要
\input{data/abstract}
\newpage
\mbox{}
\newpage
% 中文目录
\tableofcontents
\thispagestyle{empty} % 不记录页码的页面
% 正文部分
\mainmatter
% 包含章节
\input{data/intro} % 插入 intro.tex 文件内容
\input{data/chap01.tex}
\input{data/conclusion}
\clearpage
\phantomsection
\addcontentsline{toc}{chapter}{参考文献}
\bibliographystyle{gbt7714-2005-numerical}
\bibliography{ref} % 参考文献BibTeX文件名称,默认为ref.bib
% 附录,所发文章与参与项目
\input{data/appendix.tex}
% 致谢
\input{data/acknowledgements.tex}
\end{document}