Thesis

LaTeX repo for M. S.; A thesis submitted to the faculty of the University of Tennessee at Chattanooga in partial fulfillment of the requirements of the degree of Master of Science.

Category

masters

License

Free to use (MIT)

File

main.tex

main.texRead-only preview
\documentclass[12pt]{report}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage[giveninits=true]{biblatex}
\setlength\bibitemsep{\baselineskip}
\usepackage{algorithm}
\usepackage{algpseudocode}
\usepackage{mathtools}
\usepackage{todonotes}
\usepackage{authblk}
\usepackage{float}
\usepackage{setspace}
\usepackage{indentfirst}
\usepackage{epsfig}
\usepackage{graphicx}
\usepackage{caption}%better captions for figures and tables
\usepackage{afterpage}
\usepackage{subcaption}

\usepackage{amsmath,amsfonts,amssymb,amsthm}
\usepackage[a4paper, right=1in, left=1in,top=2in,bottom=1in, headheight=0in]{geometry}%margins
\usepackage{multicol}
\usepackage{csquotes}
\usepackage{xcolor}
\usepackage{listings}
\usepackage{nomencl}
\usepackage[acronym, nopostdot, nogroupskip, nonumberlist]{glossaries}
\makeglossaries

\makenomenclature
\usepackage[md]{titlesec}
\usepackage{tocloft}
\usepackage{mathptmx}
\usepackage{glossary-inline}
\usepackage{etoolbox}

\usepackage{everypage}
\usepackage{calc}
\usepackage{url}
\urlstyle{same}

\renewcommand{\thechapter}{\arabic{chapter}.}
\renewcommand{\thesection}{\thechapter\arabic{section}}
\renewcommand{\thefigure}{\thechapter\arabic{figure}}
\renewcommand{\thetable}{\thechapter\arabic{table}}
\renewcommand{\theequation}{\thechapter\arabic{equation}}

\AddEverypageHook{\addtocontents{toc}{
\protect\cftsetpnumwidth{\widthof{\thepage}-.2em}
}}

\AddEverypageHook{\addtocontents{lof}{
\protect\cftsetpnumwidth{\widthof{\thepage}-.2em}
}}

\AddEverypageHook{\addtocontents{lot}{
\protect\cftsetpnumwidth{\widthof{\thepage}-.2em}
}}

\setglossarystyle{tree}
\renewcommand\glstreepredesc{, }

\makeatletter
\patchcmd{\@chapter}{\addtocontents{lof}{\protect\addvspace{10\p@}}}{}{}{}% LoF
\patchcmd{\@chapter}{\addtocontents{lot}{\protect\addvspace{10\p@}}}{}{}{}% LoT
\patchcmd{\chapter}{\addtocontents{toc}{\protect\addvspace{10\p@}}}{}{}{}% LoT
\patchcmd{\part}{\addtocontents{toc}{\protect\addvspace{10\p@}}}{}{}{}% LoT
\makeatother

% Name overrides
\addto\captionsenglish{
\renewcommand{\listfigurename}{\normalfont\normalsize LIST OF FIGURES}
\renewcommand{\chaptername}{\normalfont\normalsize CHAPTER}
\renewcommand{\listtablename}{\normalfont\normalsize LIST OF TABLES}
\renewcommand{\nomname}{\normalfont\normalsize LIST OF SYMBOLS}
\renewcommand*\contentsname{\normalfont\normalsize TABLE OF CONTENTS}
}




% Formatting
\setlength{\parindent}{0.5in}
\setlength{\cftbeforetoctitleskip}{0.8in}
\setlength{\cftbeforeloftitleskip}{0.8in}
\setlength{\cftbeforelottitleskip}{0.8in}
\setlength{\cftafterloftitleskip}{2.0\baselineskip}
\setlength{\cftafterlottitleskip}{2.0\baselineskip}
\setlength{\cftaftertoctitleskip}{1.0\baselineskip}
\titleformat{\chapter}[display]{\centering\normalfont\normalsize}{CHAPTER \arabic{chapter}}{0pt}{}{}
\titleformat*{\section}{\raggedright\bfseries\normalsize}
\titleformat*{\subsection}{\raggedright\bfseries\itshape\normalsize}
\titleformat*{\subsubsection}{\normalfont\underline\normalsize}
\renewcommand\cftchapfont{\normalfont\normalsize}
\renewcommand\cftchappagefont{\normalfont\normalsize}
\renewcommand\cftpartfont{\normalfont\normalsize}
\renewcommand\cftpartpagefont{\normalfont\normalsize}
\renewcommand{\glsnamefont}[1]{\normalfont{#1}}

\renewcommand{\cftpartleader}{\cftdotfill{\cftdot}}
\renewcommand{\cftsecleader}{\cftdotfill{\cftdot}}
\renewcommand{\cftchapleader}{\cftdotfill{\cftdot}}
\renewcommand{\cftsubsecleader}{\cftdotfill{\cftdot}}
\renewcommand{\cftfigleader}{\cftdotfill{\cftdot}}
\renewcommand{\cfttableader}{\cftdotfill{\cftdot}}
\renewcommand\cftchapafterpnum{\vskip0.5\baselineskip}
\renewcommand\cftpartafterpnum{\vskip\baselineskip}
\renewcommand\cftfigafterpnum{\vskip\baselineskip}
\renewcommand\cfttabafterpnum{\vskip\baselineskip}
\renewcommand{\glsgroupskip}{\vskip\baselineskip}
% Spacing
\titlespacing{\chapter}{0pt}{0.7in}{\baselineskip}
\titlespacing*{name=\chapter,numberless}{0pt}{0.8in}{\baselineskip}
\titlespacing*{\section}{0pt}{1\baselineskip}{0pt}%spacing between headings
\titlespacing*{\subsection}{0pt}{1\baselineskip}{0pt}
\titlespacing{\subsection}{0pt}{1\baselineskip}{0pt}

% Indents
\cftsetindents{chapter}{.2in}{.25in}
\cftsetindents{section}{.45in}{.25in}
\cftsetindents{subsection}{0.7in}{0.4in}

% References
\addbibresource{references.bib}
\input{chapters/ix-Acronyms.tex}




\begin{document}

\captionsetup[table]{labelsep=newline}
\captionsetup[figure]{labelsep=newline}


% Coverpage
\input{chapters/i-Coverpage.tex}
\newpage

% Title
\input{chapters/ii-Title.tex}
\newpage

\newgeometry{right=1in, left=1in,top=1in,bottom=1in, headheight=0in}

% Abstract
\singlespacing
\pagenumbering{roman}
\setcounter{page}{3}
\addcontentsline{toc}{part}{\vspace{-2.0\baselineskip}\normalfont\normalsize ABSTRACT}
\input{chapters/iii-Abstract.tex}
\newpage

% Acknowledgements
\addcontentsline{toc}{part}{\vspace{-2.0\baselineskip}\normalfont\normalsize ACKNOWLEDGEMENTS}
\input{chapters/iv-Acknowledgements.tex}
\newpage

\singlespacing
% Table of Contents
\begin{center}
    \tableofcontents
\end{center}
\newpage


% List of Tables
\addcontentsline{toc}{part}{\vspace{-2.0\baselineskip}\normalfont\normalsize LIST OF TABLES}
\begin{center}
    \listoftables
\end{center}
\newpage

% List of Figures
\begin{center}
    \listoffigures
\end{center}
\addcontentsline{toc}{part}{\vspace{-2.0\baselineskip}\normalfont\normalsize LIST OF FIGURES}
\newpage


% List of Abbreviates
\addcontentsline{toc}{part}{\vspace{-2.0\baselineskip}\normalfont\normalsize LIST OF ABBREVIATIONS}
\input{chapters/ListOfAbbreviations.tex}
\newpage

% List of Symbols
\addcontentsline{toc}{part}{\vspace{-1.0\baselineskip}\normalfont\normalsize LIST OF SYMBOLS}
\input{chapters/x-Symbols.tex}
\newpage

\cftaddtitleline{toc}{part}{\vspace{-1.0\baselineskip}\normalfont\normalsize CHAPTER}{}

\raggedright
% Introduction
\doublespacing
\pagenumbering{arabic}
\input{chapters/01-Introduction.tex}
\newpage

% Literature Review
\input{chapters/02-Background.tex}
\newpage

% Methodology
\input{chapters/03-Methodology.tex}
\newpage

% Results
\input{chapters/04-Results.tex}
\newpage

% Conclusion
\input{chapters/05-Conclusion.tex}
\newpage

% References
\addcontentsline{toc}{part}{\vspace{-2.0\baselineskip}\normalfont\normalsize REFERENCES}
\singlespacing
\chapter*{REFERENCES}
\vspace{\baselineskip}
\printbibliography[heading=none]
\newpage

% Vita
\addcontentsline{toc}{part}{\vspace{-2.0\baselineskip}\normalfont\normalsize VITA}
\input{chapters/Vita.tex}


\end{document}
Preview
Thesis preview
Thesis LaTeX Template | Bibby | Bibby AI