X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fspan-bar.ly;h=d102aaf24669c9bfc05bcd0c3bed5a46c9cdccb4;hb=97a0169312a260933246ab224e4f8b0969871dd5;hp=9bebddd6262bcd3201980fda740c36f7cd808a66;hpb=4995fea559cd5399b4f462de546a15195d76f4c3;p=lilypond.git diff --git a/input/regression/span-bar.ly b/input/regression/span-bar.ly index 9bebddd626..d102aaf246 100644 --- a/input/regression/span-bar.ly +++ b/input/regression/span-bar.ly @@ -1,37 +1,42 @@ +\version "2.19.21" \header { -texidoc = "Span bars draw only in between staff bar lines, so setting those to transparent shows bar lines between systems only. + texidoc = "Span bars are drawn only between staff bar lines. By setting +bar lines to transparent, they are shown only between systems. + +Setting @code{SpanBar} transparent removes the barlines +between systems. + " } -\score { - \notes \relative c' \context StaffGroup = groupie < - \context Staff = SA { c1 c1 c1} - \context Lyrics = LA \lyrics < - { bla1 die bla } - > - \context Staff = SB { a1 a1 a1} - \context Lyrics = LB \lyrics < - { bla1 die bla } - { foo bar foo } - > - \context Staff = SC { f1 f1 f1} - \context Lyrics = LC \lyrics < - { bla1 die bla } - { foo bar foo } - { foo bar foo } - > - \context Staff = SD { d1 d1 d1} - \context Lyrics = LD \lyrics < - { bla1 die bla } - { foo bar foo } - { foo bar foo } - { foo bar foo } - > - > - \paper { - \translator { - \StaffContext - BarLine \override #'transparent = ##t +\layout { + \context { + \Staff } - } + ragged-right =##t } + +\relative \new StaffGroup << + \new Staff { + a1 + \once \hide Score.BarLine + a1 + \once \hide Score.SpanBar + a1 a1 + \bar "|." + } + \lyricmode << + \new Lyrics { bla1 die bla } + \new Lyrics { foo bar foo } + >> + \new Staff { + f1 f1 f1 f1 + } +>> + + + +%% Local variables: +%% LilyPond-indent-level:2 +%% End: +