69 lines
1.6 KiB
TeX
69 lines
1.6 KiB
TeX
\documentclass{article}[a4paper]
|
|
\date{\today}
|
|
|
|
\usepackage[ngerman]{babel}
|
|
% only need this with pdflatex, don't use with xelatex
|
|
%\usepackage[T1]{fontenc}
|
|
|
|
\usepackage{a4wide}
|
|
\usepackage{mathtools}
|
|
\usepackage{amsthm}
|
|
\usepackage{amssymb}
|
|
\usepackage{amsmath}
|
|
\usepackage{amsfonts}
|
|
\usepackage{hyphenat}
|
|
\usepackage{tikz}
|
|
\usepackage{graphicx}
|
|
\usepackage{xcolor}
|
|
\usepackage{color}
|
|
|
|
%%% lorem ipsum text
|
|
\usepackage{blindtext}
|
|
|
|
%%% figures in text flow
|
|
\usepackage{wrapfig}
|
|
|
|
%%% links in toc etc
|
|
\usepackage{hyperref}
|
|
|
|
%%% source code
|
|
\usepackage{listings}
|
|
\usepackage{minted}
|
|
\definecolor{bg}{rgb}{0.95, 0.95, 1.0}
|
|
|
|
%%% define own enumeration styles
|
|
% use custom labels with `\begin{enumerate}[label=$\bullet$]`
|
|
\usepackage{enumerate}
|
|
\usepackage{enumitem}
|
|
\setlist{nosep}
|
|
\setlist[enumerate, 1]{label=$\bullet$}
|
|
\setlist[enumerate, 2]{label=$\bullet$}
|
|
\setlist[enumerate, 3]{label=$\bullet$}
|
|
|
|
%%% cleaner newline indentation
|
|
\usepackage[parfill]{parskip}
|
|
|
|
%%% break page on new section
|
|
\usepackage{titlesec}
|
|
\newcommand{\sectionbreak}{\clearpage}
|
|
|
|
%%% remove page numbers (fancyhdr provides its own)
|
|
\usepackage{nopageno}
|
|
|
|
%%% fancy headers and footers
|
|
\usepackage{fancyhdr}
|
|
\pagestyle{headings}
|
|
|
|
%%% theorem-style environments
|
|
\usepackage{proof}
|
|
\theoremstyle{definition}
|
|
\newtheorem{definition}{Definition}[section]
|
|
\newtheorem{example}{Beispiel}[section]
|
|
\newtheorem{algo}{Algorithmus}[section]
|
|
\newtheorem{theorem}{Satz}[section]
|
|
\newtheorem*{remark}{Bemerkung}
|
|
|
|
%%% bibtex - cite with \autocite{}, will show in footnote
|
|
\usepackage{csquotes}
|
|
\usepackage[style=verbose-trad2]{biblatex}
|