diff options
Diffstat (limited to 'exercisesheets.sty')
| -rw-r--r-- | exercisesheets.sty | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/exercisesheets.sty b/exercisesheets.sty index e1a54a3..325f00a 100644 --- a/exercisesheets.sty +++ b/exercisesheets.sty @@ -451,15 +451,17 @@ }% \ifthenelse{\equal{}{\pgfkeysvalueof{/exsh/name}}}{% \def\exsh@exname{}% + \def\exsh@shortexname{}% }{% \edef\exsh@exname{\space(\pgfkeysvalueof{/exsh/name})}% + \edef\exsh@shortexname{:\space\pgfkeysvalueof{/exsh/name}}% }% \refstepcounter{section}% \@startsection{section}{1}{\z@}% {\pgfkeysvalueof{/exsh/above exercise skip}}% {1em}% afterskip corrected below {\pgfkeysvalueof{/exsh/exercise title font}}% - [\pgfkeysvalueof{/exsh/strings/exercise}~\arabic{section}\exsh@exname\exsh@shortpoints]{\noindent% + [\pgfkeysvalueof{/exsh/strings/exercise}~\arabic{section}\exsh@shortexname\exsh@shortpoints]{\noindent% \pgfkeysvalueof{/exsh/strings/exercise}~\arabic{section}\exsh@exname\exsh@firstline\exsh@points}% \unskip\vskip\pgfkeysvalueof{/exsh/below exercise title skip}\relax \vskip-\parskip\relax |
