aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--exercisesheets.sty4
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}%