summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/buctthesis/doc/main.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/buctthesis/doc/main.tex')
-rw-r--r--macros/latex/contrib/buctthesis/doc/main.tex84
1 files changed, 84 insertions, 0 deletions
diff --git a/macros/latex/contrib/buctthesis/doc/main.tex b/macros/latex/contrib/buctthesis/doc/main.tex
new file mode 100644
index 0000000000..2935af5d6d
--- /dev/null
+++ b/macros/latex/contrib/buctthesis/doc/main.tex
@@ -0,0 +1,84 @@
+% !TeX encoding = UTF-8
+% 主文件--main.tex
+\documentclass[
+ type = bachelor, % bachelor | master | doctor
+ %submit,
+ %openany, % openany | openright(default)
+]{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} \ No newline at end of file