The right-padding property

The right-padding property affects the spacing between the accidental and the note to which it applies.3 It is not often required, but it can help in horizontally tight situations, for example.

\relative c' {
  cis8[ dis eis fis gis ais bis cis]
}

\relative c' {
  % move accents nearer to note heads
  \override Score.AccidentalPlacement.right-padding = -0.1
  cis8[ dis eis fis gis ais bis cis]
}

[image of music]


Footnotes

(3)

The DynamicText grob also has a right-padding property but with a completely different function: it controls the horizontal space between an absolute dynamic and a dynamic text span that starts at the same moment.

LilyPond Learning Manual v2.25.21 (development-branch).