%!TEX ROOT=sample-thesis.tex
%!TEX PROGRAM=xelatex
%%%%%%%%%%%%%%%%%%
%% Sample thesis using umsthesis.cls, August 4, 2016.
%% by Lian Tze LIM (liantze@gmail.com)
%% http://liantze.penguinattack.org/latextypesetting.html#umsthesis
%%
%% Possible options:
%% english -- Thesis in English (default).
%% bahasam -- Thesis in Bahasa Malaysia.
%% usesansmath -- Uses Tahoma for alphabetic math symbols too
%% microtype -- Even nicer typographic output! Reduces chances of hyphenation
%% but *sometimes* (though rare) may cause an endless loop as
%% the typesetting engine tries to find an optimal line break.
%%%%%%%%%%%%%%%%%%
\documentclass[microtype]{umsthesis}
% \documentclass[microtype,bahasam]{umsthesis}
%% Theses in Bahasa Malaysia may use another style;
%% consult your faculty/school and change accordingly
\usepackage[natbibapa]{apacite}
\setcitestyle{notesep={: }}
\apptocmd{\bibfont}{\SingleSpacing}{}{}
\setlength{\bibsep}{\onelineskip}
\bibliographystyle{apacite}
%% Load any other packages you need here
\usepackage{graphicx}
%% Very useful if you're in engineering, chemistry, physics
\usepackage{siunitx}
%% Various symbols (e.g. musical notes)
\usepackage{wasysym}
%% Just for generating dummy text.
\usepackage{lipsum}
% %% Information about your thesis
\author{Lim Lian Tze}
\matric{PK00001}
\title{\LaTeX{} Thesis Template for Universiti Sabah Malaysia}
\degree{Doctor of Philosophy}
\studyfield{Computer Science}
\faculty{Faculty of Engineering}
\submissionyear{2016}
% \submissionmonth{March}
\vivadate{20 May 2016}
\begin{document}
\frontmatter
%% Generates the cover page, a blank page, and then the title page
\makecoverandtitlepage
%% Candidate's Declaration (remember to sign!)
\makedeclaration{1 Aug 2016}
%% Supervisor's Declaration (remember to sign!)
\begin{SVdeclaration}
\member{Main Supervisor}{Name of Supervisor}
\member{Co-Supervisor}{Name of Co-supervisor}
\end{SVdeclaration}
%% Acknowledgements in a separate file
\input{acknowledgements}
%% English and Malay abstracts in their respective files
\inputEnAbstract{sample-abstract}
\inputMsAbstract[Nyatakan Tajuk Bahasa Malaysia]{sample-msabstract}
%% Content lists
{\clearpage\SingleSpacing
\tableofcontents\clearpage
\listoftables\clearpage
\listoffigures\clearpage
\listofphotos\clearpage
\input{abbrevlist}\clearpage
\input{symbollist}\clearpage
\input{musiclist}\clearpage
\listofappendices\clearpage
}
\mainmatter
%% Recommended to put chapters in separate files
\input{sample-chap-intro}
\input{sample-chap-dummy}
%% Your .bib bibliography file (without .bib extension)
\bibliography{myrefs}
%% Glossary (optional)
\input{glossary}
% %% Recommended to put appendices in separate files
\appendix
\input{sample-appen-manual}
\input{sample-appen-try}
\end{document}