X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Ftest%2Fbar-lines-lyric-only.ly;h=5ec7c28e788450c46ee4007787d13dab9fc5ea85;hb=d02446a61d3eabfde67ed48928ae07766c97750f;hp=56bf0c7f68fc3caec9ca9d5911649a1a86f7c289;hpb=677031b7d5fd1806ca5d72bb6cbc37b3aacd5071;p=lilypond.git diff --git a/input/test/bar-lines-lyric-only.ly b/input/test/bar-lines-lyric-only.ly index 56bf0c7f68..5ec7c28e78 100644 --- a/input/test/bar-lines-lyric-only.ly +++ b/input/test/bar-lines-lyric-only.ly @@ -1,4 +1,4 @@ -\version "2.3.2" +\version "2.7.32" \header { texidoc = "@cindex Bar line lyric only You can move @code{Bar_engraver} and @code{Span_bar_engraver} to a different engraving context, if you want, for example, bar lines @@ -6,36 +6,33 @@ on lyrics. " } \score { -\notes \relative c' \context ChoirStaff << - \new Staff { c1 c1 c1} - \context Lyrics \lyrics << - { bla1 die bla } - { foo bar foo } - { foo bar foo } - >> - \new Staff { c1 c1 c1} - >> + \relative c' \context ChoirStaff << + \new Staff { c1 c1 c1} + \lyricmode << + \new Lyrics { bla1 die bla } + >> + \new Staff { c1 c1 c1} + >> -\paper { - raggedright = ##t -\context { - \Lyrics - \consists Bar_engraver - % need procedure, since lyrics doesn't have a staff_sym engraver. - \override BarLine #'bar-size-procedure = #(lambda (x) 3.0) -} -\context { - \Lyrics - \consists "Span_bar_engraver" -} -\context{ - \ChoirStaff - \remove "Span_bar_engraver" -} -\context { - \Staff - \remove "Bar_engraver" + \layout { + ragged-right = ##t + \context { + \Lyrics + \consists Bar_engraver + + + %% need procedure, since lyrics doesn't have a staff_sym engraver. + \override BarLine #'bar-size = #3.0 + } + \context{ + \ChoirStaff + \remove "Span_bar_engraver" + } + \context { + \Staff + \remove "Bar_engraver" + } + } } -}}