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 7412949..0c9da03 100644
--- a/exercisesheets.sty
+++ b/exercisesheets.sty
@@ -88,6 +88,8 @@
/exsh/strings/point=\pgfkeysvalueof{/exsh/strings/bonus point}},
pointsinfo/.initial={},
optional/.style={/exsh/pointsinfo=\pgfkeysvalueof{/exsh/strings/optional}},optional/.value forbidden,
+ exercisemark/.initial={},
+ difficult/.style={/exsh/exercisemark=*},difficult/.value forbidden,
%
% translatable strings
strings/sheet/.initial={},
@@ -519,6 +521,7 @@
\refstepcounter{section}%
\edef\exsh@tmp{[\pgfkeysvalueof{/exsh/strings/exercise} \arabic{section}\exsh@shortexname\exsh@shortpoints]}%
\expandafter\exsh@startsection\exsh@tmp{\noindent%
+ \hbox to 0pt{\hss\pgfkeysvalueof{/exsh/exercisemark}}%
\pgfkeysvalueof{/exsh/strings/exercise}~\arabic{section}\exsh@exname\exsh@firstline\exsh@points}%
\unskip\vskip\pgfkeysvalueof{/exsh/below exercise title skip}\relax
\vskip-\parskip\relax