]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/volta-multi-staff.ly
Merge branch 'master' into dev/texi2html
[lilypond.git] / input / regression / volta-multi-staff.ly
index d036fe460a0d71305de0ec21e33db67c09c1ea7a..389b6f78c341281b342be5ea670f6ae3ec53cdc0 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 "2.1.22"
 
+\layout { ragged-right = ##t }
+\version "2.11.51"
 
-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 }
-}