bug-lilypond
[Top][All Lists]
Advanced

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

Re: Issue 1208 in lilypond: "minor regression": Some combination of 'sta


From: lilypond
Subject: Re: Issue 1208 in lilypond: "minor regression": Some combination of 'staff-affinity for two Lyrics may cause unwanted vertical space
Date: Fri, 13 Aug 2010 21:36:33 +0000

Updates:
        Status: Invalid

Comment #2 on issue 1208 by Carl.D.Sorensen: "minor regression": Some combination of 'staff-affinity for two Lyrics may cause unwanted vertical space
http://code.google.com/p/lilypond/issues/detail?id=1208

This is a deliberate change intended to enforce a minimum distance between two lyrics lines that are centered between staves.

The change was introduced in commit 12f1c6fb456268e0108dc0f544cb9a13a971bdc9.

The previous behavior can be achieved by setting the minimum-distance of the
inter-loose-line-spacing for the top lyric line to 0:


%-----------------------8<----------------------------
\version "2.13.29"

alto = \relative g' {
  g4 g g g
  R1
  g4 g g g
}


tenor = \relative f {
  R1
  f4 f f f
  R1
}


altolyrics = \lyricmode {
  u u u u
  u u u u
}

tenlyrics = \lyricmode {
  l l l l
}

%
\score {
  \context ChoirStaff <<
    \new Staff = "upperstaff" <<
      \key bes \major
      \new Voice = "alto" { \voiceTwo \alto }
      \context Lyrics = "altolyrics" \with {
        \override VerticalAxisGroup #'staff-affinity = #CENTER
\override VerticalAxisGroup #'inter-loose-line-spacing = #'((space . 0) (stretchability . 0) (padding . 0.2) (minimum-distance . 0))
      } \lyricsto "alto" \altolyrics
    >>
    %
    \new Staff = "tenstaff" <<
      \clef "bass"
      \key bes \major
      \new Voice = "tenor" { \voiceOne \tenor }
      \context Lyrics = "tenlyrics" \with {
        alignAboveContext = "tenstaff"
        \override VerticalAxisGroup #'staff-affinity = #CENTER
      } \lyricsto "tenor" \tenlyrics
    >>
  >>
}
%-----------------------8<----------------------------





reply via email to

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