X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Flyrics-bar.ly;h=1a827522743b1c7bd8d59112494ee920555c3ba9;hb=25be0aa5e4481df77568b99357764f5b1ff46ceb;hp=2f60761fa00e266bb0d440564d2e30c027cf4272;hpb=6d910958ea621e4ab878a118bd77e61ae210a6ef;p=lilypond.git diff --git a/input/regression/lyrics-bar.ly b/input/regression/lyrics-bar.ly index 2f60761fa0..1a82752274 100644 --- a/input/regression/lyrics-bar.ly +++ b/input/regression/lyrics-bar.ly @@ -1,4 +1,4 @@ -\version "2.11.51" +\version "2.14.0" \header{ texidoc=" @@ -11,27 +11,29 @@ lyrics do not collide with barlines. ragged-right = ##t } -<< - \new Staff \with - { -% \remove "Bar_engraver" - } - { - b1 \bar "|:" b1 \bar ":|" +\relative c'' << + \new Voice = "a"{ + b1 \bar "|:" b1 \bar ":|" b1 \bar "|." } - \context Lyrics \with { + \new Lyrics \with { \consists "Bar_engraver" \consists "Separating_line_group_engraver" - \override BarLine #'bar-size = #4 - } \lyricmode { - looooooooooooooooooooooooooooooooooong1 syllable + } \lyricsto "a" { + bars lengthened if } - \lyrics { - no Bar_Engraver_Bar_Engraver_Bar_Engraver + \new Lyrics \lyricsto "a" { + required for noncollision + } + \new Staff { + b1 b1 b1 } - \new Staff \with { -% \remove "Bar_engraver" - } { 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) + } +}