-
Notifications
You must be signed in to change notification settings - Fork 3
/
Main.tex
93 lines (70 loc) · 3.14 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
91
92
93
%请根据需要选择一种版式
%\documentclass[UTF8,opening,cs4size,a4paper,fancyhdr,fntef,top=0.0cm,openany]{hdyustb}% 开题报告
%\documentclass[UTF8,interim,cs4size,a4paper,fancyhdr,fntef]{hdyustb}% 中期报告
\documentclass[UTF8,cs4size,a4paper,fancyhdr,fntef,openany]{hdyustb}% 正文
%\documentclass[UTF8,tasklist,cs4size,a4paper,fancyhdr,fntef]{hdyustb}% 任务书
\headwidth=\textwidth
\graphicspath{{chapter/}{figures/}{ustb/}{appendix/}}% 设置图形文件的搜索路径
%\usepackage{enumitem}%列举项目
\bibliographystyle{GBT7714-2005NLang-UTF8}
%设置超链接
\usepackage[pdfstartview=FitH,bookmarksnumbered=true,bookmarksopen=true,
%colorlinks,
linkcolor=black,anchorcolor=blue,citecolor=black,CJKbookmarks=true]{hyperref}
\begin{document}
%------------------------------中期报告 开始---------------------------------
\makeatletter
\ifHDY@interim \makeatother
% 目录
\tableofcontents
% 中期报告正文
\include{chapter/interimReport}
\else \makeatletter
%------------------------------中期报告 结束---------------------------------
%------------------------------开题报告 开始---------------------------------
\ifHDY@opening \makeatother
%%开题报告标题页(为完成,因此请使用Word)
%\include{opening/openingCover}
\pagenumbering{arabic}%重置页码
\tableofcontents% 目录
\include{opening/openingReport}% 开题报告
\else \makeatletter
%------------------------------开题报告 结束---------------------------------
%------------------------------任务书 开始---------------------------------
\ifHDY@tasklist \makeatother
\include{chapter/tasklist}% 任务书
%------------------------------任务书 结束---------------------------------
%------------------------------论文全文 开始---------------------------------
\else
% 封面-学校统一印制
% 扉页(请使用Word,注意电脑是否安装字体)
% 声明(这个看起来没问题了,但还是建议用Word吧)
%\include{chapter/announce}
%\cleardoublepage
% 装订任务书
\pagenumbering{arabic}%设置页码格式+重置页码
\include{chapter/abstract}% 中英文摘要/关键词
\cleardoublepage
\tableofcontents %目录
\listoffigures %插图或附表清单 %cls文件中把表和图混在一起了
%注释说明清单 略
\cleardoublepage
\pagenumbering{arabic}
\include{chapter/foreword}%引言
\include{chapter/literatureReview}%文献综述
\include{chapter/knowledge}%相关知识
% 正文
\include{chapter/body1}
\include{chapter/body2}
\include{chapter/body3}
% 结论
\include{chapter/conclusion}
% 参考文献
\bibliography{bibfile}
\addcontentsline{toc}{chapter}{参考文献}
\cleardoublepage
\include{chapter/appendix}% 附录
\include{chapter/achievement}% 在学取得成果
\include{chapter/gratitude}% 致谢
\fi%只用写一个/fi,但在hdyustb.cls文件定义页眉时需要写三次
\end{document}