forked from sjtug/SJTUThesis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
thesis.tex
98 lines (79 loc) · 3.01 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
%%==================================================
%% thesis.tex
%%==================================================
% 双面打印
\documentclass[doctor, adobefonts, openright, twoside, cs4size]{sjtuthesis}
% \documentclass[bachelor, adobefonts, openany, oneside, cs4size, submit]{sjtuthesis}
% \documentclass[master, adobefonts, review]{sjtuthesis}
% \documentclass[%
% bachelor|master|doctor, % 必选项
% adobefonts|winfonts, % 只测试了adobefonts,请使用adobefonts
% oneside|twoside, % 单面打印,双面打印(奇偶页交换页边距,默认)
% openany|openright, % 可以在奇数或者偶数页开新章|只在奇数页开新章(默认)
% cs4size|c5size, % 正文字号:小四、五号(默认)
% review, % 盲审论文,隐去作者姓名、学号、导师姓名、致谢、发表论文和参与的项目
% submit % 定稿提交的论文,插入签名扫描版的原创性声明、授权声明
% ]
% 逐个导入参考文献数据库
\addbibresource{bib/thesis.bib}
% \addbibresource{bib/chap2.bib}
\begin{document}
%% 无编号内容:中英文论文封面、授权页
\include{tex/id}
\maketitle
\makeenglishtitle
\makeatletter
\ifsjtu@submit\relax
\includepdf{pdf/original.pdf}
\cleardoublepage
\includepdf{pdf/authorization.pdf}
\cleardoublepage
\else
\makeDeclareOriginal
\makeDeclareAuthorization
\fi
\makeatother
\frontmatter % 使用罗马数字对前言编号
%% 摘要
\pagestyle{main}
\include{tex/abstract}
%% 目录、插图目录、表格目录
\tableofcontents
\listoffigures
\addcontentsline{toc}{chapter}{\listfigurename} %将插图目录加入全文目录
\listoftables
\addcontentsline{toc}{chapter}{\listtablename} %将表格目录加入全文目录
% \listofalgorithms
% \addcontentsline{toc}{chapter}{代码索引} %将表格目录加入全文目录
\include{tex/symbol} % 主要符号、缩略词对照表
\mainmatter % 使用阿拉伯数字对正文编号
%% 正文内容
\pagestyle{main}
\include{tex/chapter01}
\include{tex/chapter02}
\include{tex/chapter03}
\include{tex/summary}
\appendix % 使用英文字母对附录编号,重新定义附录中的公式、图图表编号样式
\renewcommand\theequation{\Alph{chapter}--\arabic{equation}}
\renewcommand\thefigure{\Alph{chapter}--\arabic{figure}}
\renewcommand\thetable{\Alph{chapter}--\arabic{table}}
\renewcommand\thealgorithm{\Alph{chapter}--\arabic{algorithm}}
%% 附录内容,本科学位论文可以用翻译的文献替代。
\include{tex/app_log}
\include{tex/app_eq}
\include{tex/app_cjk}
\backmatter % 文后无编号部分
%% 参考资料
\printbibliography[heading=bibintoc]
%% 致谢、发表论文、申请专利、参与项目、简历
%% 用于盲审的论文需隐去致谢、发表论文、申请专利、参与的项目
\makeatletter
\ifsjtu@review\relax\else
\include{tex/ack} %% 致谢
\include{tex/pub} %% 发表论文
\include{tex/patents} %% 申请专利
\include{tex/projects} %% 参与的项目
% \include{tex/resume} %% 各人简历
\fi
\makeatother
\end{document}