masterthesis/report.tex
Valentin Brandl 02d8abd2cd Content
2022-04-17 17:05:56 +02:00

145 lines
2.8 KiB
TeX

% 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,
fontsize=13pt,
BCOR=10mm,
department=FakIM,
% lucida,
% KeepRoman,
oneside,
parskip=half,
automark,
headsepline,
% footsepline,
]{OTHRartcl}
% page layout and margins
\usepackage[a4paper, total={6in, 8in}]{geometry}
% 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{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}
\usepackage{nth}
% 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}
\input{acronyms}
% bibliography
\usepackage[datamodel=archived,backend=biber]{biblatex}
\input{extended_bibliography}
\addbibresource{bibliography.bib}
% OTH specific commands for logos, colors
\usepackage{OTHR}
% line spacing
\usepackage[onehalfspacing]{setspace}
\usepackage[plain]{fancyref}
% TODO: start new page with each new section
% \AddToHook{cmd/section/before}{\clearpage}
% hyperlinks
\usepackage[pdftex,colorlinks=false]{hyperref}
% make overfull hbox warnings prominently visible in document
\overfullrule=2cm
\pagestyle{headings}
% metadata like title, author, supervisor, ...
\input{metadata}
% custom commands
\input{commands}
\graphicspath{{assets/}}
% \setcounter{tocdepth}{2}
% makes biblatex happier to break URLs (for lowercase letters), see https://tex.stackexchange.com/a/134281
\setcounter{biburllcpenalty}{1000}
% same as above, but for uppercase letters, slightly less happy to break there
\setcounter{biburlucpenalty}{2000}
\begin{document}
\maketitle
\include{abstract}
\tableofcontents
\clearpage{}
\listoftodos{}
\include{content}
\cleardoublepage{}
\include{appendix}
\end{document}
% vim: set filetype=tex ts=2 sw=2 tw=0 foldmethod=marker et :