]> git.donarmstrong.com Git - lilypond.git/commitdiff
update regression tests for volta brackets
authorJoe Neeman <joeneeman@gmail.com>
Sun, 8 Jul 2007 01:30:27 +0000 (11:30 +1000)
committerJoe Neeman <joeneeman@gmail.com>
Sun, 8 Jul 2007 01:30:27 +0000 (11:30 +1000)
input/regression/volta-multi-staff-inner-staff.ly [new file with mode: 0644]
input/regression/volta-multi-staff.ly

diff --git a/input/regression/volta-multi-staff-inner-staff.ly b/input/regression/volta-multi-staff-inner-staff.ly
new file mode 100644 (file)
index 0000000..c6d0f9e
--- /dev/null
@@ -0,0 +1,29 @@
+\header {
+  texidoc = "By putting Volta_engraver in a staff context, one can get
+volta brackets on staves other than the topmost one."
+}
+
+\layout {
+  ragged-right = ##t
+
+  \context {
+    \Score
+    \remove "Volta_engraver"
+  }
+}
+
+\version "2.10.0"
+
+vmus =  { \repeat volta 2 c1 \alternative { d e } } 
+
+\relative c'' <<
+  \new StaffGroup <<
+    \new Staff \vmus
+    \new Staff \vmus
+  >>
+  \new StaffGroup <<
+    \new Staff \with { \consists "Volta_engraver" }
+      \vmus
+    \new Staff \vmus
+  >>
+>>
index ce8c617cfb3a544db7031b583ccd4f4484b32445..1b1f395baae0750d4d9fabfb0ce500b32443de60 100644 (file)
@@ -1,27 +1,19 @@
 \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."
 }
 
 \layout { ragged-right = ##t }
 \version "2.10.0"
 
-
 vmus =  { \repeat volta 2 c1 \alternative { d e } } 
 
-
-
 \relative c'' <<
   \new StaffGroup <<
-    \context Staff \vmus
+    \new Staff \vmus
     \new Staff \vmus
   >>
   \new StaffGroup <<
-    \new Staff <<
-      \set Staff.voltaOnThisStaff = ##t
-      \vmus >>
+    \new Staff \vmus
     \new Staff \vmus
   >>
 >>