You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
1.2 KiB
TeX
48 lines
1.2 KiB
TeX
\documentclass[a4paper,fontsize=12pt,listof=totoc,toc=sectionentrywithdots]{scrartcl}
|
|
\usepackage[T1]{fontenc}
|
|
\usepackage[utf8]{inputenc}
|
|
\usepackage[ngerman]{babel}
|
|
\usepackage{lmodern}
|
|
\usepackage[onehalfspacing]{setspace}
|
|
|
|
\usepackage{mathtools}
|
|
\usepackage{amsxtra,amssymb,amsthm,amstext,amsfonts}
|
|
\usepackage{esint} % for circle integrals
|
|
|
|
\setcounter{secnumdepth}{5} % numbered paragraphs
|
|
\usepackage[hyphens]{url}
|
|
\usepackage[]{hyperref}
|
|
\usepackage{fancyhdr}
|
|
|
|
\usepackage[extendedchars]{grffile}
|
|
|
|
\usepackage{xcolor}
|
|
\usepackage{float}
|
|
|
|
% header and footer
|
|
\newcommand{\Hausaufgabe}{Modulname - Hausaufgabe Nr. X} % title, for both title and header
|
|
\newcommand{\Aufgabe}[1]{ \section*{#1.)} \addcontentsline{toc}{section}{Aufgabe #1} \label{sec:aufgabe_#1}}
|
|
\newcommand{\Teilaufgabe}[1]{ \subsection*{#1)} \addcontentsline{toc}{subsection}{#1 )}}
|
|
\newcommand{\Autor}{Max Mustermann} % your name here
|
|
|
|
\setlength{\headheight}{15.2pt}
|
|
\pagestyle{fancy}
|
|
\fancyhf{}
|
|
|
|
\fancyhead[R]{\Autor}
|
|
\fancyhead[L]{\Hausaufgabe}
|
|
\fancyfoot[C]{\thepage}
|
|
|
|
\title{\Hausaufgabe}
|
|
\author{\Autor}
|
|
\date{\today}
|
|
\begin{document}
|
|
\maketitle
|
|
\tableofcontents
|
|
|
|
\Aufgabe{1}
|
|
\Teilaufgabe{a}
|
|
Beispiel
|
|
|
|
\end{document}
|