X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Flyrics-bar.ly;h=a6a1afab9e7ee30ac314b948a524ac9ec3de8443;hb=7653e2f45f427ecb67ad8231bd5e24afb8d204e4;hp=38ab94473b2041a208bffbad8375abc74061cbfe;hpb=197f00037dc4c9e7bd17368f50d11dd8cde7a994;p=lilypond.git diff --git a/input/regression/lyrics-bar.ly b/input/regression/lyrics-bar.ly index 38ab94473b..a6a1afab9e 100644 --- a/input/regression/lyrics-bar.ly +++ b/input/regression/lyrics-bar.ly @@ -1,39 +1,37 @@ -\version "2.1.22" +\version "2.10.0" \header{ texidoc=" Adding a @code{Bar_engraver} to the Lyrics context makes sure that -lyrics don't collide with barlines. +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 - \translator { - \ScoreContext - \accepts "LyricsWithBars" - } - \translator { - \LyricsContext - \consists "Bar_engraver" - \name "LyricsWithBars" - } - } +\layout { + ragged-right = ##t } +<< + \new Staff \with + { +% \remove "Bar_engraver" + } + { + b1 \bar "|:" b1 \bar ":|" + } + \context Lyrics \with { + \consists "Bar_engraver" + \consists "Separating_line_group_engraver" + \override BarLine #'bar-size = #4 + } \lyricmode { + looooooooooooooooooooooooooooooooooong1 syllable + } + \lyrics { + no Bar_Engraver_Bar_Engraver_Bar_Engraver + } + \new Staff \with { +% \remove "Bar_engraver" + } { b1 b1 } +>> + +