From 7fefec15b6da6e3d67bb159d961f9acb8f51bc14 Mon Sep 17 00:00:00 2001
From: Sebastian Kuhnert
Date: Tue, 21 Oct 2008 11:06:20 +0000
Subject: exercisesheets.sty: fix sheet headers with both solutionsby and note

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

(limited to 'exercisesheets.sty')

diff --git a/exercisesheets.sty b/exercisesheets.sty
index 3dd465b..4aad0a5 100644
--- a/exercisesheets.sty
+++ b/exercisesheets.sty
@@ -369,16 +369,16 @@
       \vskip\pgfkeysvalueof{/exsh/above sheet title skip}\relax%
     \endgroup
     \begingroup
-      \pgfkeysvalueof{/exsh/sheet title font}\exsh@tmp
+      \pgfkeysvalueof{/exsh/sheet title font}\exsh@tmp\\\unskip
     \endgroup
     \begingroup
       \pgfkeysvalueof{/exsh/sheet header font}%
       \ifexsh@solutions%
         \ifdef{\exsh@solutionsby}{%
           \begingroup
-            \pgfkeysvalueof{/exsh/solutionsby font}\\%
+            \pgfkeysvalueof{/exsh/solutionsby font}%
             \vskip\pgfkeysvalueof{/exsh/above solutionsby skip}\relax
-            \pgfkeysvalueof{/exsh/strings/solutionsby}~\exsh@solutionsby\\[-\baselineskip]%
+            \pgfkeysvalueof{/exsh/strings/solutionsby}~\exsh@solutionsby\\\unskip%
           \endgroup
         }{}%
       \else
@@ -386,9 +386,9 @@
       \ifthenelse{\equal{}{\pgfkeysvalueof{/exsh/note}}}{%
       }{%
         \begingroup
-          \pgfkeysvalueof{/exsh/sheet note font}\\%
+          \pgfkeysvalueof{/exsh/sheet note font}%
             \vskip\pgfkeysvalueof{/exsh/above sheet note skip}\relax
-          \pgfkeysvalueof{/exsh/note}\\[-\baselineskip]%
+          \pgfkeysvalueof{/exsh/note}\\\unskip%
         \endgroup
       }%
     \endgroup
-- 
cgit v1.2.3

