diff options
| author | Sebastian Kuhnert | 2009-10-23 08:33:28 +0000 |
|---|---|---|
| committer | Sebastian Kuhnert | 2009-10-23 08:33:28 +0000 |
| commit | 816f7d93d5e2670885766e699f77e91f03ceb844 (patch) | |
| tree | b0b9498ec10324f975900790d7768bd5c18497ca | |
| parent | 7b299cb87dfb293aecd1963232f822d7aeb2c5b5 (diff) | |
| download | exercisesheets-816f7d93d5e2670885766e699f77e91f03ceb844.tar.gz exercisesheets-816f7d93d5e2670885766e699f77e91f03ceb844.tar.bz2 exercisesheets-816f7d93d5e2670885766e699f77e91f03ceb844.zip | |
make assignments in the optional argument of \points local
| -rw-r--r-- | exercisesheets.sty | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/exercisesheets.sty b/exercisesheets.sty index 22d2488..159cf43 100644 --- a/exercisesheets.sty +++ b/exercisesheets.sty @@ -600,7 +600,8 @@ \exsh@subexpoints{#1}% } \newcommand{\points}[2][]{% - \exshset{pointsinfo={},#1}% + \bgroup + \exshset{#1}% \ifthenelse{\equal{}{\pgfkeysvalueof{/exsh/pointsinfo}}}{% \def\exsh@tmp{}% }{% @@ -621,6 +622,7 @@ }% }% }% + \egroup } \newcommand{\exsh@subexpoints}[1]{% \unskip\nobreak\space\nobreak\hspace*{\fill}\allowbreak\hspace*{\fill}% |
