From 4b17b6522a1b5dfdaab7f8ff6b38655483abee66 Mon Sep 17 00:00:00 2001
From: Sebastian Kuhnert
Date: Thu, 7 Jan 2010 09:22:13 +0000
Subject: reset equation numbering for each exercise

---
 exercisesheets.sty | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'exercisesheets.sty')

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
-- 
cgit v1.2.3

