%----------------------------------------------------------------------------------------
%
%
% 410 THESIS
%
%\title{THESIS TITLE}
%----------------------------------------------------------------------------------------
%----------------------------------------------------------------------------------------
% NOTES:
% - Initial template source: http://www.LaTeXTemplates.com , Authors: Steven Gunn and Sunil Patel
% - I modified their work to make my own template.
%----------------------------------------------------------------------------------------
%----------------------------------------------------------------------------------------
%
%
% DOCUMENT CONFIGURATION
%
%
%----------------------------------------------------------------------------------------
\documentclass[11pt, oneside]{book} % The default font size and one-sided printing (no margin offsets)
%----------------------------------------------------------------------------------------
% PACKAGES
%----------------------------------------------------------------------------------------
%Use the natbib reference package - read up on this to edit the reference style; if you want text (e.g. Smith et al., 2012) for the in-text references (instead of numbers), remove 'numbers'
\usepackage[square, numbers, comma, sort&compress]{natbib}
\usepackage[nottoc,numbib]{tocbibind} %Automatically adds the Bibliography and List of Figures to the Table of Contents
\usepackage[toc,page]{appendix} %Package for adding Appendices
\usepackage{setspace} %Allows you to set text spacing
\usepackage{tocloft} %Customize spacing in the Table of Contents and List of Figures
\usepackage{hyperref} %Hyperlinks
\usepackage{fancyhdr} %Fancy Headers
\usepackage{graphicx} %Graphics
\usepackage[centerlast,small,sc]{caption} %Captions
\usepackage{wrapfig} %Package to wrap text around figures
\usepackage{array} %Tables
\usepackage{mathtools} %Boxing in equations
\usepackage{braket} %Bra-ket notation
\usepackage{mathrsfs} %Fancy Letters
\usepackage{amssymb} %Bold math fonts
\usepackage{tabularx} %include tables
%----------------------------------------------------------------------------------------
% SIZING CONFIGURATIONS
%----------------------------------------------------------------------------------------
%Margins
\usepackage{geometry}
\geometry{ letterpaper,
portrait,
lmargin=1.5in,
rmargin=1.0in,
tmargin=1.0in,
bmargin=1.0in
}
\setlength{\headheight}{13.6pt}
%Line Spacing - Use 1.5 spacing for main body text
% - Need to use the "spacing" command or else the footer and captions also use 1.5 (single spacing looks better for both)
\spacing{1.5}
%Paragraph Indentation
\setlength{\parindent}{1.5em}
%Paragraph Spacing
\setlength{\parskip}{2.0ex plus0.5ex minus0.2ex}
%Separation between header and text
\setlength{\headsep}{0.125in}
%Figure Caption width
\setlength{\captionmargin}{20pt}
%----------------------------------------------------------------------------------------
%----------------------------------------------------------------------------------------
% PAGE STYLE
%----------------------------------------------------------------------------------------
%Use the "fancy" page style to implement the FancyHdr headers
%\pagestyle{fancy}
%Clears all headers and footers
%\fancyhead[LE]{}
\fancyhead[RO]{}
%\fancyhead[RE]{}
\fancyhead[LO]{}
\fancyfoot[C]{}
\rhead{\thepage} % Sets the right side header to show the page number
%Setup hyperlink colors:
\hypersetup{
linkcolor = black,
citecolor = black,
urlcolor = black,
colorlinks = true
}
%----------------------------------------------------------------------------------------
% DEFINITIONS
%----------------------------------------------------------------------------------------
\newcommand{\ttitle}{Thesis Title}
\newcommand{\authornames}{John Doe}
\title{\ttitle} % Defines the thesis title - don't touch this
%----------------------------------------------------------------------------------------
%
%
% BEGINNING CONTENT
%
%
%----------------------------------------------------------------------------------------
\begin{document}
\frontmatter % Use roman page numbering style (i, ii, iii, iv...) for the pre-content pages
%----------------------------------------------------------------------------------------
% TITLE PAGE
%----------------------------------------------------------------------------------------
\begin{titlepage}
\begin{center}
{\Huge \bfseries \ttitle} % Thesis title
~\\~\\~\\
By
{\Large \bfseries \authornames} % Author name
~\\~\\~\\
%University requirement text:
A Thesis\\
Submitted to the Department of Chemistry and Biochemistry\\
in Partial Fulfillment of the Requirements for\\
the Degree of Bachelor of Science\\
at the University of Windsor
~\\~\\~\\
Windsor, Ontario, Canada
2020 % Date
\vfill
\copyright \ \ 2020 \authornames
\end{center}
\end{titlepage}
%Let Latex know I want to count the Title page as the first page.
\setcounter{page}{2}
%----------------------------------------------------------------------------------------
% APPROVAL PAGE
%----------------------------------------------------------------------------------------
\thispagestyle{empty} % Don't include page number
\begin{center}
{\Large \bfseries \ttitle} % Thesis title
by
\authornames % Author name
~\\~\\
APPROVED BY:
~\\
\rule{0.5\textwidth}{0.4pt}\\
T. Organizer \\
Department of Chemistry and Biochemistry
~\\
\rule{0.5\textwidth}{0.4pt}\\
A. Thesis-Reader\\
Department of Chemistry and Biochemistry
~\\
\rule{0.5\textwidth}{0.4pt}\\
Y. Supervisor, Advisor\\
Department of Chemistry and Biochemistry
\vfill
\begin{flushright}
1 January 2020 % Defence Date
\end{flushright}
\end{center}
\clearpage % Start a new page
%----------------------------------------------------------------------------------------
% AUTHOR'S DECLARATION OF ORIGINALITY
%----------------------------------------------------------------------------------------
\chapter{Declaration of Originality}
I hereby certify that I am the sole author of this thesis and that no part of this thesis has been published or submitted for publication.
I certify that, to the best of my knowledge, my thesis does not infringe upon anyone's copyright nor violate any proprietary rights and that any ideas, techniques, quotations, or any other material from the work of other people included in my thesis, published or otherwise, are fully acknowledged in accordance with the standard referencing practices. Furthermore, to the extent that I have included copyrighted material that surpasses the bounds of fair dealing within the meaning of the Canada Copyright Act, I certify that I have obtained a written permission from the copyright owner(s) to include such material(s) in my thesis and have included copies of such copyright clearances to my appendix.
I declare that this is a true copy of my thesis, and that this thesis has not been submitted for a higher degree to any other University or Institution.
\clearpage % Start a new page
%----------------------------------------------------------------------------------------
% ABSTRACT PAGE
%----------------------------------------------------------------------------------------
\chapter{Abstract}
Here is an abstract, it's very short and very nice.
\clearpage % Start a new page
%----------------------------------------------------------------------------------------
% ACKNOWLEDGEMENTS PAGE
%----------------------------------------------------------------------------------------
\chapter{Acknowledgements}
I'd like to acknowledge everyone here.
\clearpage % Start a new page
\pagestyle{fancy} % The page style headers have been "empty" all this time, now use the "fancy" headers as defined before to bring them back
%----------------------------------------------------------------------------------------
% TABLE OF CONTENTS and LIST OF FIGURES
%----------------------------------------------------------------------------------------
%Set Spacing for the Table of Contents and List of Figures
\setlength\cftparskip{-4pt}
\setlength\cftbeforechapskip{0pt}
%TOC
\renewcommand{\contentsname}{Table of Contents} %Change name from "Contents" to "Table of Contents"
\lhead{Table of Contents} % Set the left side page header to "Table of Contents"
\tableofcontents % Write out the Table of Contents
\clearpage % Start a new page
%LOF
\lhead{List of Figures} % Set the left side page header to "List of Figures"
\listoffigures % Write out the List of Figures
%----------------------------------------------------------------------------------------
%
%
% THESIS CONTENT
%
%
%----------------------------------------------------------------------------------------
\mainmatter % Begin numeric (1,2,3...) page numbering
\pagestyle{fancy} % Return the page headers back to the "fancy" style
\addtocontents{toc}{\vspace{2em}} % Add a gap in the Contents, for aesthetics
%----------------------------------------------------------------------------------------
% CHAPTERS
%----------------------------------------------------------------------------------------
% Include the chapters of the thesis as separate files from the Chapters folder
\input{Chapters/Introduction} % Introduction
\input{Chapters/Methods} % Experimental
\input{Chapters/Body} %Body
\input{Chapters/Conclusion} % Conclusion
\addtocontents{toc}{\vspace{2em}} % Add a gap in the Contents, for aesthetics
%----------------------------------------------------------------------------------------
% APPENDICES
%----------------------------------------------------------------------------------------
%%%This section has been commented out as it is not needed at this point%%%
% \begin{appendices} % Cue to tell LaTeX that the following 'chapters' are Appendices
% %After the title "Appendices", I need to INDENT the appendices!
% %Resource: http://tex.stackexchange.com/questions/172496/adding-appendix-chapters-without-sections-in-table-of-contents
% %
% %Number of indents to keep: 1 - keep titles, 2 - keep titles and sections, 3 - keep titles, sections, and subsections
% \addtocontents{toc}{\protect\setcounter{tocdepth}{3}}
% %
% %SET INDENTS
% \makeatletter
% \addtocontents{toc}{
% \begingroup
% \let\protect\l@chapter\protect\l@section
% \let\protect\l@section\protect\l@subsection
% \let\protect\l@subsection\protect\l@subsubsection
% }
% \makeatother
% % Include the appendices of the thesis as separate files from the Appendices folder
% \input{Appendices/Appendix_A}
% %UNDO INDENTS
% \addtocontents{toc}{\endgroup}
% \end{appendices}
\addtocontents{toc}{\vspace{2em}} % Add a gap in the Contents, for aesthetics
%----------------------------------------------------------------------------------------
%
%
% ENDING CONTENT
%
%
%----------------------------------------------------------------------------------------
\backmatter
%----------------------------------------------------------------------------------------
% BIBLIOGRAPHY
%----------------------------------------------------------------------------------------
\lhead{Bibliography} % Change the page header to say "Bibliography"
\bibliographystyle{unsrtnat} % Use the "unsrtnat" BibTeX style for formatting the Bibliography
\bibliography{bib} % The references (bibliography) information are stored in the file named "Bibliography.bib"
\clearpage % Start a new page
%----------------------------------------------------------------------------------------
% VITA AUCTORIS
%----------------------------------------------------------------------------------------
\chapter{Vita Auctoris}
%Information
\begin{tabular}{@{}ll}
NAME: & Your name here \\
~&~\\
PLACE OF BIRTH: & Your birthplace here \\
~&~\\
YEAR OF BIRTH: & Your year of birth here \\
~&~\\
EDUCATION:
~& Your High School \\
~& Schooltown, ON, 2000
\end{tabular}
%--------------------------------------------------------------------------------------
\end{document}