]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/new/volta-multi-staff.ly
Merge commit 'origin/dev/jneeman' into systems-per-page
[lilypond.git] / input / new / volta-multi-staff.ly
index 9f3520449093dd038b0574e3519bb5c4e1b34bfb..a45dddec74b2de89683fefdcb9db09cd83acf312 100644 (file)
@@ -1,6 +1,6 @@
-\version "2.11.36"
+\version "2.12.0"
 \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 <<