Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Adrian C. Hinrichs
LaTeX-templates
Commits
4f36f42a
Commit
4f36f42a
authored
Nov 02, 2016
by
ACHinrichs
Browse files
Fix an error with the counter problem
parent
89d55b16
Changes
4
Hide whitespace changes
Inline
Side-by-side
HomeworkAssignment.cls
View file @
4f36f42a
...
...
@@ -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
...
...
compile_examples.bat
0 → 100644
View file @
4f36f42a
pdflatex
eg_assignment
.tex
pdflatex
eg_assignment_2
.tex
\ No newline at end of file
eg_assignment.pdf
View file @
4f36f42a
No preview for this file type
eg_assignment_2.pdf
View file @
4f36f42a
No preview for this file type
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment