masterthesis/report.tex

107 lines
2.3 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,
12pt,
BCOR=10mm,
department=FakIM,
% lucida,
% KeepRoman,
oneside,
parskip=half,
automark,
headsepline,
% footsepline,
]{OTHRartcl}
% document language and hyphenation
\usepackage[english]{babel}
2021-11-11 21:28:36 +01:00
% math stuff
\usepackage{amsmath}
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
\usepackage{lmodern,csquotes,xpatch}
2021-02-03 10:44:28 +01:00
2021-10-18 12:59:29 +02:00
% acronyms
\usepackage{acro}
\include{acronyms}
% bibliography
2021-11-11 16:45:45 +01:00
\usepackage[datamodel=archived,backend=biber]{biblatex}
%{{{ archivedat and archivedon for online sources
\NewBibliographyString{archivedat,archivedon}
\DefineBibliographyStrings{english}{%
archivedat = {archived at},
archivedon = {on},
}
\DeclareFieldFormat{archiveurl}{\bibstring{archivedat}\space\url{#1}}
\DeclareFieldFormat{archivedate}{\bibstring{archivedon}\space#1}
\newbibmacro*{archiveurl}{\printfield{archiveurl}}
\newbibmacro*{archivedate}{\printarchivedate}
\renewbibmacro*{url+urldate}{%
\usebibmacro{url}%
\iffieldundef{urlyear}
{}
{\setunit*{\addspace}%
\usebibmacro{urldate}}%
\setunit{\addcomma\space}%
\usebibmacro{archiveurl}%
\iffieldundef{archiveyear}
{}
{\setunit*{\addspace}%
\usebibmacro{archivedate}}}
%}}} archivedat and archivedon for online sources
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
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, ...
\include{metadata}
% custom commands
\include{commands}
2021-02-03 10:44:28 +01:00
2021-11-11 16:45:45 +01:00
\setcounter{tocdepth}{2}
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
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
2021-02-03 10:44:28 +01:00
% vim: set filetype=tex ts=2 sw=2 tw=0 et :