]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/new/volta-multi-staff.ly
Clean up further input/new
[lilypond.git] / input / new / volta-multi-staff.ly
diff --git a/input/new/volta-multi-staff.ly b/input/new/volta-multi-staff.ly
new file mode 100644 (file)
index 0000000..7f1a489
--- /dev/null
@@ -0,0 +1,24 @@
+\version "2.11.36"
+\layout { ragged-right= ##t }
+\header {
+  doctitle = "Volta multi-staff"
+  lsrtags = "repeats,staff-notation"
+  texidoc = "By adding @code{Volta_engraver}, repeat brackets
+can be put over staves other than the topmost one in a score."
+}
+
+vmus = \relative c'' {
+  \repeat volta 2 c1 \alternative { d e } 
+} 
+
+<<
+  \new StaffGroup <<
+    \context Staff \vmus
+    \new Staff \vmus
+  >>
+  \new StaffGroup <<
+    \new Staff \with { \consists Volta_engraver }
+      \vmus
+    \new Staff \vmus
+  >>
+>>