aboutsummaryrefslogtreecommitdiff
path: root/exercisesheets.sty
diff options
context:
space:
mode:
authorSebastian Kuhnert2010-01-07 09:28:34 +0000
committerSebastian Kuhnert2010-01-07 09:28:34 +0000
commit59c5c53f412e940ec35a784e1a8009385f2252f2 (patch)
tree7b51ec178309791f9b487cb66950a5df16e896b7 /exercisesheets.sty
parent4b17b6522a1b5dfdaab7f8ff6b38655483abee66 (diff)
downloadexercisesheets-59c5c53f412e940ec35a784e1a8009385f2252f2.tar.gz
exercisesheets-59c5c53f412e940ec35a784e1a8009385f2252f2.tar.bz2
exercisesheets-59c5c53f412e940ec35a784e1a8009385f2252f2.zip
reset equation numbering for each exercise
Diffstat (limited to 'exercisesheets.sty')
-rw-r--r--exercisesheets.sty2
1 files changed, 1 insertions, 1 deletions
diff --git a/exercisesheets.sty b/exercisesheets.sty
index 96d6bf7..27bf41e 100644
--- a/exercisesheets.sty
+++ b/exercisesheets.sty
@@ -551,7 +551,7 @@
}
% reset equation numbering for each exercise
-\numberwithin{equation}{section}
+\@addtoreset{equation}{section}
\newenvironment{hint}[1][]{%
\pgfkeys{exsh,every hint,#1,hint font}%