aboutsummaryrefslogtreecommitdiff
path: root/exercisesheets.sty
diff options
context:
space:
mode:
Diffstat (limited to 'exercisesheets.sty')
-rw-r--r--exercisesheets.sty3
1 files changed, 3 insertions, 0 deletions
diff --git a/exercisesheets.sty b/exercisesheets.sty
index 6a088c6..96d6bf7 100644
--- a/exercisesheets.sty
+++ b/exercisesheets.sty
@@ -550,6 +550,9 @@
\setdefaultenum{(a)}{(1)}{i.}{A.}
}
+% reset equation numbering for each exercise
+\numberwithin{equation}{section}
+
\newenvironment{hint}[1][]{%
\pgfkeys{exsh,every hint,#1,hint font}%
\par\vskip\pgfkeysvalueof{/exsh/above hint skip}\relax\noindent