]> git.donarmstrong.com Git - lilypond.git/commitdiff
Fix and move volta-multi-staff.ly
authorJohn Mandereau <john.mandereau@gmail.com>
Sat, 8 Dec 2007 17:35:32 +0000 (18:35 +0100)
committerJohn Mandereau <john.mandereau@gmail.com>
Sat, 8 Dec 2007 17:35:32 +0000 (18:35 +0100)
input/lsr/repeats/volta-multi-staff.ly [deleted file]
input/new/pitches/volta-multi-staff.ly [new file with mode: 0644]

diff --git a/input/lsr/repeats/volta-multi-staff.ly b/input/lsr/repeats/volta-multi-staff.ly
deleted file mode 100644 (file)
index a59b9a8..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-%%  Do not edit this file; it is auto-generated from LSR!
-\version "2.10.12"
-
-\header { texidoc = "
-By setting @code{voltaOnThisStaff}, repeat brackets can be put over
-staves other than the topmost one in a score. 
-" }
-
-\layout {
-  ragged-right = ##t 
-}
-
-vmus =  {
-  \repeat volta 2 c1 \alternative { d e } 
-} 
-
-\relative c'' <<
-  \new StaffGroup <<
-    \context Staff \vmus
-    \new Staff \vmus
-  >>
-  \new StaffGroup <<
-    \new Staff <<
-      \set Staff.voltaOnThisStaff = ##t
-      \vmus >>
-    \new Staff \vmus
-  >>
->>
diff --git a/input/new/pitches/volta-multi-staff.ly b/input/new/pitches/volta-multi-staff.ly
new file mode 100644 (file)
index 0000000..fdda342
--- /dev/null
@@ -0,0 +1,22 @@
+\header {
+  texidoc = "By adding @code{Volta_engraver}, repeat brackets
+  can be put over staves other than the topmost one in a score."
+}
+
+\version "2.11.36"
+
+vmus =  {
+  \repeat volta 2 c1 \alternative { d e } 
+} 
+
+\relative c'' <<
+  \new StaffGroup <<
+    \context Staff \vmus
+    \new Staff \vmus
+  >>
+  \new StaffGroup <<
+    \new Staff \with { \consists Volta_engraver }
+      \vmus
+    \new Staff \vmus
+  >>
+>>