forked from shaform/ntu-thesis
-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy paththesis.tex
130 lines (97 loc) · 2.69 KB
/
thesis.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
\documentclass[oneside,zh]{nctuthesis}
\usepackage{enumitem}
\usepackage{times}
\usepackage{verbatim}
\usepackage{color}
\usepackage{url}
\usepackage{graphicx}
\usepackage{array}
\usepackage{pdfpages} % include inserted .pdf to page no.
\usepackage{wallpaper} % watermark
% Format the refs
\usepackage[sort]{natbib}
\usepackage[hidelinks]{hyperref}
% For Cross ref
\usepackage{xr}
% For the tree
\usepackage{tikz}
\usepackage{tikz-qtree}
% For code display
\usepackage{listings}
% For the APA table
\usepackage{adjustbox}
\usepackage{multirow,booktabs,setspace,caption}
\usepackage{rotating}
\usepackage{dcolumn}
\newcolumntype{z}{D{.}{.}{3}} % for decimal dot alignment
% For hyperlink
\usepackage{hyperref}
% For barchart
\usepackage{pgfplots}
\pgfplotsset{compat=1.12}
% For setting counters of figure and table
\usepackage{chngcntr}
% Using the tex-text mapping for ligatures etc.
\defaultfontfeatures{Mapping=tex-text}
% Set the default fonts
\setmainfont{Times New Roman}
\setCJKmainfont{TW-Kai} %modify for overleaf service
% Your information goes here
\input{nctuvars}
\begin{document}
% 論文浮水印 如需浮水印時取消此行註解
% \input{src/with-watermark.tex}
\hypersetup{pageanchor=false}
\frontmatter
\pagenumbering{gobble}
% 此處不自動產生交大封面改採插入pdf封面故註解
% \makecover
%以插入pdf檔方式加入封面及書名頁
\includepdf[pages={1}]{pdfs/cover.pdf}
\includepdf[pages={1}]{pdfs/first_page.pdf}
% 開始編羅馬數字頁碼
\clearpages
\setcounter{page}{1}
\hypersetup{pageanchor=true}
\pagenumbering{roman}
\phantomsection
%插入論文審定書 著作權審定書等等
\addcontentsline{toc}{chapter}{中文論文口試委員會審定書}
\includepdf[pages={1}, pagecommand={}]{pdfs/ch.pdf}
\addcontentsline{toc}{chapter}{Thesis Certificate}
\includepdf[pages={1}, pagecommand={}]{pdfs/en.pdf}
\addcontentsline{toc}{chapter}{論文著作權授權書}
\includepdf[pages={1}, pagecommand={}]{pdfs/copyright.pdf}
% 摘要 致謝
\input{abstract}
\input{acknowledgements}
% % Table of Content
\clearpages
\tableofcontents
% % List of Figures
\clearpages
\listoffigures
% % List of Tables
\clearpages
\listoftables
\mainmatter
% % tables and figures counter without chapter
\counterwithout{table}{chapter}
\counterwithout{figure}{chapter}
% Your thesis goes here
\input{chapters/introduction}
\input{chapters/related}
\input{chapters/method}
\input{chapters/experiment}
\input{chapters/conclusion}
\backmatter
\clearpages
\phantomsection
\addcontentsline{toc}{chapter}{\bibname}
\bibliographystyle{apa}
% Your bibliography goes here
\bibliography{thesis}
\@startappendix
% 交大圖書館規定附錄在參考文獻之後
\input{chapters/otherbib}
\end{document}