X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fspan-bar.ly;h=d830e2b4aaba5af426c64f73f4aa6fbe235b939e;hb=34881554afeaf03a55a3a983caf9cfeaaf3ea060;hp=3e8f3f462bfd0828619517a32392a3a1a6a2ca08;hpb=197f00037dc4c9e7bd17368f50d11dd8cde7a994;p=lilypond.git diff --git a/input/regression/span-bar.ly b/input/regression/span-bar.ly index 3e8f3f462b..d830e2b4aa 100644 --- a/input/regression/span-bar.ly +++ b/input/regression/span-bar.ly @@ -1,24 +1,41 @@ -\version "2.1.22" +\version "2.3.22" \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 } + \relative c' \new StaffGroup << + \new Staff { + \override Score.BarLine #'transparent = ##t + a1 a1 + \revert Score.BarLine #'transparent + \override Score.SpanBar #'transparent = ##t + a1 a1 + } + \lyricmode << + \new Lyrics { bla1 die bla } + \new Lyrics { foo bar foo } + >> + \new Staff { + f1 f1 f1 f1 + } >> - \new Staff { f1 f1 f1} - >> - \paper { - \translator { - \StaffContext - BarLine \override #'transparent = ##t + \layout { + \context { + \Staff + } + raggedright =##t } - raggedright =##t - } } + +%% Local variables: +%% LilyPond-indent-level:2 +%% End: +