Ok, then it's not a bug but a feature. In my opinion, it would make more sense to set "top-markup-spacing" to "0" by default instead of having some ghost value that moves the text further down. I have always done this with raise/lower when I needed it. As I said, I'm usually still using an old version of Lilypond and am not up to date with all the changes. The reason was/is the musicxml import, which was corrupted starting with some of the newer versions.
Thanks you for the tips!!!
Andreas

Translated with www.DeepL.com/Translator (free version)

On 02.03.24 10:55, Aaron Hill via bug-lilypond <bug-lilypond@gnu.org> wrote:
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



Reply via email to