masterthesis/report.tex

145 lines
2.8 KiB
TeX
Raw Normal View History

2021-02-03 10:44:28 +01:00
% 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}
2021-10-18 12:59:29 +02:00
% \documentclass[11pt]{diazessay}
\documentclass[a4paper,
DIV=13,
2022-03-24 19:48:46 +01:00
fontsize=13pt,
2021-10-18 12:59:29 +02:00
BCOR=10mm,
department=FakIM,
% lucida,
% KeepRoman,
oneside,
parskip=half,
automark,
headsepline,
% footsepline,
]{OTHRartcl}
2022-04-09 18:09:14 +02:00
% page layout and margins
\usepackage[a4paper, total={6in, 8in}]{geometry}
2021-10-18 12:59:29 +02:00
% document language and hyphenation
2022-02-27 21:19:38 +01:00
\usepackage[main=english,english,ngerman]{babel}
2021-11-11 21:28:36 +01:00
% math stuff
\usepackage{amsmath}
2022-02-27 21:19:38 +01:00
\usepackage{amsfonts}
2021-11-16 16:02:08 +01:00
\usepackage{mathtools}
2021-02-03 10:44:28 +01:00
2022-03-15 11:49:20 +01:00
\usepackage{tikz}
2022-03-08 20:15:29 +01:00
% positioning
\usepackage{float}
\usepackage{todonotes}
2022-03-17 19:20:38 +01:00
% nice tables
\usepackage{booktabs}
% date formatting
\usepackage[english]{isodate}
2022-02-27 21:19:38 +01:00
% timelines
\usepackage{chronology}
2021-12-07 17:41:57 +01:00
% code listings
2022-04-08 18:23:44 +02:00
\usepackage{listings}
2021-12-07 17:41:57 +01:00
\usepackage{minted}
2021-02-03 10:44:28 +01:00
% UTF-8 encoding
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
2021-11-11 16:45:45 +01:00
% language specific quotes and general recommendations for biblatex
2022-02-27 21:19:38 +01:00
\usepackage{lmodern,xpatch}
\usepackage[autostyle]{csquotes}
2022-03-15 18:14:22 +01:00
% formatting numbers
\usepackage{nicefrac}
2022-03-22 20:15:30 +01:00
\usepackage{nth}
2022-02-27 21:19:38 +01:00
% units
\usepackage{siunitx}
2022-03-15 18:14:22 +01:00
\sisetup{%
group-separator={,},
group-minimum-digits=5,
range-phrase={\text{\ensuremath{-}}},
per-mode = fraction,
fraction-function=\nicefrac,
}
\DeclareSIUnit{\request}{req}
\DeclareSIUnit{\bit}{Bit}
2021-02-03 10:44:28 +01:00
% images
\usepackage{graphicx}
\usepackage{caption}
\usepackage{subcaption}
2021-10-18 12:59:29 +02:00
% acronyms
\usepackage{acro}
2022-03-17 19:26:10 +01:00
\acsetup{single,make-links=true}
2022-03-17 19:30:15 +01:00
\input{acronyms}
2021-10-18 12:59:29 +02:00
% bibliography
2021-11-11 16:45:45 +01:00
\usepackage[datamodel=archived,backend=biber]{biblatex}
2022-03-17 19:30:15 +01:00
\input{extended_bibliography}
2021-10-18 12:59:29 +02:00
\addbibresource{bibliography.bib}
2021-02-03 10:44:28 +01:00
2021-10-18 12:59:29 +02:00
% OTH specific commands for logos, colors
\usepackage{OTHR}
2021-02-03 10:44:28 +01:00
2021-10-18 12:59:29 +02:00
% line spacing
\usepackage[onehalfspacing]{setspace}
2021-02-03 10:44:28 +01:00
2022-04-08 18:23:44 +02:00
\usepackage[plain]{fancyref}
2022-04-08 01:43:49 +02:00
% TODO: start new page with each new section
2022-04-08 18:23:44 +02:00
% \AddToHook{cmd/section/before}{\clearpage}
2021-10-18 12:59:29 +02:00
% hyperlinks
\usepackage[pdftex,colorlinks=false]{hyperref}
2021-02-03 10:44:28 +01:00
2021-10-18 12:59:29 +02:00
% make overfull hbox warnings prominently visible in document
\overfullrule=2cm
2021-02-03 10:44:28 +01:00
2021-10-18 12:59:29 +02:00
\pagestyle{headings}
2021-02-03 10:44:28 +01:00
2021-10-18 12:59:29 +02:00
% metadata like title, author, supervisor, ...
2022-03-17 19:30:15 +01:00
\input{metadata}
2021-10-18 12:59:29 +02:00
% custom commands
2022-03-17 19:30:15 +01:00
\input{commands}
2021-02-03 10:44:28 +01:00
2022-03-29 20:39:29 +02:00
\graphicspath{{assets/}}
2022-04-08 01:43:49 +02:00
% \setcounter{tocdepth}{2}
2022-04-14 16:27:54 +02:00
% 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}
2021-11-11 16:45:45 +01:00
2021-02-03 10:44:28 +01:00
\begin{document}
\maketitle
2021-10-18 12:59:29 +02:00
\include{abstract}
2021-02-03 10:44:28 +01:00
2021-10-18 12:59:29 +02:00
\tableofcontents
2021-02-03 10:44:28 +01:00
2022-04-08 01:43:49 +02:00
\clearpage{}
\listoftodos{}
2021-10-18 12:59:29 +02:00
\include{content}
2021-02-03 10:44:28 +01:00
2021-11-11 16:45:45 +01:00
\cleardoublepage{}
2021-02-03 10:44:28 +01:00
2021-10-18 12:59:29 +02:00
\include{appendix}
2021-02-03 10:44:28 +01:00
\end{document}
2021-10-18 12:59:29 +02:00
% vim: set filetype=tex ts=2 sw=2 tw=0 foldmethod=marker et :