From: Carl Sorensen Date: Sun, 23 Jan 2011 04:52:45 +0000 (-0700) Subject: Add regression test for issue 317 X-Git-Tag: release/2.13.47-1~34 X-Git-Url: https://git.donarmstrong.com/lilypond.git?a=commitdiff_plain;h=053f396b0cf552d1976417ec2dea1ee08100460c;p=lilypond.git Add regression test for issue 317 --- diff --git a/input/regression/lyrics-aligned-above-stay-close-to-staff.ly b/input/regression/lyrics-aligned-above-stay-close-to-staff.ly new file mode 100644 index 0000000000..e71d5a3456 --- /dev/null +++ b/input/regression/lyrics-aligned-above-stay-close-to-staff.ly @@ -0,0 +1,45 @@ +\version "2.13.47" + +\header { + title = "Aligned-above lyrics should stay close to their staff" + texidoc = "Lyrics aligned above a context should stay close to that +context when stretching. The Bass I lyric line stays with the +Bass staff. +" +} + +\paper { ragged-last-bottom = ##f } + +tune = \relative c { \repeat unfold 2 { c4( e) g2 | \break c1 } +\bar "|." } + +\score { + + \context ChoirStaff << + + \new Staff = tenors << + \clef "treble_8" + \new Voice = tenori { \voiceOne \tune } + \new Voice = tenorii { \voiceTwo \tune } + >> + \new Staff = basses << + \clef "bass" + \new Voice = bassi { \voiceOne \tune } + \new Voice = bassii { \voiceTwo \tune } + >> + + \new Lyrics \with {alignAboveContext=tenors} \lyricsto tenori { + Te -- nor one! A -- _ bove! + } + \new Lyrics \with {alignBelowContext=tenors} \lyricsto tenorii { + Te -- nor two! Be -- _ low! + } + \new Lyrics \with {alignAboveContext=basses} \lyricsto bassi { + Bas -- ses one! A -- _ bove! + } + \new Lyrics \with {alignBelowContext=basses} \lyricsto bassii { + Bas -- ses two! Be -- _ low! + } + >> + \layout {} + }