University at Buffalo Thesis Template
Author
Rao Fu
Last Updated
5 anni fa
License
LaTeX Project Public License 1.3c
Abstract
UB Thesis Template. It is a simplified template.
UB Thesis Template. It is a simplified template.
\documentclass[12pt]{report}
\usepackage[letterpaper, left=1.5in, right=1in, top=1in, bottom=1in]{geometry}
\usepackage{amsmath,amssymb,amsthm,amsfonts}
\usepackage{algorithmic}
\usepackage{graphicx}
\usepackage{times} % Change to other font if needed
\usepackage{setspace}
\usepackage{textcomp}
\usepackage{xcolor}
\usepackage[bookmarks=true, hidelinks]{hyperref}
\usepackage{biblatex}
\usepackage[utf8]{inputenc}
\usepackage[explicit]{titlesec}
\usepackage[titles]{tocloft}
\usepackage{appendix}
\usepackage{listings}
\bibliography{Reference}
\begin{document}
\doublespacing
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Additional Material
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Title Page
%========================================
\input{Additional/TitlePage.tex}
\currentpdfbookmark{Title Page}{TitlePage}
% Copyright page (optional)
%========================================
\pagenumbering{roman}
\setcounter{page}{2}
\input{Additional/Copyright.tex}
% Acknowledgements Page (optional)
%========================================
%\pagenumbering{roman} % Uncomment if Copyright page is not in use
\addcontentsline{toc}{chapter}{Acknowledgments}
%\setcounter{page}{2} % Uncomment if Copyright page is not in use
\input{Additional/Acknowledgements.tex}
% Table of Contents
%========================================
%\pagenumbering{roman} % Uncomment if Copyright and Acknowledgements are not in use
%\setcounter{page}{2} % Uncomment if Copyright and Acknowledgements are not in use
\renewcommand{\cftchapdotsep}{\cftdotsep}
\renewcommand\contentsname{Table of Contents}
\begin{singlespace}
\tableofcontents
\end{singlespace}
\currentpdfbookmark{Table of Contents}{TOC}
\clearpage
% List of figures and tables
%========================================
\addcontentsline{toc}{chapter}{List of Tables}
\begin{singlespace}
\setlength\cftbeforetabskip{\baselineskip}
\listoftables
\end{singlespace}
\clearpage
\addcontentsline{toc}{chapter}{List of Figures}
\begin{singlespace}
\setlength\cftbeforefigskip{\baselineskip}
\listoffigures
\end{singlespace}
\clearpage
% Abstract
%=========================================
\input{Additional/Abstract.tex}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Main Content
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% resume page numbering for rest of document
\clearpage
\pagenumbering{arabic}
\setcounter{page}{1} % set the page number appropriately
% Chapter 1
\input{MainContent/Chapter1.tex}
% Chapter 2
\input{MainContent/Chapter2.tex}
% Chapter 3
\input{MainContent/Chapter3.tex}
% Chapter 4
\input{MainContent/Chapter4.tex}
% Chapter 5
\input{MainContent/Chapter5.tex}
\clearpage
% Appendices
\input{MainContent/Appendix.tex}
% Reference
%========================================
\begin{singlespace}
\setlength\bibitemsep{\baselineskip}
\printbibliography[title={Reference}]
\end{singlespace}
\addcontentsline{toc}{chapter}{Reference}
\end{document}