This repository has been archived by the owner on Sep 9, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.tex
78 lines (67 loc) · 1.72 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
\documentclass{JLUThesis}
%\usepackage[colorlinks,linkcolor=black]{hyperref}
\usepackage{amsmath}
% \usepackage{multirow}
% \usepackage{tikz}
\usepackage{array}
\usepackage{listings}
\lstset{
columns=fullflexible,
keepspaces=true,
showspaces=false,
showtabs=false,
breaklines=true,
showstringspaces=false,
breakatwhitespace=true,
basicstyle=\ttfamily\normalsize,
framesep=3pt,
xleftmargin=6pt,
tabsize=4,
captionpos=b
keywordstyle = \bfseries, % 关键字风格
% commentstyle = \rmfamily\itshape, % 注释的风格,斜体
% stringstyle = \ttfamily, % 字符串风格
flexiblecolumns, % 别问为什么,加上这个
numbers = left, % 行号的位置在左边
showspaces = true, % 是否显示空格,显示了有点乱,所以不现实了
showstringspaces = true,
frame = lrtb, % 显示边框
}
\begin{document}
% Syntactic sugar
\let\cleardoublepage\clearpage
\let\tt\texttt
\let\bb\mathbb
% 封面
\makecover
% 承诺书
% \commitment
% \thispagestyle{style@empty}
% 中文摘要
\input{data/cabstract}
% \thispagestyle{style@empty}
% 英文摘要
\input{data/eabstract}
\thispagestyle{style@empty}
% 目录
\newpage
\pagenumbering{gobble}
{
\pagestyle{style@empty}
\tableofcontents
\clearpage
}
% 正文
\pagenumbering{arabic}
\setcounter{page}{1}
\pagestyle{style@normal}
\input{data/chapter01.tex}
\input{data/chapter02.tex}
\input{data/chapter03.tex}
\input{data/chapter04.tex}
\input{data/chapter05.tex}
\input{data/chapter06.tex}
\input{data/chapter07.tex}
\input{data/reference.tex}
\input{data/acknowledgement.tex}
\end{document}