]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/volta-multi-staff.ly
Imported Upstream version 2.14.2
[lilypond.git] / input / regression / volta-multi-staff.ly
index c0a3c0c2f76797888b443bf0b14ee3d5ed13d1d7..e9100b0c3a71ae4c6118ce761a9bbbf40b3f0184 100644 (file)
@@ -1,27 +1,22 @@
 \header {
-
-    texidoc = "By setting @code{voltaOnThisStaff}, repeats can be put on more staffs in a score."
-
+  texidoc = "By default, the volta brackets appear only in the topmost staff."
 }
-\version "1.7.22"
 
+\layout { ragged-right = ##t }
+\version "2.14.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'' <
-       \context StaffGroup = SGA <
-           \context Staff \vmus
-           \context Staff = SB \vmus
-       >
-       \context StaffGroup = SGB <
-           \context Staff =SC <
-               \property Staff.voltaOnThisStaff = ##t
-               \vmus >
-           \context Staff = SD \vmus
-       >
-    >
 
-    \paper { raggedright = ##t }
-}