]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/volta-multi-staff.ly
lilypond-manuals.css: edit color scheme and some spacing
[lilypond.git] / Documentation / snippets / volta-multi-staff.ly
1 %% DO NOT EDIT this file manually; it is automatically
2 %% generated from LSR http://lsr.di.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.18.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 voltaMusic = \relative c'' {
21   \repeat volta 2 {
22     c1
23   }
24   \alternative {
25     d1
26     e1
27   }
28 }
29
30 <<
31   \new StaffGroup <<
32     \new Staff \voltaMusic
33     \new Staff \voltaMusic
34   >>
35   \new StaffGroup <<
36     \new Staff \with { \consists "Volta_engraver" }
37       \voltaMusic
38     \new Staff \voltaMusic
39   >>
40 >>