lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Overriding outside-staff-padding of a PianoPedalBracket


From: Paolo Prete
Subject: Overriding outside-staff-padding of a PianoPedalBracket
Date: Wed, 17 Jun 2020 03:48:34 +0200

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

[Prev in Thread] Current Thread [Next in Thread]