Jürgen Spiekermann wrote > the following example shows two staffs with a Text between the staff: > > The second staff is printed with huge space between Text and staff. > Ist this a bug? It does not happen without \addlyrics > > > \version "2.16.2" > > << > \new ChordNames{ \germanChords \chordmode{ \germanChords f1 c1 c1 > f1} } > \relative c' { > \time 4/4 > \key f \major > f4 f f f g e c2 g'4 g f g a2 f2 > } > \addlyrics { \set stanza = #"1." Chris -- tus lädt uns al -- le > ein, wir > sind sei -- ne Gäs -- te. } > >> > \markup{\bold "Zwischenvers"} > << > \new ChordNames{ \germanChords \chordmode{ \germanChords g1:7 c1 > g1:7 c1 } } > \relative c' { > \time 4/4 > \key f \major > g'4 g a b c2 a g4 a g f e2 d \bar "|." > } > \addlyrics { \set stanza = #"1.-2." Seg -- ne, was wir ge -- ben, > seg -- ne > un -- ser Le -- ben! } >>>
don't know if it's a bug - I'll forward this case to the bug list. here is is a workaround overriding the ChordNames' or Lyrics' VerticalAxisGroup staff-affinity to false (so the nonstaff context becomes a staff) and redefining the vertical spacing parameters: \layout { \context { \ChordNames % \Lyrics \override VerticalAxisGroup.staff-affinity = ##f \override VerticalAxisGroup.staff-staff-spacing = #'( (basic-distance . 0) (minimum-distance . 0) (padding . 0) (stretchability . 1) ) } } additionally you can also change the markup-system spacing: \paper { markup-system-spacing = #'( (basic-distance . 0) (minimum-distance . 0) (padding . .5) (stretchability . 1) ) } hth Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/vertical-spacing-in-leadsheet-with-text-between-staffs-tp148055p148069.html Sent from the Bugs mailing list archive at Nabble.com. _______________________________________________ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond