]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/new/volta-multi-staff.ly
Update from Neil in input/new
[lilypond.git] / input / new / volta-multi-staff.ly
index 84f93d8dfc4f530ad69f34c4296048368dd611e3..4db5dc42ef54161eb90487536a63eece5603f998 100644 (file)
@@ -2,25 +2,30 @@
 \layout { ragged-right= ##t }
 \header {
   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"
 }
 
 % LSR: this is a test which should get automatically
 % LSR: removed from input/lsr/    -gp
-vmus = \relative c'' {
-  \repeat volta 2 c1 \alternative { d e } 
+voltaMusic = \relative c'' {
+  \repeat volta 2
+    c1 
+    \alternative { 
+    d e
+   } 
 } 
 
 <<
   \new StaffGroup <<
-    \context Staff \vmus
-    \new Staff \vmus
+    \context 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
   >>
 >>