-
Notifications
You must be signed in to change notification settings - Fork 2
/
Thesis.tex
142 lines (124 loc) · 5.33 KB
/
Thesis.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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
%---------------------------------------------------------------------------%
%- -%
%- LaTeX Template -%
%- -%
%---------------------------------------------------------------------------%
%- Copyright (C) Huangrui Mo <huangrui.mo@gmail.com>
%- This is free software: you can redistribute it and/or modify it
%- under the terms of the GNU General Public License as published by
%- the Free Software Foundation, either version 3 of the License, or
%- (at your option) any later version.
%---------------------------------------------------------------------------%
%->> Document class declaration
%---------------------------------------------------------------------------%
\documentclass[oneside]{Style/ucasthesis}%
%- Multiple optional arguments:
%- [<oneside|twoside|print>]% oneside eprint, twoside eprint, or paper print
%- [fontset=<adobe|none|...>]% specify font set instead of automatic detection
%- [scheme=plain]% thesis writing of international students
%- [draftversion]% show draft version information
%- [standard options for ctex book class: draft|paper size|font size|...]%
%---------------------------------------------------------------------------%
%->> Document settings
%---------------------------------------------------------------------------%
\usepackage[super,list]{Style/artratex}%
\usepackage{titletoc}
%- usage: \usepackage[option1,option2,...,optionN]{artratex}
%- Multiple optional arguments:
%- [bibtex|biber]% set bibliography processor and package
%- [<numbers|super|authoryear|alpha>]% set citation and reference style
%- <numbers>: textual: Jones [1]; parenthetical: [1]
%- <super>: textual: Jones superscript [1]; parenthetical: superscript [1]
%- <authoryear>: textual: Jones (1995); parenthetical: (Jones, 1995)
%- <alpha>: textual: not available; parenthetical: [Jon95]
%- [geometry]% reconfigure page layout via geometry package
%- [lscape]% provide landscape layout environment
%- [xhf]% disable header and footer via fancyhdr package
%- [color]% provide color support via xcolor package
%- [background]% enable page background
%- [tikz]% provide complex diagrams via tikz package
%- [table]% provide complex tables via ctable package
%- [list]% provide enhanced list environments for algorithm and coding
%- [math]% enable some extra math packages
%- [xlink]% disable link colors
\usepackage{Style/artracom}% user defined commands
\usepackage{pdfpages}
\usepackage{multirow}
\usepackage{ctex}
\setCJKfamilyfont{myfont}{BabelStone Han}
\newcommand{\MyFont}{\CJKfamily{myfont}}
%---------------------------------------------------------------------------%
%->> Document inclusion
%---------------------------------------------------------------------------%
%\includeonly{Tex/Chap_1,...,Tex/Chap_N}% selected files compilation
%---------------------------------------------------------------------------%
%->> Document content
%---------------------------------------------------------------------------%
%-
%-> Titlepage information
%-
% \input{Tex/Frontinfo}%
\begin{document}
%% 如果论文题目和提交日期有变化,及时到本地源文件修改后再上传overleaf!!
\includepdf[pages={1,2}]{cover.pdf}
%-
%-> Frontmatter: title page, abstract, content list, symbol list, preface
%-
\frontmatter% initialize the environment
\input{Tex/Frontmatter}% 题目页,摘要
%% 目录设置开始
%% 目录字号为五号,10.5pt
\titlecontents{chapter}
[4em] %左间距
{\zihao{5}} %标题格式(绪论)
{\contentslabel{4em} \vspace{2pt}} %设置标题标志的格式,如序号格式、序号宽度、序号与标题内容之间的间距等。
{\hspace*{-4em}} %%无序号标题
{\titlerule*[0.3pc]{$\cdot$}\contentspage}%%设置引导线和页码
\titlecontents{section}
[4em]
{\zihao{5}}
{\contentslabel{2em} \vspace{2pt}}
{\hspace*{-2em}}
{\titlerule*[0.3pc]{$\cdot$}\contentspage}
\titlecontents{subsection}
[7em]
{\zihao{5}}
{\contentslabel{3em} \vspace{2pt}}
{\hspace*{-2em}}
{\titlerule*[0.3pc]{$.$}\contentspage}
%% 目录设置结束
%% 引入目录
{
\linespread{1.0}% local line space
% \intobmk*{\cleardoublepage}{\contentsname}% add link to bookmark
\tableofcontents% content catalog
% \intobmk*{\cleardoublepage}{\listfigurename}% add link to bookmark
% \listoffigures% figure catalog
% \intobmk*{\cleardoublepage}{\listtablename}% add link to bookmark
% \listoftables% table catalog
}
%-
%-> 正文
%-
\mainmatter% initialize the environment
\input{Tex/Mainmatter}% main content
%-
% 参考文献
\intotoc*{\cleardoublepage}{\bibname}% add link to toc
\artxifstreq{\artxbib}{bibtex}{% enable bibtex
\linespread{1}
\bibliography{Biblio/ref}% bibliography
}{%
% \linespread{1}
\printbibliography% bibliography
}
%-> Appendix
%-
\cleardoublepage%
\appendix% initialize the environment
\input{Tex/Appendix}% appendix content
%-
%-> Backmatter:glossary
\input{Tex/Backmatter}% other information
\end{document}
%---------------------------------------------------------------------------%