summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/buctthesis/doc/main.tex
blob: 18cd777ac979844da3a1e88150f5956097d5e705 (plain)
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
% !TeX encoding = UTF-8
% 主文件--main.tex
\documentclass[
	type = bachelor,	% bachelor | master | doctor
	%submit,
	%openany,			% openany | openright(default)
	fontset = windows,  % fandol | windows (normal)
]{buctthesis}

% 在这个文件里载入其他对写作有帮助的宏包,或自定义命令等
\usepackage{mycfg}

\buctsetup{
	%%%%% 各选项之间不要留有空行,并以西文逗号“,”分隔 %%%%%
	% 论文的中文标题
	ctitle		= {BUCTthesis写作示例文档},
	% 论文的英文标题
	etitle		= {HOW TO \TeX\ WITH BUCTthesis: AN EXAMPLE},
	% 作者姓名
	cauthor		= {张三},
	% 班级
	class		= {某某1024},
	%学号
	studentid	= {2018020999},
	% 学院
	school		= {材料科学与工程学院},
	% 专业名称
	major		= {高分子材料与工程},
	% 导师的姓名与职称
	supervisor	= {李四教授},
	% 专业负责人姓名
	msupervisor	= {王五},
	% 中文、英文关键词,各关键词间以西文逗号“,”分隔
	ckeywords   = {论文,\LaTeX{},模板},
	ekeywords   = {thesis,\LaTeX{},template},
}

\begin{document}
	% 生成伪封面。实际的论文封面由学校统一印制,正式写作可删去。
	\maketitle
	
	% 从此以大写罗马数字编页码
	\frontmatter
	
	% 诚信声明、任务书、摘要
	\include{chapter/frontmatter}
	
	% 生成主目录
	\tableofcontents
	% 设计图纸目录,这与主目录独立。
	\listofdesignfigures
	
	% 前言
	\include{chapter/foreword}
	
	% 从此以阿拉伯数字编页码
	\mainmatter
	
	% 正文各章节
	\include{chapter/chapter1}
	\include{chapter/chapter2}
	\include{chapter/chapter3}
	
	% 结论
	\include{chapter/conclusion}
	
	% 参考文献。
	% 注意:至少引用一篇参考文献,否则执行全编译时下面两行会引起编译错误。
	\bibliographystyle{gbt7714-numerical}
	\bibliography{thesisbib.bib}
	
	% 符号说明
	\include{chapter/denotation}
	
	% 翻译
	\include{chapter/translation}
	
	% 致谢
	\include{chapter/acknowledgement}
	
	% 附录
	\appendix
	\include{chapter/app1}
	
\end{document}