X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Flyrics-bar.ly;h=2f60761fa00e266bb0d440564d2e30c027cf4272;hb=17e898abae3983e28021b0988d2fdf88365261f8;hp=d168e50ac305291cffae7929ed3863f133c27d70;hpb=d2e7425b88e579fe53989106965fa13eab551c92;p=lilypond.git diff --git a/input/regression/lyrics-bar.ly b/input/regression/lyrics-bar.ly index d168e50ac3..2f60761fa0 100644 --- a/input/regression/lyrics-bar.ly +++ b/input/regression/lyrics-bar.ly @@ -1,42 +1,37 @@ -\version "1.9.8" +\version "2.11.51" \header{ texidoc=" -Adding a @code{Bar_engraver} to the LyricsVoice context makes sure that -lyrics don't collide with barlines. +Adding a @code{Bar_engraver} to the Lyrics context makes sure that +lyrics do not collide with barlines. " } -\score { - \context StaffGroup << - \notes \context Staff { - b1 \bar "|:" b1 \bar ":|" - } - \lyrics\context Lyrics << - \context LyricsVoiceWithBars { -% thisContextHasBarEngraver1 added - ThisContextCertainlyHasBarEngraverAddedButThereHasBeenSomethingFunnyBefore1. Here. - } - \context LyricsVoice { - this4 one has no BarEngraverAddedToContext1 - } - >> - \notes \new Staff { b1 b1 } - >> - \paper { - raggedright = ##t - \translator { - \LyricsContext - \accepts "LyricsVoiceWithBars" - } - \translator { - \LyricsVoiceContext - \consists "Bar_engraver" - \name "LyricsVoiceWithBars" - } - \translator { - \LyricsVoiceContext - } - } +\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 } +>> + +