Thanks. I almost got there myself, but had the syntax not completely correct. This should do the trick.
Martin
Sent from Android device
Op 26 jan 2026 18:07 schreef Knute Snortum <[email protected]>:
On Mon, Jan 26, 2026 at 2: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?A minimal example can be as simple as this:%%% Start\version "2.24.4"
\relative c''' {
\tempo "Andante" 4 = 100
c4 c c c
}%%% EndAdding the overrides for X-offset and Y-offset that Carl mentions and playing with the values, you get something like this:%%% Start\version "2.24.4"
\relative c''' {
\override Score.MetronomeMark.X-offset = #5
\override Score.MetronomeMark.Y-offset = #10
\tempo "Andante" 4 = 100
c4 c c c
}%%% EndI put in extreme values for demonstration purposes. You will need to play with the values to get them where you want them. Also keep in mind that LilyPond adds an offset to the metronome mark itself, so you will have to get "past" these values to see an effect. For instance, for the Y-offset, a value of #1 seems to do nothing. It's only when you get to about #5 that the metronome mark moves upward.--Knute Snortum
