]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/span-bar.ly
Run scripts/auxiliar/update-with-convert-ly.sh
[lilypond.git] / input / regression / span-bar.ly
index 7415039e4e3ea63e39e725cd686fffb2def62c50..d102aaf24669c9bfc05bcd0c3bed5a46c9cdccb4 100644 (file)
@@ -1,25 +1,42 @@
-#(ly:set-option 'old-relative)
-\version "1.9.0"
+\version "2.19.21"
 \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 \new StaffGroup <<
+  \new Staff {
+    a1
+    \once \hide Score.BarLine
+    a1
+    \once \hide Score.SpanBar
+    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:
+