]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/lsr/volta-multi-staff.ly
Merge branch 'master' into nested-bookparts
[lilypond.git] / input / lsr / volta-multi-staff.ly
index 7e2e6144b182f54c53ef53382a4aab9124162a7f..47edeffc4442cc83e712e28af36cb219dd0a1f83 100644 (file)
@@ -1,24 +1,32 @@
-%% Do not edit this file; it is auto-generated from LSR!
-%% Tags: pitches, repeats
+%% Do not edit this file; it is auto-generated from input/new
+%% This file is in the public domain.
+\version "2.11.57"
 \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"
+  lsrtags = "repeats,staff-notation"
+  texidoc = "By adding the @code{Volta_engraver} to the relevant
+staff, volte can be put over staves other than the topmost
+one in a score."
+  doctitle = "Volta multi-staff"
+} % begin verbatim
 
-vmus =  {
-  \repeat volta 2 c1 \alternative { d e } 
-} 
+voltaMusic = \relative c'' {
+  \repeat volta 2 {
+    c1
+  }
+  \alternative {
+    d1
+    e
+  }
+}
 
-\relative c'' <<
+<<
   \new StaffGroup <<
-    \context Staff \vmus
-    \new Staff \vmus
+    \context Staff \voltaMusic
+    \new Staff \voltaMusic
   >>
   \new StaffGroup <<
-    \new Staff \with { \consists Volta_engraver }
-      \vmus
-    \new Staff \vmus
+    \new Staff \with { \consists "Volta_engraver" }
+      \voltaMusic
+    \new Staff \voltaMusic
   >>
 >>