The right-padding property

The right-padding property affects the spacing between the accidental and the note to which it applies.4 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

(4)

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 学习手册 v2.25.22 (development-branch).