aboutsummaryrefslogtreecommitdiff
path: root/exercisesheets.sty
diff options
context:
space:
mode:
authorSebastian Kuhnert2010-01-19 15:36:21 +0000
committerSebastian Kuhnert2010-01-19 15:36:21 +0000
commit0a0c38f626bc0be583cae44583cdf13dc2c8ff34 (patch)
tree6a51be5f03147595e39089b5beb8ff3d9c07ad96 /exercisesheets.sty
parent59c5c53f412e940ec35a784e1a8009385f2252f2 (diff)
downloadexercisesheets-0a0c38f626bc0be583cae44583cdf13dc2c8ff34.tar.gz
exercisesheets-0a0c38f626bc0be583cae44583cdf13dc2c8ff34.tar.bz2
exercisesheets-0a0c38f626bc0be583cae44583cdf13dc2c8ff34.zip
improve spacing at start of exercises
Diffstat (limited to 'exercisesheets.sty')
-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][]{%