-
Notifications
You must be signed in to change notification settings - Fork 129
/
thesis.tex
100 lines (77 loc) · 1.87 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
\documentclass{ntuthesis}
\usepackage{times}
\usepackage{verbatim}
\usepackage{color}
\usepackage{url}
\usepackage{graphicx}
\usepackage{array}
\usepackage{wallpaper}
\usepackage{hyperref}
\usepackage[printwatermark]{xwatermark}
\usepackage{graphicx}
\usepackage{tikz}
% Using the tex-text mapping for ligatures etc.
\defaultfontfeatures{Mapping=tex-text}
% Set the default fonts
\setmainfont{Times New Roman}
\setCJKmainfont[AutoFakeBold=true,AutoFakeSlant=true]{標楷體}
%\setCJKmainfont[BoldFont={粗楷體},ItalicFont={斜楷體}]{標楷體}
\ifdefined\firstpage
\ifdefined\withwatermark
\newsavebox\mybox
\savebox\mybox{\tikz[opacity=0.5]\node{\includegraphics{watermark.pdf}};}
\newwatermark*[allpages,xpos=6.1725cm,ypos=10.5225cm,scale=0.5]{\usebox\mybox}
\fi
% digital object identifier
\ifdefined\withdoi
\insertdoi
\fi
\fi
\makeatletter
\AtBeginDocument{
\hypersetup{
pdftitle={\@titleen},
pdfauthor={\@authoren},
pdfsubject={\@typeen{} \@classen},
pdfkeywords={\@keywordsen}
}
}
\makeatother
% Your information goes here
\input{ntuvars}
\begin{document}
\frontmatter
\makecover
\ifdefined\excludefirstpage
\ifdefined\withwatermark
\newsavebox\mybox
\savebox\mybox{\tikz[opacity=0.5]\node{\includegraphics{watermark.pdf}};}
\newwatermark*[allpages,xpos=6.1725cm,ypos=10.5225cm,scale=0.5]{\usebox\mybox}
\fi
% digital object identifier
\ifdefined\withdoi
\insertdoi
\fi
\fi
\makecertification
\input{acknowledgements}
\input{abstract}
\tableofcontents
\listoffigures
\listoftables
\mainmatter
% Your thesis goes here
\input{introduction}
%\input{related}
%\input{photoshoot}
%\input{modeling}
%\input{application}
%\input{conclusion}
\appendix
\backmatter
\phantomsection
\addcontentsline{toc}{chapter}{\bibname}
\bibliographystyle{abbrv}
% Your bibliography goes here
\bibliography{thesis}
\end{document}