-
Notifications
You must be signed in to change notification settings - Fork 67
/
Copy paththesis.tex
102 lines (91 loc) · 3.3 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
%%
%% This is file `thesis.tex',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% scnuthesis.dtx (with options: `thesis')
%%
%% !Mode:: "TeX:UTF-8"
%%
%% This is a generated file.
%%
%% Copyright (C) 2015 by Joseph Pan <cs.wzpan@gmail.com>
%%
%% This file may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3a
%% of this license or (at your option) any later version.
%% The latest version of this license is in:
%%
%% http://www.latex-project.org/lppl.txt
%%
%% and version 1.3a or later is part of all distributions of LaTeX
%% version 2004/10/01 or later.
%%
%% To produce the documentation run the original source files ending with `.dtx'
%% through LaTeX.
%%
%% Any Suggestions : Joseph Pan <cs.wzpan@gmail.com>
%% Thanks LiuBenYuan <liubenyuan@gmail.com> for the nudtpapre class!
%% Thanks Xue Ruini <xueruini@gmail.com> for the thuthesis class!
%% Thanks sofoot for the original NUDT paper class!
%%
%1. 如果是研究生论文,常用的选项是:
% \documentclass[master,twoside,vista,ttf]{scnuthesis}
%2. 如果是博士生论文,常用的选项是:
% \documentclass[doctor,twoside,vista,ttf]{scnuthesis}
%3. 如果使用是Windows XP之前的Windows系列,或者使用从这个系列拷贝过来的字体,则需要将Vista选项去掉,如:
% \documentclass[master,twoside,ttf]{scnuthesis}
%4. 建议使用OTF字体获得较好的页面显示效果
% OTF字体从网上获得,各个系统名称统一,不用加vista选项
% 如果你下载的是最新的(1201)OTF英文字体,建议修改scnuthesis.cls,使用PS Std
% \documentclass[doctor,twoside,otf]{scnuthesis}
%5. 如果想生成盲评,传递anon即可,仍需修改个人成果部分
% \documentclass[master,otf,anon]{scnuthesis}
%6. 让章节标题作为页眉,可以使用chapterhead选项。如果和twoside一起使用,则奇数页页眉为章节标题,偶数页为文章标题。
% \documentclass[master,otf,twoside,chapterhead]{scnuthesis}
%
\documentclass[master,vista,ttf,twoside]{scnuthesis}
\usepackage{anyfontsize}
\usepackage{myscnu}
\begin{document}
\graphicspath{{figures/}}
\input{data/info}
% 插入摘要,制作封面
\ifisanon{}\else{\maketitle}\fi
\frontmatter
\input{data/abstract}
% 生成目录
\tableofcontents
\listoftables % 如果要生成表目录
\listoffigures % 如果要生成图目录
\renewcommand{\chapterlabel}{\denotationname} %设置页眉
\input{data/denotation} % 如果要生成符号列表
% 更新图标题和表标题设置
\renewcommand{\thetable}{\thechapter{}-\arabic{table}}
\renewcommand{\thefigure}{\thechapter{}-\arabic{figure}}
% 书写正文,可以根据需要增添章节。
\mainmatter
\input{data/chap01}
\input{data/chap02}
\input{data/chap03}
% 参考文献
\cleardoublepage
\renewcommand{\chapterlabel}{\bibname} % 设置参考文献的页眉
\bibliographystyle{bstutf8}
\bibliography{ref/refs}
% 附录
\appendix
\backmatter
\input{data/appendix01}
\input{data/appendix02}
% 致谢
\cleardoublepage
\renewcommand{\chapterlabel}{\ackname} % 设置参考文献的页眉
\input{data/ack}
% 作者攻读学位期间发表的学术论文目录
\cleardoublepage
\renewcommand{\chapterlabel}{\resumename} % 设置作者个人成果的页眉
\input{data/resume}
\end{document}
%%