]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/creating-cross-staff-arpeggios-in-other-contexts.ly
Issue 5167/6: Changes: show \markup xxx = ... \etc assignments
[lilypond.git] / Documentation / snippets / creating-cross-staff-arpeggios-in-other-contexts.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 = "expressive-marks"
11
12   texidoc = "
13 Cross-staff arpeggios can be created in contexts other than
14 @code{GrandStaff}, @code{PianoStaff} and @code{StaffGroup} if the
15 @code{Span_arpeggio_engraver} is included in the @code{Score} context.
16
17 "
18   doctitle = "Creating cross-staff arpeggios in other contexts"
19 } % begin verbatim
20
21 \score {
22   \new ChoirStaff {
23     \set Score.connectArpeggios = ##t
24     <<
25       \new Voice \relative c' {
26         <c e>2\arpeggio
27         <d f>2\arpeggio
28         <c e>1\arpeggio
29       }
30       \new Voice \relative c {
31         \clef bass
32         <c g'>2\arpeggio
33         <b g'>2\arpeggio
34         <c g'>1\arpeggio
35       }
36     >>
37   }
38   \layout {
39     \context {
40       \Score
41       \consists "Span_arpeggio_engraver"
42     }
43   }
44 }