+\usepackage{epigraph} % Epigraph
+\renewcommand\partname{Movement} % Rename parts to movements (rhapsody uhu)
+\addto\captionsbritish{\renewcommand{\partname}{Movement}}
+\usepackage{titlesec}
+\makeatletter
+\titleformat{\part}[block]
+ {\Huge}
+ {\partname~\thepart:}
+ {20pt}
+ {}
+
+\newenvironment{chapterabstract}
+ {\begin{quote}}
+ {\end{quote}}
+
+% Increase the depth for the table of contents
+\setcounter{secnumdepth}{3}
+\renewcommand{\contentsname}{Table of Contents} % change the name of the TOC
+\AtBeginDocument{\addtocontents{toc}{\protect\thispagestyle{empty}}} % to remove page numbering from the TOC
+
+% (file) structure
+\usepackage[subpreambles=true]{standalone} % standalone figures
+\usepackage{morewrites} % fix no more room for a new \write
+\usepackage{appendix} % subappendices, appendices per chapter
+
+% Bibliography
+\usepackage{bibentry} % Cite bib entry completely
+\nobibliography*
+\bibliographystyle{alpha}
+
+% Hyperlinks and metadata
+\usepackage[pagebackref]{hyperref} % hyperlinks
+\renewcommand*{\backref}[1]{}
+\renewcommand*{\backrefalt}[4]{[{%
+ \ifcase #1 not cited.\or p.~#2.\else pp. #2.\fi%chktex 1
+}]}
+\hypersetup{%
+ pdftitle={\mytitle},
+ pdfauthor={\myauthor},
+ pdfkeywords={task-oriented programming, functional programming, domain specific languages, internet of things},
+ hidelinks,
+}
+\usepackage[nodayofweek]{datetime} % Use a fixed document date
+\urlstyle{same}
+\usepackage{bookmark}
+\usepackage{cleveref} % Easy references
+\crefname{part}{movement}{movements}
+\crefname{lstlisting}{listing}{listing}