X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Flyrics-bar.ly;h=633e041bb6fb1e14404a847fdb2d8b0a6b59e638;hb=aafcc4147ae2fea2ba1d95c7a54963c61f21b963;hp=cdb9b023f1edf1450f569ea1717ce7ea0db801e0;hpb=7e8d660df15820c540b74a4ab74d175284cd9008;p=lilypond.git diff --git a/input/regression/lyrics-bar.ly b/input/regression/lyrics-bar.ly index cdb9b023f1..633e041bb6 100644 --- a/input/regression/lyrics-bar.ly +++ b/input/regression/lyrics-bar.ly @@ -1,4 +1,4 @@ -\version "2.1.30" +\version "2.17.6" \header{ texidoc=" @@ -7,33 +7,33 @@ lyrics do not collide with barlines. " } -\score { - \context StaffGroup << - \notes \context Staff { - b1 \bar "|:" b1 \bar ":|" - } - \lyrics << - \context LyricsWithBars { -% thisContextHasBarEngraver1 added - ThisContextCertainlyHasBarEngraverAddedButThereHasBeenSomethingFunnyBefore1. Here. - } - \context Lyrics { - this4 one has no BarEngraverAddedToContext1 - } - >> - \notes \new Staff { b1 b1 } - >> - \paper { - raggedright = ##t - \context { - \ScoreContext - \accepts "LyricsWithBars" - } - \context { - \LyricsContext - \consists "Bar_engraver" - \name "LyricsWithBars" - } - } +\layout { + ragged-right = ##t +} + +\relative c'' << + \new Voice = "a"{ + b1 \bar ".|:" b1 \bar ":|." b1 \bar "|." + } + \new Lyrics \with { + \consists "Bar_engraver" + \consists "Separating_line_group_engraver" + } \lyricsto "a" { + bars lengthened if + } + \new Lyrics \lyricsto "a" { + required for noncollision + } + \new Staff { + b1 b1 b1 + } +>> +\layout { + \context { + \Lyrics + \override VerticalAxisGroup.nonstaff-nonstaff-spacing.minimum-distance = #4.2 + \override LyricText.Y-offset = #-0.7 + \override BarLine.bar-extent = #'(-2 . 2) + } }