\documentclass{article}[a4paper] \date{\today} \usepackage[ngerman]{babel} \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} %%% make \paragraph{} and \subparagraph{} look like a normal subsection \makeatletter \renewcommand\paragraph{% \@startsection{paragraph}{4}{0mm}% {-\baselineskip}% {.5\baselineskip}% {\normalfont\normalsize\bfseries}} \makeatother \makeatletter \renewcommand\subparagraph{% \@startsection{subparagraph}{4}{0mm}% {-\baselineskip}% {.5\baselineskip}% {\normalfont\normalsize\bfseries}} \makeatother \setcounter{tocdepth}{5} \setcounter{secnumdepth}{5} %%% 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} \usepackage[skins]{tcolorbox} % just saved, not using anymore %\tcolorboxenvironment{definition}{blanker, before skip=10pt,after skip=10pt} % definition \theoremstyle{definition} \newtheorem{definition}{Definition}[section] \newtheorem{example}{Beispiel}[section] \newtheorem{algo}{Algorithmus}[section] \newtheorem{theorem}{Satz}[section] \newtheorem*{remark}{Bemerkung}