\documentclass[12pt,a4paper,twoside]{book}
% change this to oneside if you want the margin on one side only
\usepackage[T1]{fontenc}
% Structure packages
\usepackage[round]{natbib} % Manage refs
\usepackage{appendix} % Appendices
\usepackage{titlesec}
\usepackage{calc}
\usepackage{tocbasic}
% For including images
\usepackage{graphicx}
\usepackage{subcaption}
\usepackage{tikz}
\usetikzlibrary{patterns, shadings, arrows.meta, decorations.pathreplacing}
\usepackage{epigraph}
\usepackage{wrapfig}
% Text packages
\usepackage{bold-extra} % Allows bold SC
\usepackage{adforn} % Adornments
\usepackage{lipsum} % Dummy text
\usepackage[hyperfootnotes=false]{hyperref} % Hyperlinks
\usepackage{etoolbox} % Tool for next command
\appto\UrlBreaks{\do\-} % Break urls properly
\usepackage{enumitem} % Enumerate items
\usepackage{footnote} % Footnotes
\usepackage{footmisc} % Footnote options
\usepackage{ragged2e} % Alignment
\usepackage{siunitx} % SI units
\usepackage{lettrine} % big letters
\usepackage{anyfontsize} % fix sizes
\usepackage{Zallman} % Lettrine
\usepackage{Royal} % Lettrine
\usepackage{Elzevier} % Lettrine
\usepackage{GoudyIn} % Lettrine
\usepackage{footmisc} % Footnote tools
\usepackage{tipa} % write IPA
% Colour packages
\usepackage{color} % Custom colours
\usepackage[table]{xcolor} % Table colours
% Page packages
\usepackage{geometry} % Page shape
\usepackage{setspace} % Line spacing
\usepackage{fancyhdr} % Header and footer
\usepackage[most]{tcolorbox} % Nice boxes
% Table packages
\usepackage{booktabs} % Nice lines
\usepackage{multirow} % Combined rows
\usepackage{multicol} % Combined columns
\usepackage{array} % Custom col types
\usepackage{longtable} % Multi-page table
\usepackage{adjustbox} % Scale table
% Math formatting
\usepackage{amsmath} % Math symbols and macros
\usepackage{amssymb} % More symbols
\usepackage{bbm} % more math
\usepackage{mathtools} % matrix tools
% Fix spacing on \left and \right commands
\let\originalleft\left
\let\originalright\right
\renewcommand{\left}{\mathopen{}\mathclose\bgroup\originalleft}
\renewcommand{\right}{\aftergroup\egroup\originalright}
% Custom colours:
\definecolor{title-col}{HTML}{0d334d}
\definecolor{frameblue}{rgb}{0.34, 0.7, 1}
\definecolor{nicegrey}{HTML}{cccccc}
% Hyper-ref setup
\hypersetup{colorlinks = true,
linkcolor = black,
anchorcolor = black,
citecolor = blue,
filecolor = black,
urlcolor = blue}
% 1.5 spacing setup, with single spaced footnotes
\setstretch{1.5}
\renewcommand{\footnotelayout}{\setstretch{1}}
% Subfigure setup
\captionsetup[subfigure]{justification=centering}
% Subfigure capital A B C
\renewcommand\thesubfigure{\Alph{subfigure}}
% Page setup
\geometry{
top=2.5cm,
bottom=2.5cm,
left=4cm,
right=2cm}
\setlength{\headheight}{14.5pt}
\pagestyle{fancy}
\fancyhf{}
\chead{\thepage}
\renewcommand{\headrulewidth}{0pt}
\fancypagestyle{plain}{\fancyhead{}\fancyfoot{}}
% Title page stuff
\input{style_files/chapter_headings}
\newcommand{\mytext}[2]{%
\textbf{\Huge\textcolor{#1}{\textsc{#2}}}
}
% Chapter quote
\newcommand{\chapquote}[2]{\begin{quotation} #1 \end{quotation}
\begin{flushright} -- #2\end{flushright}}
% Nice looking boxes
\input{style_files/hypothesis_box}
% Blank page with university logo
\input{style_files/blankpage}
% Custom table columns
\input{style_files/columns}
% Makes twoside identical linspacing to oneside
\raggedbottom
%%%%%%%%%%%%%%%%%%%% USER CONFIG %%%%%%%%%%%%%%%%%%%%
% Define author here
\def\author{Firstname Lastname}
% Define date here
\def\date{Month Year}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\input{body}
\end{document}