|
|
@@ -20,6 +20,8 @@ |
|
|
\RequirePackage[nobottomtitles]{titlesec} |
|
|
\RequirePackage[nobottomtitles]{titlesec} |
|
|
\RequirePackage{listings} |
|
|
\RequirePackage{listings} |
|
|
\RequirePackage{mathtools} |
|
|
\RequirePackage{mathtools} |
|
|
|
|
|
\RequirePackage{forloop} |
|
|
|
|
|
\RequirePackage{totcount} |
|
|
|
|
|
|
|
|
\usetikzlibrary{quotes, angles} |
|
|
\usetikzlibrary{quotes, angles} |
|
|
|
|
|
|
|
|
@@ -54,6 +56,9 @@ |
|
|
\newtheorem{bem}[satz]{Bemerkung} |
|
|
\newtheorem{bem}[satz]{Bemerkung} |
|
|
\newtheorem{aufgabe}{Aufgabe} |
|
|
\newtheorem{aufgabe}{Aufgabe} |
|
|
|
|
|
|
|
|
|
|
|
% enable aufgaben counting |
|
|
|
|
|
\regtotcounter{aufgabe} |
|
|
|
|
|
|
|
|
\newcommand{\N}{\mathbb{N}} |
|
|
\newcommand{\N}{\mathbb{N}} |
|
|
\newcommand{\R}{\mathbb{R}} |
|
|
\newcommand{\R}{\mathbb{R}} |
|
|
\newcommand{\Z}{\mathbb{Z}} |
|
|
\newcommand{\Z}{\mathbb{Z}} |
|
|
@@ -76,11 +81,24 @@ |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
% punkte tabelle |
|
|
% punkte tabelle |
|
|
\newcommand\punkte{ |
|
|
|
|
|
\begin{tabular}{|c|m{1cm}|m{1cm}|m{1cm}|m{1cm}|m{1cm}|@{}m{0cm}@{}} |
|
|
|
|
|
|
|
|
\newcommand{\punkte}{ |
|
|
|
|
|
\@punkten{\totvalue{aufgabe}} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
\def\@punkten#1{ |
|
|
|
|
|
\newcounter{n} |
|
|
|
|
|
\begin{tabular}{|c|*{#1}{m{1cm}|}m{1cm}|@{}m{0cm}@{}} |
|
|
\hline |
|
|
\hline |
|
|
Aufgabe & \centering A1 & \centering A2 & \centering A3 & \centering A4 & \centering $\sum$ & \\[5mm] \hline |
|
|
|
|
|
Punkte & & & & & & \\[5mm] \hline |
|
|
|
|
|
|
|
|
Aufgabe |
|
|
|
|
|
\forloop{n}{1}{\not{\value{n} > #1}}{ |
|
|
|
|
|
& \centering A\then |
|
|
|
|
|
} |
|
|
|
|
|
& \centering $\sum$ & \\[5mm] \hline |
|
|
|
|
|
Punkte |
|
|
|
|
|
\forloop{n}{1}{\not{\value{n} > #1}}{ |
|
|
|
|
|
& |
|
|
|
|
|
} |
|
|
|
|
|
& & \\[5mm] \hline |
|
|
\end{tabular} |
|
|
\end{tabular} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|