X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fspan-bar.ly;h=f36f2c7878d9a3dfafa568dbd4855482d4997710;hb=26a079ca2393d053315ef8dbef626c897dc9645a;hp=f7e080b23611711871a07207243985080519ad5f;hpb=b008966a8de740291c9535d88d9c66691b1c0654;p=lilypond.git diff --git a/input/regression/span-bar.ly b/input/regression/span-bar.ly index f7e080b236..f36f2c7878 100644 --- a/input/regression/span-bar.ly +++ b/input/regression/span-bar.ly @@ -1,24 +1,42 @@ -\version "1.7.18" +\version "2.16.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 } -%% new-chords-done %% + +\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: +