]> 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 abd030d5fca68986ba8c7ef03c5075d3366c92d3..0a87f89b2c993a01e353ec2d814b973cd5e6d98e 100644 (file)
@@ -1,28 +1,22 @@
 \header {
-
-    texidoc = "By setting @code{voltaOnThisStaff}, repeats can be put
-    on more staves in a score."
-
+  texidoc = "By default, the volta brackets appear only in the topmost staff."
 }
-\version "2.1.36"
 
+\layout { ragged-right = ##t }
+\version "2.12.0"
 
-vmus = \notes { \repeat volta 2 c1 \alternative { d e } } 
+vmus =  { \repeat volta 2 c1 \alternative { d e } } 
+
+\relative c'' <<
+  \new StaffGroup <<
+    \new Staff \vmus
+    \new Staff \vmus
+  >>
+  \new StaffGroup <<
+    \new Staff \vmus
+    \new Staff \vmus
+  >>
+>>
 
-\score  {
 
-    \notes \relative c'' <<
-       \new StaffGroup <<
-           \context Staff \vmus
-           \new Staff \vmus
-       >>
-       \new StaffGroup <<
-           \new Staff <<
-               \set Staff.voltaOnThisStaff = ##t
-               \vmus >>
-           \new Staff \vmus
-       >>
-    >>
 
-    \paper { raggedright = ##t }
-}