\documentclass[oneside]{ntuthesis}

\usepackage{times}
\usepackage{verbatim}
\usepackage{color}
\usepackage{url}
\usepackage{graphicx}
\usepackage{array}
\usepackage{wallpaper}
\usepackage[caption=false]{subfig}
\usepackage{amsmath}
\usepackage{multirow}
\usepackage{hyperref}
\usepackage{indentfirst}
%\usepackage[numbers]{natbib}

\newcommand{\var}[1]{{\operatorname{\mathit{#1}}}}

\captionsetup[subfigure]{labelformat=brace}

\makeatletter
    \setlength\@fptop{0\p@}
\makeatother


% Using the tex-text mapping for ligatures etc.
\defaultfontfeatures{Mapping=tex-text}

% Set the default fonts
\setmainfont{Times New Roman}
\setCJKmainfont[AutoFakeBold=6,AutoFakeSlant=.4]{BiauKai}

\ifdefined\withwatermark
  \CenterWallPaper{0.25}{watermark.jpg}
  \setlength{\wpXoffset}{0.5cm}
\fi

\graphicspath{{./figures/}}

% Your information goes here
\input{ntuvars}

\begin{document}

\setlength{\abovedisplayshortskip}{-10pt}%

\frontmatter

\makecover

\makeinpage

%\makecertification

\input{abstract}
\input{acknowledgements}

\clearpage
\tableofcontents
\clearpage
\listoffigures
\addcontentsline{toc}{chapter}{\listfigurename}
\clearpage
\listoftables
\addcontentsline{toc}{chapter}{\listtablename}
\clearpage

\mainmatter

% Your thesis goes here
\input{ch1}
\input{ch2}
\input{ch3}
\input{ch4}
\input{ch5}
\input{ch6}

\appendix

\backmatter

\renewcommand{\bibname}{References}  % for the report or book class
\addcontentsline{toc}{chapter}{\bibname}
\bibliographystyle{ieeetr}

% Your bibliography goes here
\bibliography{thesis}

\end{document}
