aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--exercisesheets.sty5
1 files changed, 3 insertions, 2 deletions
diff --git a/exercisesheets.sty b/exercisesheets.sty
index 27bf41e..d9e9614 100644
--- a/exercisesheets.sty
+++ b/exercisesheets.sty
@@ -1,6 +1,6 @@
%\NeedsTeXFormat{LaTeX2e}[1994/12/01]
%\RequirePackage{svn-prov}
-\def\exsh@version{0.5h}
+\def\exsh@version{0.5i}
%\ProvidesPackageSVN{$Id$}[\exsh@version\space Typesetting of exercise sheets \revinfo]
%\GetFileInfoSVN*
%\message{`Typesetting of exercise sheets' \exsh@version\space <\filedate> (SVN Rev: \filerev)}
@@ -530,8 +530,9 @@
\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
\@afterindentfalse
+ % ensure proper distances above environments that start with a new \par
+ \leavevmode
\ignorespaces
}{}
\providecommand{\exsh@startsection}[2][]{%