diff options
| author | Sebastian Kuhnert | 2009-11-25 16:14:40 +0000 |
|---|---|---|
| committer | Sebastian Kuhnert | 2009-11-25 16:14:40 +0000 |
| commit | 3e740e37fd6d69f13faf19ee2efacd1d585fe16d (patch) | |
| tree | bb09a1770895fbf8ea2aa6a1d7af59acfddde436 /exercisesheets.sty | |
| parent | e2f4885c63150fdd25ff57d87430fd531e3db5df (diff) | |
| download | exercisesheets-3e740e37fd6d69f13faf19ee2efacd1d585fe16d.tar.gz exercisesheets-3e740e37fd6d69f13faf19ee2efacd1d585fe16d.tar.bz2 exercisesheets-3e740e37fd6d69f13faf19ee2efacd1d585fe16d.zip | |
add support for exercisemarks and difficult exercises
Diffstat (limited to 'exercisesheets.sty')
| -rw-r--r-- | exercisesheets.sty | 3 |
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 |
