\documentclass[a4paper,10pt]{article}

%----------------------------------------------------------------------------------------
%	FORMATTING
%----------------------------------------------------------------------------------------

\setlength{\parskip}{0pt}
\setlength{\parindent}{0pt}
\setlength{\voffset}{-15pt}

%----------------------------------------------------------------------------------------
%	PACKAGES AND OTHER DOCUMENT CONFIGURATIONS
%----------------------------------------------------------------------------------------

\usepackage[a4paper, margin=2.5cm]{geometry} % Sets margin to 2.5cm for A4 Paper
\usepackage[onehalfspacing]{setspace} % Sets Spacing to 1.5

\usepackage[T1]{fontenc} % Use European encoding
\usepackage[utf8]{inputenc} % Use UTF-8 encoding
\usepackage{charter} % Use the Charter font
\usepackage{microtype} % Slightly tweak font spacing for aesthetics

\usepackage[english, ngerman]{babel} % Language hyphenation and typographical rules

\usepackage{amsthm, mathtools, amssymb} % Mathematical typesetting
\usepackage{marvosym, wasysym} % More symbols
\usepackage{float} % Improved interface for floating objects
\usepackage[final, colorlinks = true, 
linkcolor = black, 
citecolor = black,
urlcolor = black]{hyperref} % For hyperlinks in the PDF
\usepackage{graphicx, multicol} % Enhanced support for graphics
\usepackage{xcolor} % Driver-independent color extensions
\usepackage{listings} % Environment for non-formatted code
\usepackage{pseudocode} % Environment for specifying algorithms in a natural way
\usepackage{booktabs} % Enhances quality of tables

\usepackage{titlesec} % Allows customization of titles
\titleformat{\section}{\large}{\currentSeries.\thesection}{1em}{}
\renewcommand\thesubsection{\alph{subsection})} % Alphabetic numerals for subsections
\titleformat{\subsection}[runin]{\large}{\thesubsection}{1em}{}
\renewcommand\thesubsubsection{\roman{subsubsection}.} % Roman numbering for subsubsections
\titleformat{\subsubsection}[runin]{\large}{\thesubsubsection}{1em}{}

% DATES
\usepackage[ddmmyyyy]{datetime}
\renewcommand{\dateseparator}{.}

% HEADER & FOOTER
\usepackage{fancyhdr} 
\pagestyle{fancy} % All pages have headers and footers
\fancyhead{}\renewcommand{\headrulewidth}{0pt} % Blank out the default header
\fancyfoot[L]{\textsc{}} % Custom footer text
\fancyfoot[C]{} % Custom footer text
\fancyfoot[R]{\thepage} % Custom footer text

\newcommand{\currentSeries}{}

\begin{document}
  
  \title{template_assignment} % Article title
  \fancyhead[C]{}
  \begin{minipage}{0.295\textwidth} % Left title
    \raggedright
    Julian Steinmann 
    \medskip\hrule
  \end{minipage}
  \begin{minipage}{0.4\textwidth} % Center title
    \centering 
    \large
    Beispiel \(\mathcal{O}\)-Notation \\ % Assignment 
    \normalsize
  \end{minipage}
  \begin{minipage}{0.295\textwidth} % Right title 
    \raggedleft
    \today 
    \medskip\hrule
  \end{minipage}
  \section*{}

  Sei folgende Aufgabe gegeben: \\
  \subsection{}
  Zeigen oder widerlegen Sie \(\log(n^n) \le \mathcal{O}(4n)\).
  
  \begin{align*}
      \lim_{n\to \infty} \frac{\log(n^n)}{4n} &= \lim_{n\to \infty} \frac{n \log n}{4n} \\ &= \lim_{n\to\infty} \frac{\log n + 1}{4} \quad \text{ (L'Hopital)}\\ &= \infty
  \end{align*}
  also gilt mit Theorem 1.1 aus dem Skript \(\log(n^n) \nleq \mathcal{O}(4n)\).
  \bigskip
\end{document}
