]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/span-bar.ly
Merge commit 'origin' into beamlets2
[lilypond.git] / input / regression / span-bar.ly
index 6113f072e6d11b5df12d0b52a678659d20968d46..feb952071626752c61c6c26963b613e13f239ef2 100644 (file)
@@ -1,25 +1,42 @@
-#(ly:set-option 'old-relative)
-\version "1.9.1"
+\version "2.12.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 
 }
 
+\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:
+