Comment #9 on issue 1309 by [email protected]: Consecutive interrupted lyrics from different staves are no longer aligned
http://code.google.com/p/lilypond/issues/detail?id=1309

Adding the override suggested by Joe, and set to be included in the Notation Reference when the Documentation patch for issues 1483 and 1486 is accepted, we can get the lyrics line balanced exactly like it was in 2.12.


%% Consider the following example:
\version "2.13.47"

melody = \relative c'' {
  c c c c
}

upperLyr = \lyricmode {
  la la _ _
}

lowerLyr = \lyricmode {
  _ _ la la
}

\score {
  \new ChoirStaff <<
    \new Staff = "upper" {
      \new Voice = "upper" {
        \melody
      }
    }
    \new Lyrics \lyricsto "upper" \upperLyr
    \new Staff = "lower" {
      \new Voice = "lower" {
        \melody
      }
    }
    \new Lyrics \with {
      alignAboveContext = "lower"
    } \lyricsto "lower" \lowerLyr
  >>
  \layout {
    \context {
      \Lyrics
      \override VerticalAxisGroup #'staff-affinity = ##f
      \override VerticalAxisGroup #'staff-staff-spacing =
        #'((basic-distance . 0)
           (minimum-distance . 2)
           (padding . 2))
    }
    \context {
      \Staff
      \override VerticalAxisGroup #'staff-staff-spacing =
        #'((basic-distance . 0)
           (minimum-distance . 2)
           (padding . 2))
    }
  }
}


Attachments:
        AlignedLyrics.png  9.7 KB


_______________________________________________
bug-lilypond mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to