Hello,

Is it possible to \override the outside-staff-padding property of a
PianoPedalBracket, in some way?

Of course it is doable on a Sustain/Sostenuto/UnaCorda-PedalLineSpanner,
but this causes to have the result only for the horizontal line of the
bracket, and not for the  __/\__ (\sustainoff\sustainOn) and __|  elements
(\sustainOff)

In case Lilypond doesn't natively support this, a hack could be to draw two
copies of the bracket (above and below) on the same grob, with white color
(so they appear invisible, but they act as a barrier). In this way:


____________/\_______/\_______|   (white color)
|
|  <----- outside-staff-padding gap
|
| ____________/\_______/\_______|  (black color)
|
|  <----- outside-staff-padding gap
|
|_____________/\_______/\_______|   (white color)


How can it be done? Thanks for your help!!

Best,

P

Reply via email to