Commit 4f36f42a authored by ACHinrichs's avatar ACHinrichs
Browse files

Fix an error with the counter problem

parent 89d55b16
......@@ -70,7 +70,7 @@ Abgabe: \@abgabe\\
}
\newcounter{problem}
\setcounter{problem}{1}
\setcounter{problem}{0}
\newcounter{subproblem}[problem]
\setcounter{subproblem}{0}
\newcounter{subsubproblem}[subproblem]
......@@ -83,7 +83,7 @@ Abgabe: \@abgabe\\
{1ex \@plus .5ex}%afterskip
{\normalfont\Large\bfseries}%style
*{#1}}
\newcommand{\newproblem}{\problem{Aufgabe \arabic{problem}} \stepcounter{problem}}
\newcommand{\newproblem}{\stepcounter{problem} \problem{Aufgabe \arabic{problem}}}
\newcommand{\subproblem}[1]{\@startsection{subproblem}%Name
{2}%Level
......
pdflatex eg_assignment.tex
pdflatex eg_assignment_2.tex
\ No newline at end of file
No preview for this file type
No preview for this file type
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment