\documentclass[a4paper]{scrartcl}
\usepackage{amssymb, amsmath} % needed for math
\usepackage[utf8]{inputenc} % this is needed for umlauts
\usepackage[ngerman]{babel} % this is needed for umlauts
\usepackage[T1]{fontenc}    % this is needed for correct output of umlauts in pdf
\usepackage{pdfpages}       % Signatureinbingung und includepdf
\usepackage[marginparwidth=3.0cm,marginparsep=-0.5cm]{geometry}       % [margin=2.5cm]layout
\usepackage[pdftex]{hyperref}       % links im text
\usepackage{color}
\usepackage{framed}
\usepackage{enumerate}      % for advanced numbering of lists
\usepackage{marvosym}       % checkedbox
\usepackage{wasysym}
\usepackage{braket}         % for \Set{}
\usepackage{pifont}% http://ctan.org/pkg/pifont
\usepackage{gauss}
\usepackage{algorithm,algpseudocode}
\usepackage{parskip}
\usepackage{lastpage}
\usepackage{amsthm}
\usepackage{marginnote}
\allowdisplaybreaks

\newcommand{\cmark}{\ding{51}}%
\newcommand{\xmark}{\ding{55}}%

\title{Numerik Klausur 2{} - Musterlösung}
\makeatletter
\AtBeginDocument{
	\hypersetup{ 
	  pdfauthor   = {Felix Benz-Baldas, Martin Thoma, Peter Merkert},
	  pdfkeywords = {Numerik, KIT, Klausur}, 
	  pdftitle    = {\@title} 
  	}
	\pagestyle{fancy}
	\lhead{\@title}
	\rhead{Seite \thepage{} von \pageref{LastPage}}
}
\makeatother

\usepackage{fancyhdr}
\fancyfoot[C]{}

\makeatletter
\renewenvironment{proof}[1][\proofname]{\par
  \pushQED{\qed}%
  \normalfont \topsep6\p@\@plus6\p@\relax
  \list{}{\leftmargin=4em
          \rightmargin=\leftmargin
          \settowidth{\itemindent}{\itshape#1}%
          \labelwidth=\itemindent}

  \item[\hskip\labelsep
        \itshape
    #1\@addpunct{.}]\ignorespaces
}{%
  \popQED\endlist\@endpefalse
}
\makeatother

\begin{document}
	\include{Aufgabe1}
	\include{Aufgabe2}
	\include{Aufgabe3}
	\include{Aufgabe4}
	\include{Aufgabe5}
\end{document}
