lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Lyric line's vertical position is shifting from one staff system to


From: Thomas Morley
Subject: Re: Lyric line's vertical position is shifting from one staff system to the next.
Date: Thu, 7 Jun 2018 23:19:52 +0200

2018-06-07 20:15 GMT+02:00 dfro <address@hidden>:

> It seems like Verses2, 3, and 4 are looking down when using the padding
> variable. How can I get them to look up to the verses and staff above? The
> command - \override VerticalAxisGroup.staff-affinity = #UP - does not change
> the looking down behavior for the padding variable.

As a general rule: all vertical spacing is done looking down.

For  something like

staff1
lyrics1
lyrics2
lyrics3
lyics4
staff2

looking down for spacing is sufficient, isn't it?

There is one exception (more for conveniance, I believe):
Under certain conditions `nonstaff-relatedstaff-spacing' looks up.
Read NR about it.

I know you did already, but spacing is very complicated, I still read
it my self again and again.
Sometimes I think we made it too complex.
Ok, withdraw "sometimes"...

Anyway, in the following example I do have full control about any
spacing, I believe.

lst =
#'((basic-distance . 0)
   (minimum-distance . 0)
   (padding . 10)
   (stretchability . 0))

\new ChoirStaff <<
    \new Staff
      { c''1 }
    \new Lyrics
      \with {
        \override VerticalAxisGroup.nonstaff-relatedstaff-spacing = \lst
        \override VerticalAxisGroup.nonstaff-nonstaff-spacing = \lst
      }
      \lyricmode { "lyr1" }
    \new Lyrics
      \with {
        \override VerticalAxisGroup.nonstaff-nonstaff-spacing = \lst
      }
      \lyricmode { "lyr2" }
    \new Lyrics
      \with {
        \override VerticalAxisGroup.nonstaff-nonstaff-spacing = \lst
      }
      \lyricmode { "lyr3" }
    \new Lyrics
      \with {
        \override VerticalAxisGroup.nonstaff-unrelatedstaff-spacing = \lst
      }
      \lyricmode { "lyr4" }

    \new Staff { c''1 }
>>


Cheers,
  Harm



reply via email to

[Prev in Thread] Current Thread [Next in Thread]