\documentclass[a4paper, 11pt]{report}

\usepackage[a4paper,total={170mm,257mm},left=2cm,top=2cm]{geometry}

\usepackage[dutch]{babel}
\usepackage{csquotes}

\usepackage{booktabs}

\usepackage[hybrid]{markdown}

\usepackage{biblatex}
\addbibresource{bibliography.bib}

\usepackage{FiraMono}
\usepackage{FiraSans}
\usepackage{DejaVuSerifCondensed}
\usepackage[T1]{fontenc}

\usepackage{titlesec}

\usepackage{makecell}

\usepackage{lipsum}

\usepackage{multirow}

\usepackage{listing}



%% For code snippets
\usepackage{listings}
\lstset{basicstyle=\ttfamily\footnotesize,breaklines=true}

\lstdefinestyle{tree}{
literate=
    {├}{{\smash{\raisebox{-1ex}{\rule{1pt}{\baselineskip}}}\raisebox{0.5ex}{\rule{1ex}{1pt}}}}1 
    {└}{{\smash{\raisebox{0.5ex}{\rule{1pt}{\dimexpr\baselineskip-1.5ex}}}\raisebox{0.5ex}{\rule{1ex}{1pt}}}}1 
    {─}{{\raisebox{0.5ex}{\rule{1.5ex}{1pt}}}}1 
    {│}{{\smash{\raisebox{-1ex}{\rule{1pt}{\baselineskip}}}\raisebox{0.5ex}{\rule{1ex}{0pt}}}}1 
}

%% Dit zorgt ervoor dat nieuwe paragraven niet
%% geindenteerd worden maar met een witregel beginnen
\usepackage{parskip}

%% Geef tabellen wat extra padding
\renewcommand{\arraystretch}{1.5}

%% Verander dit {
\newcommand{\titel}{Ontwerp}
\newcommand{\project}{Applied Network Automation}
\newcommand{\auteur}{
Martijn Remmen
}
\newcommand{\datum}{\today}
\newcommand{\opdrachtgever}{KEMBIT Services}
\newcommand{\versie}{CONCEPT}
%% }

% Voegt een changelog toe aan het begin van het document
\usepackage{changelog}
% Nederlandse vertalingen voor changelog
\DeclareTranslation{dutch}{changelog}{Versiebeheer}
\DeclareTranslation{dutch}{changelog-Added}{Toegevoegd}
\DeclareTranslation{dutch}{changelog-Changed}{Veranderd}
% \DeclareTranslation{English}{changelog-Deprecated}{Deprecated}
\DeclareTranslation{dutch}{changelog-Removed}{Verwijderd}
\DeclareTranslation{dutch}{changelog-Fixed}{Opgelost}
% \DeclareTranslation{English}{changelog-Security}{Security}
\DeclareTranslation{dutch}{changelog-Miscellaneous}{Overig}
\DeclareTranslation{dutch}{changelog-Unreleased}{Concept}
% \DeclareTranslation{English}{changelog-Yanked}{YANKED}

% Zorgt voor PDF metadata (hoofdstukken, auteur, title enzovoorts)
\usepackage[pdftex,
           pdfauthor={\auteur},
           pdftitle={\titel},
           pdfsubject={\project}]{hyperref}

\titleformat{\chapter}[hang]
    {\Huge\bfseries}{\thechapter}{20pt}{}{\Huge\bfseries}


\author{\auteur}
\date{\datum}
\title{\titel}

\begin{document}
    
    \input{coverpage}

    \input{changelog.tex}

    \tableofcontents
    \pagebreak

    \input{chapters/1 - inleiding.tex}
    \input{chapters/2 - criteria.tex}
    \input{chapters/3 - ontwerp.tex}
    \input{chapters/4 - Proof of Concept.tex}
    
    
    \printbibliography

    \appendix
    \chapter{Asset Management API Response}\label{appendix:assetmgmt_api_response}
    \lstinputlisting[numbers=left]{appendix/assetmgmt_response.json}
    
\end{document}
