-\version "2.1.19"
+\version "2.4.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 LyricsVoice \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:
+