]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/pedal-bracket.ly
Doc-es: various updates.
[lilypond.git] / input / regression / pedal-bracket.ly
1 \version "2.19.21"
2
3 \header {
4
5     texidoc = "The brackets of a piano pedal should start and end at
6  the left side of the main note-column. If a note is shared between
7  two brackets, these ends are flared.
8
9 At a line-break, there are no vertical endings.  Pedal changes can
10 be placed at spacer rests." }
11
12 \score {
13      \relative {
14         \set Staff.pedalSustainStyle = #'bracket
15
16         c''4 d <e f b,> \sustainOn b c c, \sustainOff \sustainOn  d8[ c]  e8[
17             e \sustainOff \sustainOn]  f4 r \sustainOff
18             g \sustainOn bes bes, \sustainOff c'
19
20         \set Staff.pedalUnaCordaStyle = #'mixed
21
22         c4 d \unaCorda e f g b \break
23         \mark "long mark"
24         c b <c e,>\arpeggio \treCorde c |
25         b8\sustainOn g d b <<c2 {s4 s4\sustainOff\sustainOn }>> |
26         g1
27     }
28     \layout { ragged-right = ##t }
29 }