% =========== Initialization ===========
\documentclass[
12pt,
a4paper,
onecolumn,
% twoside,
]{report}
\usepackage{geometry} % To set geometry
\usepackage{graphicx} % To insert figure
\usepackage{lineno} % Use line number
\usepackage{hyperref} % Use hyperlink in table of contents
\usepackage{titlesec} % Customize title format for chapter
\usepackage{setspace}
\usepackage{subfig} % To arrange figures in vertical or parallel
% \usepackage{wrapfig} % Let text wrap pictures
\geometry{
paper = a4paper, % Set a4 paper for US letter
inner = 2cm, % Inner margin 2.5cm
outer = 2cm, % Outer margin 3.8cm
bindingoffset = 1cm, % Binding offset
top = 2.5cm, % Top margin
bottom = 2.5cm, % Bottom margin
showframe, % show how the type block is set on the page
}
% \setlength{\parindent}{0pt} % No Paragraph Indentation
\titleformat{\chapter}
{\filcenter\normalfont\Large\bfseries}
{\chaptertitlename~\thechapter} {0.5cm} {}
% =========== Information ===========
% Input your information as a parameter
% Leave a space after your degree
\newcommand{\UNIVERSITY}{National Central University}
\newcommand{\DEPARTMENT}{Department of Space Science and Engineering}
\newcommand{\DEGREE}{Master }
\newcommand{\TITLE}{These Title}
\newcommand{\AUTHOR}{Your Name}
\newcommand{\ADVISOR}{Your Prof. Name}
% ------------ Title ------------
\title{
\textbf {\UNIVERSITY}
\vspace {1cm}
\large {\DEPARTMENT}
\large {\DEGREE Thesis}
\vspace {5cm}
\textbf {\Large {\TITLE}}
\vfill
Graduate Student: \AUTHOR
Advisor: \ADVISOR
}
\author{}
% ========== Begin document ============
\begin{document}
\maketitle % create title
\pagenumbering{roman} % set page number to Roman number
% ========== Abstract ============
\newpage
\include {Chapters/Abstract.tex}
% ========== Acknowledgements ============
\newpage
\include {Chapters/Acknowledgements.tex}
% ========== List of Content/Table/Figure ============
\renewcommand\contentsname{\Large\centering Table of Contents}
\renewcommand\listfigurename{\Large\centering List of Figures}
\renewcommand\listtablename{\Large\centering List of Tables}
\tableofcontents % Prints the main table of contents
\listoffigures % Prints the list of figures
\listoftables % Prints the list of tables
% ========== Content ============
\newpage
\pagenumbering{arabic} % set page number to Arabic number
\setcounter{page}{1} % reset page number to 1
\begin{linenumbers} % Turn line numbers on unless it is the final version
\include {Chapters/Ch1_Intro.tex}
\include {Chapters/Ch2.tex}
\include {Chapters/Ch3.tex}
\include {Chapters/Ch4.tex}
\include {Chapters/Ch5.tex}
\include {Chapters/Ch6.tex}
\include {Chapters/Ch7.tex}
\include {Chapters/Ch8.tex}
\end{linenumbers} % Turn line numbers on unless it is the final version
% ========== Bibliography ============
\addcontentsline{toc}{chapter}{Bibliography}
\bibliography{ref}
\bibliographystyle{plain}
\include {Chapters/Appendix.tex}
\end{document}