From dee8b303267c2567d9bb8e847bcbb45480bacf5c Mon Sep 17 00:00:00 2001
From: Sebastian Kuhnert
Date: Fri, 27 Nov 2009 12:12:00 +0000
Subject: exercisesheets.sty: add ifsolutions key

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

(limited to 'exercisesheets.sty')

diff --git a/exercisesheets.sty b/exercisesheets.sty
index 0c9da03..42470e5 100644
--- a/exercisesheets.sty
+++ b/exercisesheets.sty
@@ -187,6 +187,11 @@
   below exercise title skip/.initial={\parskip},
   above solution skip/.initial={1ex},
   above hint skip/.initial={1ex},
+  %
+  % conditionals
+  ifsolutions/.code 2 args={\ifsolutions{\pgfkeysalso{#1}}{\pgfkeysalso{#2}}},
+  iforalsolutions/.code 2 args={\iforalsolutions{\pgfkeysalso{#1}}{\pgfkeysalso{#2}}},
+  ifnonoralsolutions/.code 2 args={\ifnonoralsolutions{\pgfkeysalso{#1}}{\pgfkeysalso{#2}}},
 }
 
 % default values
-- 
cgit v1.2.3

