]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/pedal-bracket.ly
Align pedal brackets to main note-column; issue 723
[lilypond.git] / input / regression / pedal-bracket.ly
1 \version "2.14.0"
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.  " }
10
11 \score {
12      \relative c'' {
13         \set Staff.pedalSustainStyle = #'bracket
14
15         c4 d <e f b,> \sustainOn b c c, \sustainOff \sustainOn  d8[ c]  e8[
16             e \sustainOff \sustainOn]  f4 r \sustainOff
17             g \sustainOn bes bes, \sustainOff c'
18
19         \set Staff.pedalUnaCordaStyle = #'mixed
20
21         c4 d \unaCorda e f g
22         b  | \break c b <c e,>\arpeggio \treCorde c
23     }
24     \layout { ragged-right = ##t }
25 }