From 0a0c38f626bc0be583cae44583cdf13dc2c8ff34 Mon Sep 17 00:00:00 2001
From: Sebastian Kuhnert
Date: Tue, 19 Jan 2010 15:36:21 +0000
Subject: improve spacing at start of exercises

---
 exercisesheets.sty | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

(limited to 'exercisesheets.sty')

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][]{%
-- 
cgit v1.2.3

