
Thesis template for bachelors degree

\documentclass[a4paper, 12pt]{report}
% Includes
%
% Page Size
\usepackage[top=2.5cm, bottom=2.5cm, left=3.5cm, right=3.5cm]{geometry} 
% Encoding
\usepackage[utf8]{inputenc} 
% Images
\usepackage{graphicx}
% Code Formatting %
\usepackage{listings}
% Color for the code formatting %
\usepackage{color}
% Font: Times New Roman
\usepackage{times}
% Table of contents bindings
\usepackage[nottoc]{tocbibind}
% Table of contents reference links
\usepackage[unicode]{hyperref}
% British language
\usepackage[british]{babel}
% Blank Page
\usepackage{afterpage}
% Use caption packages for source..
\usepackage{caption}
% Options:
% 
% Line Spread
\linespread{1}  
% Image Path
\graphicspath{ {figures/} }
% Paragraph Indentation
\setlength{\parindent}{1cm}
% Configure colors for code formatting %
\definecolor{codegreen}{rgb}{0,0.6,0}
\definecolor{codegray}{rgb}{0.5,0.5,0.5}
\definecolor{codepurple}{rgb}{0.58,0,0.82}
\definecolor{backcolour}{rgb}{0.95,0.95,0.92}
 
\lstdefinestyle{default_code_style}{
    backgroundcolor=\color{backcolour},   
    commentstyle=\color{codegreen},
    keywordstyle=\color{magenta},
    numberstyle=\tiny\color{codegray},
    stringstyle=\color{codepurple},
    basicstyle=\footnotesize,
    breakatwhitespace=false,         
    breaklines=true,                 
    captionpos=b,                    
    keepspaces=true,                 
    numbers=left,                    
    numbersep=5pt,                  
    showspaces=false,                
    showstringspaces=false,
    showtabs=false,                  
    tabsize=2
}
\lstset{style=default_code_style}
% Create source command to specify source of the figures
\newcommand{\source}[1]{\caption*{Source: {#1}} }
\begin{document}
% Disable page numbering
\pagenumbering{gobble}
% Introductory Stuff
\input{thesis/cover.tex}
\input{thesis/declaratie.tex}
\tableofcontents{\newpage}
% \afterpage{\null\newpage}
% Enable Page Numbering
\setcounter{page}{1}
\pagenumbering{arabic}
    
% Thesis content
\input{thesis/chapters/introduction.tex}
% \input{thesis/chapters/requirements_and_specs.tex}
\input{thesis/chapters/backend_development.tex}
% \input{thesis/chapters/deployment.tex}
\input{thesis/chapters/conclusion.tex}
% Endpages
\listoffigures
% Disable page numbering
\pagenumbering{gobble}
\input{thesis/bibliography.tex}
\end{document}