-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.tex
executable file
·96 lines (76 loc) · 2.52 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
94
95
96
%input "reference\reference.bib" %for winedt users
\def\version{1.8rc2} % 该变量仅用于模板文件的版本号控制
%\def \xuewei {Doctor} % 定义学位 博士
\def \xuewei {Master} % 硕士
%\def\oneortwoside{twoside} %定义单双面打印,只对硕士学位论文有效;
\def\oneortwoside{oneside} % 硕士单面打印
\def\xueke{Engineering} % 定义学科 工学
%\def\xueke{Science} % 理学
%\def\xueke{Management} % 管理学
%\def\xueke{Arts} % 艺术学
\def\usewhat{dvipdfmx} % 你喜欢哪种编译方式,pdflatex dvipdfmx dvipspdf yap
\input{setup/type.tex} % 硕博类型
%下面的book选项中可以使用 draft 选项,使插入的图形只显示外框,以加快预览速度。
\documentclass[12pt,a4paper,openany,\oneortwoside]{book}
\input{setup/package.tex} % 引用的宏包
% 论文包含的内容
\includeonly{
body/chapter01,
body/chapter02,
body/chapter03,
body/chapter04,
body/chapter05,
body/chapter06,
body/chapter07,
body/chapter08,
% body/chapter09,
body/chapter10,
body/chapter11,
body/appendix1,
body/appendix2,
body/appendix3,
}
\graphicspath{{figures/}} %定义所有的eps文件在 figures 子目录下
\begin{document}
\begin{CJK*}{GBK}{song}
\input{setup/Definition} % 文本格式定义
\input{setup/format}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 正文部分
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\frontmatter
\sloppy % 解决中英文混排的断行问题,会加入间距,但不会影响断行
\pagenumbering{Roman}
%\interlinepenalty -100000
\input{body/cover} % 封面
\input{setup/content}
\mainmatter
\defaultfont % 对应于小四的标准字号是 12pt, 可以在正文中用此命令修改所需要字体的的大小
\include{body/chapter01}
\include{body/chapter02}
\include{body/chapter03}
\include{body/chapter04}
\include{body/chapter05}
\include{body/chapter06}
\include{body/chapter07}
\include{body/chapter08}
%%\include{body/chapter09}%删掉位运算一章
\include{body/chapter10}
\include{body/chapter11}
\include{body/appendix1}
\include{body/appendix2}
\include{body/appendix3}
%%参考文献
%\defaultfont
%\bibliographystyle{chinesebst}
%\addcontentsline{toc}{chapter}{\hei \ReferenceCName} % 参考文献加入到中文目录
%\addcontentsline{toe}{chapter}{\bfseries \ReferenceEName} % 参考文献加入到英文目录
%\addtolength{\bibsep}{-0.8 em} \nocite{*}
%\bibliography{/home/hanqi/now-working/document/bib-all}
%\addtocontents{fen}{\protect\vskip1\baselineskip}
%\addtocontents{ten}{\protect\vskip1\baselineskip}
%英文图形和表格索引里加入空白行,通常放在 \include{appendix/appA}% 附录A之前。
%区分开正文和附录的图形和表格,一般没有这个必要。
\clearpage
\end{CJK*}
\end{document}