X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fspan-bar.ly;h=b1eb44fbe541a39799154eda599a36e7f3aa3467;hb=7b3cd88d662454aac42797912d2dc0b7b36700fe;hp=560a7b2839ad76a95f28ea5221935b99373d9bbd;hpb=7b22eeeee2505be517e58c3f922ddc53f1b7b0bd;p=lilypond.git diff --git a/input/regression/span-bar.ly b/input/regression/span-bar.ly index 560a7b2839..b1eb44fbe5 100644 --- a/input/regression/span-bar.ly +++ b/input/regression/span-bar.ly @@ -1,24 +1,42 @@ -\version "2.1.21" +\version "2.10.0" \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' \new StaffGroup << - \new Staff { a1 a1 a1} - \new Lyrics \lyrics << - { bla1 die bla } - { foo bar foo } - >> - \new Staff { f1 f1 f1} - >> - \paper { - \translator { - \StaffContext - BarLine \override #'transparent = ##t +\layout { + \context { + \Staff } - raggedright =##t - } + ragged-right =##t } +\relative c' \new StaffGroup << + \new Staff { + a1 + \once \override Score.BarLine #'transparent = ##t + a1 + \once \override Score.SpanBar #'transparent = ##t + 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: +