X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fspan-bar.ly;h=4ba6971a642bbfe058b631e14069f4f7ec3afda3;hb=3a991b6913837bac6d0ea429b583295b9263e049;hp=1886a8ea5efe3f1b053adc99263828431b27523e;hpb=4c8187e65dd9708d7733692842acc696da121bf1;p=lilypond.git diff --git a/input/regression/span-bar.ly b/input/regression/span-bar.ly index 1886a8ea5e..4ba6971a64 100644 --- a/input/regression/span-bar.ly +++ b/input/regression/span-bar.ly @@ -1,25 +1,42 @@ -#(ly:set-option 'old-relative) -\version "2.1.7" +\version "2.11.51" \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: +