]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/lsr/volta-multi-staff.ly
Merge master into nested-bookparts
[lilypond.git] / input / lsr / volta-multi-staff.ly
index 391e36b5f9948e7d448b2a2fc782c8d1e6570509..fb617ffcdcbec2da17a081b9c4d5a571f007a40b 100644 (file)
@@ -1,26 +1,32 @@
 %% Do not edit this file; it is auto-generated from input/new
 %% This file is in the public domain.
-\version "2.11.36"
-\layout { ragged-right= ##t }
+\version "2.11.62"
 \header {
-  doctitle = "Volta multi-staff"
   lsrtags = "repeats,staff-notation"
-  texidoc = "By adding @code{Volta_engraver}, repeat brackets
-can be put over staves other than the topmost one in a score."
+  texidoc = "By adding the @code{Volta_engraver} to the relevant
+staff, volte can be put over staves other than the topmost
+one in a score."
+  doctitle = "Volta multi-staff"
+} % begin verbatim
+
+voltaMusic = \relative c'' {
+  \repeat volta 2 {
+    c1
+  }
+  \alternative {
+    d1
+    e
+  }
 }
-% begin verbatim
-vmus = \relative c'' {
-  \repeat volta 2 c1 \alternative { d e } 
-} 
 
 <<
   \new StaffGroup <<
-    \context Staff \vmus
-    \new Staff \vmus
+    \new Staff \voltaMusic
+    \new Staff \voltaMusic
   >>
   \new StaffGroup <<
-    \new Staff \with { \consists Volta_engraver }
-      \vmus
-    \new Staff \vmus
+    \new Staff \with { \consists "Volta_engraver" }
+      \voltaMusic
+    \new Staff \voltaMusic
   >>
 >>