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