On Mon, Jan 26, 2026 at 5:55 AM Martin Tarenskeen
<[email protected]> wrote:
>
> Hi LilyPonders,
>
> I have a score where I would like to vertically shift a metronome marking ( 
> \time 4=100 ) just a little bit more away from the staff. And for 
> completeness, how can I shift the horizontal position if I ever would need to?
>
> In most cases the default placement is fine, but in my current score it looks 
> a bit cluttered.
>
> I have checked the manual but didn't know where to look.

Start at the Internals Reference.
https://lilypond.org/doc/v2.24/Documentation/internals/index#top

Look at All Layout Objects:
https://lilypond.org/doc/v2.24/Documentation/internals/all-layout-objects

Find the MetronomeMark entry:
https://lilypond.org/doc/v2.24/Documentation/internals/metronomemark

This shows you can add X-offset and Y-offset to the Metronome mark.
That would be the first thing to try.

You might also try outside-staff-horizontal-padding which will raise
the metronome mark if it is too close to an adjacent outside-staff
item.

If none of these is unsuccessful, you can try the properties for the
grob-interface, which is linked at the bottom of the MetronomeMark
page. https://lilypond.org/doc/v2.24/Documentation/internals/grob_002dinterface

As part of the grob-interface, you will see the the extra-offset
property, which you can use to control the location, at the expense of
needing to manage collisions yourself.

You could also use the \offset command:
https://lilypond.org/doc/v2.24/Documentation/notation/the-offset-command

If you had prepared a minimal example, I'd have tried these out myself
before replying to you.

HTH,

Carl

Reply via email to