-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.tex
More file actions
123 lines (107 loc) · 2.94 KB
/
Copy pathmain.tex
File metadata and controls
123 lines (107 loc) · 2.94 KB
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
\documentclass[12pt,a4paper]{report}
%\renewcommand{\baselinestretch}{1.5}
%-------------------------------------------------------------------------
%
% Packages
%
%-------------------------------------------------------------------------
\usepackage{geometry}
\usepackage{setspace}
\usepackage{anyfontsize}
\usepackage{graphicx}
\usepackage{xcolor}
\usepackage{booktabs}
\usepackage{pgfplots}
\usepackage{xeCJK}
\usepackage{listings}
\usepackage{enumitem}
\usepackage[strings]{underscore}
\setmainfont[Ligatures={Common,TeX}, Numbers={OldStyle}]{Times New Roman}
%\setCJKmainfont{DFKai-SB}
\setCJKmainfont{BiauKai}
%lstlisting custom style settings
\definecolor{codegreen}{rgb}{0,0.6,0}
\definecolor{codegray}{rgb}{0.5,0.5,0.5}
\definecolor{codepurple}{rgb}{0.58,0,0.82}
\definecolor{backcolour}{rgb}{0.95,0.95,0.92}
\lstdefinestyle{mystyle}{
backgroundcolor=\color{backcolour},
commentstyle=\color{codegreen},
keywordstyle=\color{magenta},
numberstyle=\tiny\color{codegray},
stringstyle=\color{codepurple},
basicstyle=\footnotesize\ttfamily,
breakatwhitespace=false,
breaklines=true,
captionpos=b,
keepspaces=true,
%numbers=right,
%numbersep=5pt,
showspaces=false,
showstringspaces=false,
showtabs=false,
tabsize=2
}
\lstdefinestyle{customc}{
belowcaptionskip=1\baselineskip,
breaklines=true,
frame=L,
xleftmargin=\parindent,
language=C,
showstringspaces=false,
basicstyle=\footnotesize\ttfamily,
keywordstyle=\bfseries\color{green!40!black},
commentstyle=\itshape\color{purple!40!black},
identifierstyle=\color{blue},
stringstyle=\color{orange},
}
\lstset{style=mystyle}
%-------------------------------------------------------------------------
% 個人設定和數據
\input{src/def}
%-------------------------------------------------------------------------
%
% Documents
%
%-------------------------------------------------------------------------
\begin{document}
% 封面格式
\newgeometry{left=0cm,top=4cm,right=0cm,bottom=3cm}
\onehalfspacing
% 封面
\input{src/cover}
% 內文格式
\newgeometry{left=3cm,top=3cm,right=3cm,bottom=2cm}
\doublespacing
\pagenumbering{roman}
\setcounter{page}{1}
% 誌謝
\input{src/acknowledgements}
\clearpage
% 中英文摘要
\input{src/abstract_zh}
\clearpage
\input{src/abstract_en}
% 羅馬數字編號
% 目錄、圖目錄、表目錄
\tableofcontents
\listoffigures
\listoftables
\clearpage
% 阿拉伯數字編號
\pagenumbering{arabic}
\setcounter{page}{1}
% 論文正文
\input{src/introduction}
\input{src/Preliminaries}
\input{src/proposed_solution}
\input{src/Environment_Framework}
\input{src/analysis}
\input{src/conclusion}
% 參考文獻
\clearpage
\addcontentsline{toc}{chapter}{References}
\renewcommand{\bibname}{References}
\bibliographystyle{IEEEtran}
\bibliography{IEEEabrv,reference}
\end{document}