]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/volta-multi-staff.ly
Imported Upstream version 2.16.0
[lilypond.git] / Documentation / snippets / volta-multi-staff.ly
1 %% DO NOT EDIT this file manually; it is automatically
2 %% generated from LSR http://lsr.dsi.unimi.it
3 %% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
4 %% and then run scripts/auxiliar/makelsr.py
5 %%
6 %% This file is in the public domain.
7 \version "2.16.0"
8
9 \header {
10   lsrtags = "really-simple, repeats, staff-notation"
11
12   texidoc = "
13 By adding the @code{Volta_engraver} to the relevant staff, volte can be
14 put over staves other than the topmost one in a score.
15
16 "
17   doctitle = "Volta multi staff"
18 } % begin verbatim
19
20
21 voltaMusic = \relative c'' {
22   \repeat volta 2 {
23     c1
24   }
25   \alternative {
26     d1
27     e1
28   }
29 }
30
31 <<
32   \new StaffGroup <<
33     \new Staff \voltaMusic
34     \new Staff \voltaMusic
35   >>
36   \new StaffGroup <<
37     \new Staff \with { \consists "Volta_engraver" }
38       \voltaMusic
39     \new Staff \voltaMusic
40   >>
41 >>