-
Notifications
You must be signed in to change notification settings - Fork 1
/
paper.tex
145 lines (111 loc) · 3.81 KB
/
paper.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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
% ===================================
% Template for the final design
% by H.T.K
% ===================================
\documentclass[a4paper, oneside, UTF8]{ctexbook}
\usepackage[utf8]{inputenc}
\usepackage{ctex}
\usepackage{pdfpages}
\usepackage{graphicx}
\usepackage{graphics}
\usepackage{float}
\usepackage{array}
\usepackage{booktabs}
%\usepackage{cite}
\usepackage{hyperref}
\usepackage{titlesec}
\usepackage{amsfonts} %一些特殊数学字体
\usepackage{hologo}
\usepackage{gbt7714}
%\bibliographystyle{gbt7714-numerical}
\titlespacing*{\chapter} {0pt}{50pt}{40pt}
%\usepackage{fontspec, xunicode, xlextra}
% \usepackage[CJKnumber]{xeCJK}
\usepackage{libertine}
\usepackage{type1cm}
% 设置页面边距
\usepackage[left=2.5cm,right=2cm,top=2cm,bottom=2cm]{geometry}
\usepackage{titlesec}
\setmainfont{Times New Roman}
\ctexset{
chapter/format+={\vspace{-2.5em}\CJKfamily{hei}\bfseries \fontsize{16pt}{42pt}\selectfont},
chapter/pagestyle = main2,
%chapter/name = {第,章},
%chapter/titleformat = \chaptertitleformat,
chapter/titleformat={\CJKfamily{hei}\bfseries\fontsize{16pt}{24pt}\selectfont},
section/format+={\raggedright\fontsize{14pt}{16.8pt}\selectfont},
subsection/format+={\raggedright\fontsize{12pt}{14.4pt}\selectfont}
}
%\titlespacing*{\chapter}{0pt}{-2pt}{2pt}
%\titleformat{\chapter}{\centering\CJKfamily{hei}\bfseries\fontsize{16pt}{24pt}\selectfont}{第\,\CJKnumber{\thechapter}\,章}{1em}{}
%\titleformat{\section}{\CJKfamily{hei}\bfseries\fontsize{14pt}{21pt}\selectfont}{}{1em}{}
% \CTEXsetup[format={\CJKfamily{hei}\bfseries\fontsize{14pt}{21pt}\selectfont}]{section}
% \CTEXsetup[format={\CJKfamily{hei}\centering\fontsize{16pt}{24pt}\selectfont}]{chapter}
% \renewcommand{\chaptername}{第\,\CJKnumber{\thechapter}\,章}
\begin{document}
% ==========================================
% Include settings first
% ==========================================
\input{MySetting.tex}
\input{cover/cover.tex}
% ==========================================
% Abstract
% ==========================================
\pagestyle{main1} %使用该style
\newpage
\section*{\centering\CJKfamily{hei}\fontsize{16pt}{24pt} 摘\qquad 要}
%\vspace{-2em}
\input{Abstract-CH.tex}
\setcounter{page}{1}
\pagenumbering{Roman}
\addcontentsline{toc}{chapter}{摘\qquad 要}
%\@openrighttrue\makeatother
\newpage
\section*{\centering\CJKfamily{hei}\fontsize{16pt}{24pt}ABSTRACT}
%\vspace{-2em}
\input{Abstract-EN.tex}
\addcontentsline{toc}{chapter}{ABSTRACT}
% ==========================================
% 目录
% ==========================================
\newpage
\tableofcontents
\addcontentsline{toc}{chapter}{目\qquad 录}
%\pagestyle{main2} %使用该style
% ==========================================
% 第一章 绪论,此页开始编码
% ==========================================
\pagestyle{main2}
\topskip=10pt
\chapter{绪论}
\setcounter{page}{1}
\pagenumbering{arabic}
\vspace{-2em}
\input{background.tex}
% ==========================================
% 正文
% ==========================================
% array环境行间距, 公式表格等
\renewcommand{\arraystretch}{1}
\chapter{正文}
\vspace{-2em}
\input{body.tex}
% ==========================================
% 总结与展望
% ==========================================
\chapter{总结与展望}
% ==========================================
% 参考文献
% ==========================================
%\bibliographystyle{abbrv}
\bibliography{egbib}
\addcontentsline{toc}{chapter}{参考文献}
% ==========================================
% 致谢
% ==========================================
\chapter*{致\qquad 谢}
\vspace{-2em}
\input{Thanks.tex}
\addcontentsline{toc}{chapter}{致\qquad 谢}
\end{document}