]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/new/volta-multi-staff.ly
Doc-es: Various updates from master.
[lilypond.git] / input / new / volta-multi-staff.ly
index 9f3520449093dd038b0574e3519bb5c4e1b34bfb..4b0f121a268c8a95c3e21bc3afbb3ced7aee93e2 100644 (file)
@@ -1,6 +1,6 @@
-\version "2.11.36"
+\version "2.11.61"
 \header {
-  lsrtags = "repeats,staff-notation,fretted-strings"
+  lsrtags = "repeats,staff-notation"
   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."
@@ -8,17 +8,18 @@ one in a score."
 }
 
 voltaMusic = \relative c'' {
-  \repeat volta 2
+  \repeat volta 2 {
     c1
-    \alternative {
+  }
+  \alternative {
     d1
     e
-   }
+  }
 }
 
 <<
   \new StaffGroup <<
-    \context Staff \voltaMusic
+    \new Staff \voltaMusic
     \new Staff \voltaMusic
   >>
   \new StaffGroup <<