-
Notifications
You must be signed in to change notification settings - Fork 10
/
thesis.tex
286 lines (226 loc) · 7.78 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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
\documentclass[oneside]{ZJUthesis}
% 该文档中首字符为“%”的均为注释行,不会在论文中出现
% 论文默认为双面模式,需单面模式请将第一行换为如下所示:
% \documentclass[oneside]{ZJUthesis}
% \documentclass[twoside]{ZJUthesis}
% 取消目录中链接的颜色,方便打印
% 如需颜色,请将“false”改为“true”
\hypersetup{colorlinks=false}
% 这里几行代码使得目录中的“第几章” 和后面的章节名称不致发生重叠
\makeatletter
\renewcommand{\numberline}[1]{%
\settowidth\@tempdimb{#1\hspace{0.5em}}%
\ifdim\@tempdima<\@tempdimb%
\@tempdima=\@tempdimb%
\fi%
\hb@xt@\@tempdima{\@cftbsnum #1\@cftasnum\hfil}\@cftasnumb}
\makeatother
%\usepackage[sectionbib]{chapterbib}
\makeatletter
\def\@chapter[#1]#2{\ifnum \c@secnumdepth >\m@ne
\if@mainmatter
\refstepcounter{chapter}%
\typeout{\@chapapp\space\thechapter.}%
\addcontentsline{toc}{chapter}%
{\protect\numberline{第 \chaptername 章}\hspace{1em}#1}
% {\protect\numberline{\chaptername}\hspace{4em}#1}
\else
\addcontentsline{toc}{chapter}{#1}%
\fi
\else
\addcontentsline{toc}{chapter}{#1}%
\fi
\chaptermark{#1}%
\if@twocolumn
\@topnewpage[\@makechapterhead{#2}]%
\else
\@makechapterhead{#2}%
\@afterheading
\fi}
\makeatother
\begin{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% 正文字体设定
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\songti
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% 论文封面部分
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 中文封面内容
% 中图分类号
\classification{TM391}
% 单位代码
\serialnumber{10335}
% 密级,如需密级则将其前“%”去掉
%\SecretLevel{绝密}
\SecretLevel{公开}
% 学号
\PersonalID{21221234}
\title{论文题目第一行}
% 如果标题一行写不下,就写成两行,在下面的命令里写第二行,不需要两行则注释掉
\titletl{论文题目第二行}
%\titletl{test}
%英文题目
\Etitle{English Title The 1st Line}
% 如果一行写不下,同中文题目设定,一行写不下则写两行,不需要就注释掉
\Etitletl{English Title The 2nd Line}
%\Etitletll{}
% 作者
\author{作者}
\Eauthor{Author}
\degree{硕士}
\Edegree{Master of Engineering}
% 导师
\supervisor{导师(副)教授}
\Esupervisor{(Assoc.) Prof. Supervisor}
% 合作导师,如果有的话,去掉注释
% \cpsupervisor{}
% \Ecpsupervisor{}
% 专业名称
\major{计算机科学与技术}
\Emajor{Computer Science and Technology}
% 研究方向
\researchdm{研究方向}
\Eresearchdm{research domain}
% 所属学院
\institute{计算机科学与技术学院}
\Einstitute{College of Computer Science and Technology}
%论文提交日期
\submitdate{二〇一五年一月五日}
\Esubmitdate{2015-01-05}
% 答辨日期
\defenddate{2015-03-10}
% 生成封面
\makeCoverPage
% 生成英文封面
\makeECoverPage
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% 中文题名页内容
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 论文评阅人信息 注意两字名与三字名,两字职称与三字职称的写法,便于对齐
% 多余的名额直接注释掉即可,比如三个评阅人,把评阅人D,E注释掉即可
\reviewersA{评阅人\hspace{1.5em}教授\hspace{1.5em}浙江大学\hspace{1em}}
\reviewersB{评阅人\hspace{1.5em}教授\hspace{1.5em}浙江大学\hspace{1em}}
\reviewersC{评阅人\hspace{1.5em}教授\hspace{1.5em}浙江大学\hspace{1em}}
\reviewersD{评阅人\hspace{1.5em}教授\hspace{1.5em}浙江大学\hspace{1em}}
\reviewersE{评阅人\hspace{1.5em}教授\hspace{1.5em}浙江大学\hspace{1em}}
% 答辩委员会信息,如果某一个单位比较长,
% 请在其它较短后面补上{hspace{Xem}},X是比最长的单位名少几个字
% 如果实际人数少于6人,多余的注释掉即可
\chairman{委\quad 员\quad 教授\quad 浙江大学\hspace{1em}}
\commissionerA{委\quad 员\quad 教授\quad 浙江大学\hspace{1em}}
\commissionerB{委\quad 员\quad 教授\quad 浙江大学\hspace{1em}}
\commissionerC{委\quad 员\quad 教授\quad 浙江大学\hspace{1em}}
\commissionerD{委\quad 员\quad 教授\quad 浙江大学\hspace{1em}}
\commissionerE{委\quad 员\quad 教授\quad 浙江大学\hspace{1em}}
% 生成中文题名页
\maketitle
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% 英文题名内容
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\englishtitle{English Title The 1st Line}
% 如果题名一行写不下,就写到第二行,不需要则将其注释掉
\englishtitletl{English Title The 2nd Line}
%\englishtitletll{}
% 评阅人信息,名字,职称,单位尽量用简写,否则会写不下
\EreviewersA{Name\hspace{1.5em}Professional Title\hspace{1.5em}Organization}
\EreviewersB{Name\hspace{1.5em}Professional Title\hspace{1.5em}Organization}
\EreviewersC{Name\hspace{1.5em}Professional Title\hspace{1.5em}Organization}
\EreviewersD{Name\hspace{1.5em}Professional Title\hspace{1.5em}Organization}
\EreviewersE{Name\hspace{1.5em}Professional Title\hspace{1.5em}Organization}
% 答辩委员会信息,同样尽量用简写,否则会写不下
\Echairman{Name\hspace{1.5em}Professional Title\hspace{1.5em}Organization}
\EcommissionerA{Name\hspace{1.5em}Professional Title\hspace{1.5em}Organization}
\EcommissionerB{Name\hspace{1.5em}Professional Title\hspace{1.5em}Organization}
\EcommissionerC{Name\hspace{1.5em}Professional Title\hspace{1.5em}Organization}
\EcommissionerD{Name\hspace{1.5em}Professional Title\hspace{1.5em}Organization}
\EcommissionerE{Name\hspace{1.5em}Professional Title\hspace{1.5em}Organization}
% 生成英文题名页
\makeenglishtitle
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% 原创声明与版权协议页
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\SignautreDateA{2015}{3}{10}
\SignautreDateB{2015}{3}{10}
\SignautreDateC{2015}{3}{10}
% 生成原创声明与版权协议页
\makeOSandCPRTpage
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% 论文部分开始
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ZJUfrontmatter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% 勘误页,一般没有
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\include{./Chapters/corrigenda}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% 序言页,一般没有
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\include{./Chapters/preface}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% 摘要
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\include{./Chapters/abstractC}
{\pagestyle{empty}\mbox{}\newpage\pagestyle{empty}} % 无页眉页脚的空白页
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% 英文摘要
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\include{./Chapters/abstractE}
{\pagestyle{empty}\mbox{}\newpage\pagestyle{empty}} % 无页眉页脚的空白页
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% 论文部分开始2
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ZJUfrontmatterTwo
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% 目录页
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ZJUcontents
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% 插图列表
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ZJUListofFigures
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% 表格列表
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ZJUListofTables
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% 缩写、符号清单、术语表
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\include{./Chapters/symbol}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% 正文内容部分开始
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ZJUmainmatter
\include{./Chapters/chap1}
\include{./Chapters/chap2}
\include{./Chapters/chap3}
\include{./Chapters/chap4}
\include{./Chapters/chap5}
\include{./Chapters/chap6}
\ZJUbackmatter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% 参考文献
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ZJUthesisbib{thesisbib}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% 附录
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\appendix
\include{./Chapters/appendix}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% 索引
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ZJUindex
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% 个人简历
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\include{./Chapters/resume}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% 发表论文目录
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\include{./Chapters/publications}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% 致谢页
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\include{./Chapters/thanks}
\end{document}