\documentclass[ % the name of the author
                author={Author Name},
                % the name of the promotor
                promotor={Promotor name and title},
                % the name of the co-promotor (comment line below if you have no co-promotor)
                co-promotor={Copromotor name and title},
                % the dissertation title (which cannot be blank)
                title={This is my Thesis Title},
                % the dissertation subtitle (which can be blank "subtitle={}")
                subtitle={An Example Thesis Subtitle},
                %  the department
                department={Department of Your Department},
                %  the division
                division={Lab for Labby McLabson},
                % the year of submission
                year={2021}]{thesis}
% Essential Packages
\usepackage[utf8]{inputenc}
\usepackage{setspace}
\usepackage{geometry}
\usepackage{listings}
\usepackage{subcaption}
\usepackage[toc,page]{appendix}
\usepackage{float}
\usepackage{changepage}
\usepackage{enumitem}
\usepackage[T1]{fontenc}
\usepackage[scaled]{beramono}
\usepackage{booktabs}
\usepackage{titlesec}
\usepackage{pdfpages}
\usepackage{graphicx}
\usepackage{xfrac}
\usepackage{amsmath}
\usepackage{mathtools}
\usepackage{fancyhdr}
\usepackage{tikz}
\usepackage{caption}
\usepackage{subcaption}
\usepackage{amssymb}
\usepackage{xurl}
\usepackage{hyperref}
\usepackage{booktabs}
\usepackage{dcolumn}
\usepackage{pictex}
\usepackage{changepage}
\usepackage{enumitem}
\usepackage{xcolor}
\usepackage{ragged2e}
 
% tikz setup
\usetikzlibrary{arrows,backgrounds}
\usepgflibrary{shapes.multipart}
\usetikzlibrary{decorations.pathreplacing}
% Caption setup
\captionsetup[figure]{font=scriptsize, labelfont=scriptsize}
% paragraph indentation and spacing
\setlength{\parindent}{0em}
\setlength{\parskip}{1em}
% Page style and headers
\pagestyle{fancy}
\fancyhf{}
\rhead{}
\lhead{\texttt{}}
\cfoot{\thepage}
% DOCUMENT START
\begin{document}
% title page and frontmatter
\maketitle
\frontmatter
% declaration, acknowledgement, and abstract
\makedecl
\makeacknowledgement
\makeabstract
% section title spacing
\titlespacing{\section}{0pt}{10pt}{3pt}
\titlespacing{\subsection}{0pt}{4pt}{2pt}
\titlespacing{\subsubsection}{0pt}{4pt}{-4pt}
% table of contents
\setcounter{tocdepth}{1}
\tableofcontents
% glossary and mainmatter
\mainmatter
% insert paper
\input{paper.tex}
% bibliography
\clearpage
\bibliography{bibliography.bib}
% include citations for papers in bibliography which are not cited in the text
\nocite{*}
\end{document}