Robert Garrigos wrote:

I want the sustainOff symbol right under the bf of the right hand. The SustainPedal.X-offset is not working.
           ef,,8(\sustainOn bf' ef g bf ef g4)
          % \once \override SustainPedal.X-offset = 1
          \sustainOff


Some commands need to be put before the note, and some after.
If you mix this up, a command may work on the previous or next note.

And if this gets mixed up on the last note (where there is no next note)
you may get an error report, or not even that.

In this case, the note in question is the g4.
The \sustainOff comes after but the \override must come before.


A second problem is that your SustainPedal belongs in the Staff;
LilyPond thinks you are talking about a SustainPedal in a Voice,
and silently does nothing.


          ef,,8(\sustainOn bf' ef g bf ef
          \once \override Staff.SustainPedal.X-offset = 2
          g4) \sustainOff



Cheers,
Robin


Reply via email to