On 2024-03-02 1:32 am, Anbo via bug-lilypond wrote:
Hello,
I don't know if this is a bug, but with the very latest Lilypond
versions (2.25.+) the distance between the top margin and the title
text does not match the value I specified, in this case 5 millimeters.
The distance is always significantly larger. Version 2.19.31, which I
still use as default, does not have this problem. The example in the
attachment is from Mutopia and was updated using convert-ly. I only
added the margins to \paper. You can see the difference if you render
the original (also in the attachment).
top-margin is the spacing from the edge of the paper to the inside of
the margin. top-markup-spacing is the spacing from the margin to the
first markup/text on the page. (See also top-system-spacing.) As it
is, you are leaving some spacing variables set to default values which
could have changed between versions, resulting in different behavior.
You might want to utilize annotate-spacing as well, as it might help
visualize where spacing occurs.
-- Aaron Hill