lilypond-learning: The padding property

 
 The ‘padding’ property
 ......................
 
 The ‘padding’ property can be set to increase (or decrease) the distance
 between symbols that are printed above or below notes.
 
      c2\fermata
      \override Script.padding = #3
      b2\fermata
      [image src="" alt="[image of music]" text="image of music"]
 
      % This will not work, see below
      \override MetronomeMark.padding = #3
      \tempo 4 = 120
      c1 |
      % This works
      \override Score.MetronomeMark.padding = #3
      \tempo 4 = 80
      d1 |
      [image src="" alt="[image of music]" text="image of music"]
 
    Note in the second example how important it is to figure out what
 context handles a certain object.  Since the ‘MetronomeMark’ object is
 handled in the ‘Score’ context, property changes in the ‘Voice’ context
 will not be noticed.  For more details, see See
 (lilypond-notation)Modifying properties.
 
    If the ‘padding’ property of an object is increased when that object
 is in a stack of objects being positioned according to their
 ‘outside-staff-priority’, then that object and all objects outside it
 are moved.