]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/volta-multi-staff.ly
Merge branch 'stable'
[lilypond.git] / input / regression / volta-multi-staff.ly
index c54df6af6616c737bb5ed9865a0cfdbfc4d8b156..0a87f89b2c993a01e353ec2d814b973cd5e6d98e 100644 (file)
@@ -1,28 +1,22 @@
 \header {
-
-    texidoc = "By setting @code{voltaOnThisStaff}, repeats can be put
-    also over other staves than the topmost one in a score."
-
+  texidoc = "By default, the volta brackets appear only in the topmost staff."
 }
-\version "2.4.0"
 
+\layout { ragged-right = ##t }
+\version "2.12.0"
 
 vmus =  { \repeat volta 2 c1 \alternative { d e } } 
 
-\score  {
+\relative c'' <<
+  \new StaffGroup <<
+    \new Staff \vmus
+    \new Staff \vmus
+  >>
+  \new StaffGroup <<
+    \new Staff \vmus
+    \new Staff \vmus
+  >>
+>>
+
 
-     \relative c'' <<
-       \new StaffGroup <<
-           \context Staff \vmus
-           \new Staff \vmus
-       >>
-       \new StaffGroup <<
-           \new Staff <<
-               \set Staff.voltaOnThisStaff = ##t
-               \vmus >>
-           \new Staff \vmus
-       >>
-    >>
 
-    \layout { raggedright = ##t }
-}