From ec8f3b0707fbd15c6221da2ba49d3f47921141ac Mon Sep 17 00:00:00 2001 From: Sebastian Kuhnert Date: Thu, 13 Nov 2008 10:49:24 +0000 Subject: make \parskip after exercise headers explicit --- exercisesheets.sty | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'exercisesheets.sty') diff --git a/exercisesheets.sty b/exercisesheets.sty index 3cbdce2..e1a54a3 100644 --- a/exercisesheets.sty +++ b/exercisesheets.sty @@ -2,6 +2,7 @@ \def\filedate{2008/11/13} % TODO: allow \and in author and solutionsby +% TODO: fix "above hint skip" %\NeedsTeXFormat{LaTeX2e}[1994/12/01] \ProvidesPackage{exercisesheets}[\filedate\space\fileversion\space Typesetting of exercise sheets] @@ -165,7 +166,7 @@ above solutionsby skip/.initial={1ex}, below sheet header skip/.initial={4ex plus 1ex minus .5ex}, above exercise skip/.initial={3ex plus 1ex minus .5em}, - below exercise title skip/.initial={0pt}, + below exercise title skip/.initial={\parskip}, above solution skip/.initial={1ex}, above hint skip/.initial={1ex}, } @@ -461,6 +462,7 @@ [\pgfkeysvalueof{/exsh/strings/exercise}~\arabic{section}\exsh@exname\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 \@afterindentfalse \ignorespaces }{} -- cgit v1.2.3