76 lines
2.3 KiB
TeX
76 lines
2.3 KiB
TeX
% Packages from template
|
|
%\usepackage[utf8]{inputenc} % Umlaute
|
|
\usepackage[german]{babel} % Sprachpaket für Deutsch (Umlaute, Trennung,deutsche Überschriften)
|
|
\usepackage{graphicx} % Graphikeinbindung
|
|
\usepackage[hidelinks]{hyperref} % Hyperref (alles klickbar, Bookmarks)
|
|
\usepackage{amssymb} % Math. Symbole aus AmsTeX
|
|
% Custom packages
|
|
\usepackage[T1]{fontenc} % Fix hyphenation with umlauts, but change fonts for headlines
|
|
\usepackage{microtype} % This allows for adjusting interletter/interword-spacing? WOW
|
|
% Now force back the "original" font, to keep the style the same.
|
|
\sffamily
|
|
\DeclareFontShape{T1}{cmss}{bx}{n}
|
|
{%
|
|
<5><6><7><8><9>ecsx1000%
|
|
<10><10.95><12><14.4><17.28><20.74><24.88>ecsx1000%
|
|
}{}
|
|
|
|
% More packages ...
|
|
\usepackage[autostyle=true,german=quotes]{csquotes} % Anführungszeichen mit \enquote{}
|
|
\usepackage{textcomp} % Zusätzliches Package für °C
|
|
\usepackage{listings} % Codesnippets
|
|
\usepackage{scrhack} % Hack for lstlisting i suspect :-/
|
|
\usepackage{xcolor}
|
|
\usepackage{float}
|
|
\usepackage{soul}
|
|
\usepackage{verbatim} % für comment-environment
|
|
\usepackage{amsmath}
|
|
\usepackage{enumitem} % enumerate mit benutzerdefinierten Labels
|
|
\usepackage{caption}
|
|
%\captionsetup[table]{skip=8pt}
|
|
\usepackage[numbers]{natbib} % Let's try alphadin bibliography style
|
|
|
|
% Setup für Codeblocks
|
|
\lstset{
|
|
% Optionen
|
|
breaklines=true,
|
|
breakatwhitespace=true,
|
|
breakautoindent=true,
|
|
frame=single,
|
|
%framexleftmargin=19pt,
|
|
inputencoding=utf8,
|
|
%language=awk,
|
|
%numbers=left,
|
|
%numbersep=8pt,
|
|
showspaces=false,
|
|
showstringspaces=false,
|
|
tabsize=1,
|
|
%xleftmargin=19pt,
|
|
captionpos=b,
|
|
% Styling
|
|
basicstyle=\footnotesize\ttfamily,
|
|
commentstyle=\footnotesize,
|
|
keywordstyle=\footnotesize\ttfamily,
|
|
numberstyle=\footnotesize,
|
|
stringstyle=\footnotesize\ttfamily,
|
|
}
|
|
% Hack für Sonderzeichen in Codeblocks
|
|
\lstset{literate=%
|
|
{Ö}{{\"O}}1
|
|
{Ä}{{\"A}}1
|
|
{Ü}{{\"U}}1
|
|
{ß}{{\ss}}1
|
|
{ü}{{\"u}}1
|
|
{ä}{{\"a}}1
|
|
{ö}{{\"o}}1
|
|
{°}{{${^\circ}$}}1
|
|
}
|
|
|
|
% Befehl für TODO-Markierungen
|
|
\newcommand{\todo}[1]{\textcolor{blue}{\emph{TODO: #1}}}
|
|
|
|
% Environment für Entwürfe
|
|
\newenvironment{draft}{\par\color{magenta}\begin{center}Entwurf Beginn\end{center}\hrule}{\hrule\begin{center}Entwurf Ende\end{center}\par}
|
|
|
|
% Broken citation needs broken command
|
|
\newcommand\mathplus{+} |