]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/span-bar.ly
* input/regression/markup-syntax.ly: remove \score.
[lilypond.git] / input / regression / span-bar.ly
index 1886a8ea5efe3f1b053adc99263828431b27523e..57fbf47cb3a993282e2c49f075017f5d084a4b1c 100644 (file)
@@ -1,25 +1,41 @@
-#(ly:set-option 'old-relative)
-\version "2.1.7"
+\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 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:
+