]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/span-bar.ly
The grand \paper -> \layout, \bookpaper -> \paper renaming.
[lilypond.git] / input / regression / span-bar.ly
index 3e8f3f462bfd0828619517a32392a3a1a6a2ca08..d830e2b4aaba5af426c64f73f4aa6fbe235b939e 100644 (file)
@@ -1,24 +1,41 @@
-\version "2.1.22"
+\version "2.3.22"
 \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:
+