]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/creating-cross-staff-arpeggios-in-a-piano-staff.ly
Doc-fr: updates texidocs
[lilypond.git] / Documentation / snippets / creating-cross-staff-arpeggios-in-a-piano-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 = "expressive-marks"
11
12   texidoc = "
13 In a @code{PianoStaff}, it is possible to let an arpeggio cross between
14 the staves by setting the property @code{PianoStaff.connectArpeggios}.
15
16
17 "
18   doctitle = "Creating cross-staff arpeggios in a piano staff"
19 } % begin verbatim
20
21
22 \new PianoStaff \relative c'' <<
23   \set PianoStaff.connectArpeggios = ##t
24   \new Staff {
25     <c e g c>4\arpeggio
26     <g c e g>4\arpeggio
27     <e g c e>4\arpeggio
28     <c e g c>4\arpeggio
29   }
30   \new Staff {
31     \clef bass
32     \repeat unfold 4 {
33       <c,, e g c>4\arpeggio
34     }
35   }
36 >>