\documentclass{report}

\usepackage{placeins}
\usepackage{graphicx}
\usepackage{pdfpages}
\usepackage{hyperref}
\usepackage{amssymb}
\usepackage{fancyhdr}
\usepackage{enumitem}
\usepackage{threeparttable}
\usepackage{multicol}
\usepackage[compact]{titlesec}
\usepackage{framed}
\usepackage{quoting}
\usepackage{caption}
\usepackage{xcolor}
\usepackage{minted}
\usepackage{tocloft}
\usepackage[a4paper,
            bindingoffset=0pt,
            left=3cm,
            right=3cm,
            top=3cm,
            bottom=4cm,
            footskip=1.5cm]{geometry}

% Header & footer
\pagestyle{fancy}
\fancyhf{}
\renewcommand{\headrulewidth}{0pt}
\fancyfoot[C]{\thepage}

% 2-column bibliography
\makeatletter
\renewenvironment{thebibliography}[1]
     {\begin{multicols}{2}[\chapter*{References}]%
      \small
      \list{\@biblabel{\@arabic\c@enumiv}}%
          {\settowidth\labelwidth{\@biblabel{#1}}%
            \leftmargin\labelwidth
            \advance\leftmargin\labelsep
            \@openbib@code
            \usecounter{enumiv}%
            \let\p@enumiv\@empty
            \renewcommand\theenumiv{\@arabic\c@enumiv}}%
      \sloppy
      \clubpenalty4000
      \@clubpenalty \clubpenalty
      \widowpenalty4000%
      \sfcode`\.\@m}
     {\def\@noitemerr
      {\@latex@warning{Empty `thebibliography' environment}}%
      \endlist\end{multicols}}
\makeatother

% Make links blue
\renewcommand\UrlFont{\color{blue}\rmfamily}

% Structured abstract headings
\newcommand{\absdiv}[1]{
  \par
  \noindent\textbf{#1:}
}

% Research questions list
\newlist{rqlist}{enumerate}{1}
\setlist[rqlist, 1]{
  label=\textbf{RQ\arabic{rqlisti}.},
  leftmargin=2cm,
  rightmargin=1.25cm
}

% Block quote
\definecolor{bg}{RGB}{186, 233, 255}
\colorlet{shadecolor}{bg}
\newenvironment{displayquote}
{\begin{samepage}\begin{shaded*}
  \quoting[leftmargin=0pt, vskip=0pt]
}
{\endquoting
  \end{shaded*}\end{samepage}
}

% Section numbering
\renewcommand\thechapter{\arabic{chapter}}
\renewcommand\thesection{\thechapter.\arabic{section}}
\renewcommand\thesubsection{\thesection.\arabic{subsection}}

\makeatletter
\renewcommand\small{%
   \@setfontsize\small\@ixpt{11}%
   \abovedisplayskip 8.5\p@ \@plus3\p@ \@minus4\p@
   \abovedisplayshortskip \z@ \@plus2\p@
   \belowdisplayshortskip 4\p@ \@plus2\p@ \@minus2\p@
   \def\@listi{\leftmargin\leftmargini
               \parsep 0\p@ \@plus1\p@ \@minus\p@
               \topsep 8\p@ \@plus2\p@ \@minus4\p@
               \itemsep0\p@}%
   \belowdisplayskip \abovedisplayskip
}

\frenchspacing
\widowpenalty=10000
\clubpenalty=10000

\setlength\footnotesep{12\p@}
\setlength\textfloatsep{8mm\@plus 2\p@ \@minus 4\p@}
\setlength\intextsep   {8mm\@plus 2\p@ \@minus 2\p@}

\setcounter{secnumdepth}{2}

% \renewcommand{\cftbeforetoctitleskip}{-0.25in} % position TOC title vertically

\renewcommand\@pnumwidth{2em}
\setcounter{tocdepth}{1}
\setlength{\parskip}{0.55em}
\linespread{1.2}

\def\@dottedtocline#1#2#3#4#5{%
  \ifnum #1>\c@tocdepth \else
    \vskip \z@ \@plus.2\p@
    {\leftskip #2\relax \rightskip \@tocrmarg \advance\rightskip by 0pt plus 2cm
               \parfillskip -\rightskip \pretolerance=10000
     \parindent #2\relax\@afterindenttrue
     \interlinepenalty\@M
     \leavevmode
     \@tempdima #3\relax
     \advance\leftskip \@tempdima \null\nobreak\hskip -\leftskip
     {#4}\nobreak
     \leaders\hbox{$\m@th
        \mkern \@dotsep mu\hbox{.}\mkern \@dotsep
        mu$}\hfill
     \nobreak
     \hb@xt@\@pnumwidth{\hfil\normalfont \normalcolor #5}%
     \par}%
  \fi}
\makeatother


\begin{document}

\includepdf[pages=-]{frontpage/frontpage.pdf}
\include{chapters/0_abstract}

\tableofcontents

\chapter*{Acknowledgements}
I wish to extend my special thanks to my supervisors, Prof. dr. ir. Joost Visser and Dr. Suzan Verberne, for their invaluable assistance and guidance. I would also like to thank ScoutinScience B.V. for our fruitful collaboration and for allowing me to use their software for experimentation, validation, and demonstration purposes. Last but not least, I would like to individually thank Name, Name, ..., and Name for participating and providing insightful feedback in our interviews.

\input{chapters/1_introduction}
\input{chapters/2_background}
\input{chapters/3_methods}
\input{chapters/4_design}
\input{chapters/5_cases/main}
\input{chapters/6_results}
\input{chapters/7_conclusion}

\bibliographystyle{splncs04}
\bibliography{ref}

\input{chapters/appendix}

\end{document}
