% silence external warnings
\RequirePackage{silence}
\WarningFilter{scrreprt}{Usage of package `titlesec'}
\WarningFilter{scrreprt}{Activating an ugly workaround}
\WarningFilter{titlesec}{Non standard sectioning command detected}
\WarningFilter{microtype}{protrusion codes list}
\WarningFilter{latexfont}{Font}
\WarningFilter{latexfont}{Some font shapes}

% \documentclass[11pt]{diazessay}
\documentclass[a4paper,
DIV=13,
12pt,
BCOR=10mm,
department=FakIM,
% lucida,
% KeepRoman,
oneside,
parskip=half,
automark,
headsepline,
% footsepline,
]{OTHRartcl}

% document language and hyphenation
\usepackage[main=english,english,ngerman]{babel}
% math stuff
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{mathtools}

\usepackage{tikz}

% positioning
\usepackage{float}

\usepackage{todonotes}

% nice tables
\usepackage{booktabs}

% date formatting
\usepackage[english]{isodate}

% timelines
\usepackage{chronology}

% code listings
\usepackage{minted}

% UTF-8 encoding
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}

% language specific quotes and general recommendations for biblatex
\usepackage{lmodern,xpatch}
\usepackage[autostyle]{csquotes}

% formatting numbers
\usepackage{nicefrac}
% units
\usepackage{siunitx}
\sisetup{%
   group-separator={,},
   group-minimum-digits=5,
   range-phrase={\text{\ensuremath{-}}},
   per-mode = fraction,
   fraction-function=\nicefrac,
}
\DeclareSIUnit{\request}{req}
\DeclareSIUnit{\bit}{Bit}

% images
\usepackage{graphicx}
\usepackage{caption}
\usepackage{subcaption}

% acronyms
\usepackage{acro}
\acsetup{single,make-links=true}
\include{acronyms}

% bibliography
\usepackage[datamodel=archived,backend=biber]{biblatex}
\include{extended_bibliography}
\addbibresource{bibliography.bib}

% OTH specific commands for logos, colors
\usepackage{OTHR}

% line spacing
\usepackage[onehalfspacing]{setspace}

% hyperlinks
\usepackage[pdftex,colorlinks=false]{hyperref}

% make overfull hbox warnings prominently visible in document
\overfullrule=2cm

\pagestyle{headings}

% metadata like title, author, supervisor, ...
\include{metadata}
% custom commands
\include{commands}

\graphicspath{{assets/dot/}, {assets/}}

\setcounter{tocdepth}{2}

\begin{document}

\maketitle

\include{abstract}

\tableofcontents

\include{content}

\cleardoublepage{}

\include{appendix}

\end{document}

% vim: set filetype=tex ts=2 sw=2 tw=0 foldmethod=marker et :
