]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/volta-multi-staff.ly
Merge branch 'lilypond/translation' of ssh://git.sv.gnu.org/srv/git/lilypond
[lilypond.git] / Documentation / snippets / volta-multi-staff.ly
1 %% Do not edit this file; it is automatically
2 %% generated from LSR http://lsr.dsi.unimi.it
3 %% This file is in the public domain.
4 \version "2.13.10"
5
6 \header {
7   lsrtags = "repeats, staff-notation"
8
9   texidoc = "
10 By adding the @code{Volta_engraver} to the relevant staff, volte can be
11 put over staves other than the topmost one in a score.
12
13 "
14   doctitle = "Volta multi staff"
15 } % begin verbatim
16
17 voltaMusic = \relative c'' {
18   \repeat volta 2 {
19     c1
20   }
21   \alternative {
22     d1
23     e1
24   }
25 }
26
27 <<
28   \new StaffGroup <<
29     \new Staff \voltaMusic
30     \new Staff \voltaMusic
31   >>
32   \new StaffGroup <<
33     \new Staff \with { \consists "Volta_engraver" }
34       \voltaMusic
35     \new Staff \voltaMusic
36   >>
37 >>
38