\header {
texidoc = "The brackets of a piano pedal should start and end at
- the left side of the note. If a note is shared between two brackets,
- these ends are flared.
+ the left side of the main note-column. If a note is shared between
+ two brackets, these ends are flared.
At a line-break, there are no vertical endings. " }
\relative c'' {
\set Staff.pedalSustainStyle = #'bracket
- c4 d e \sustainOn b c c, \sustainOff \sustainOn d8[ c] e8[
- e \sustainOff \sustainOn] f4 d
- \sustainOff g \sustainOn b b, \sustainOff c'
+ c4 d <e f b,> \sustainOn b c c, \sustainOff \sustainOn d8[ c] e8[
+ e \sustainOff \sustainOn] f4 r \sustainOff
+ g \sustainOn bes bes, \sustainOff c'
\set Staff.pedalUnaCordaStyle = #'mixed
c4 d \unaCorda e f g
- b | \break c b c \treCorde c
+ b | \break c b <c e,>\arpeggio \treCorde c
}
\layout { ragged-right = ##t }
}
height[d] = 0.0;
else
flare[d] = 0.0;
- }
- Interval ext = robust_relative_extent (b, common, X_AXIS);
- span_points[d] = ext [broken[d] ? RIGHT : LEFT];
+ span_points[d] = robust_relative_extent (b, common, X_AXIS)[RIGHT];
+ }
+ else
+ span_points[d] = b->relative_coordinate (common, X_AXIS);
}
while (flip (&d) != LEFT);