X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fspan-bar.ly;h=feb952071626752c61c6c26963b613e13f239ef2;hb=33c0ec977d6b812f7f2109763632a7874a9853a4;hp=7415039e4e3ea63e39e725cd686fffb2def62c50;hpb=955f829883aa125b2b633b1e71f6256da5b773fa;p=lilypond.git diff --git a/input/regression/span-bar.ly b/input/regression/span-bar.ly index 7415039e4e..feb9520716 100644 --- a/input/regression/span-bar.ly +++ b/input/regression/span-bar.ly @@ -1,25 +1,42 @@ -#(ly:set-option 'old-relative) -\version "1.9.0" +\version "2.12.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' \context StaffGroup = groupie < - \context Staff = SB { a1 a1 a1} - \context Lyrics = LB \lyrics < - { bla1 die bla } - { foo bar foo } - > - \context Staff = SC { 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: +