On 28/01/2023 06:52, Ole V. Villumsen wrote: > Thanks, everyone, for your contributions. > > First of all Jean. Your code gives me exactly what I wanted. I haven’t > learned to use the internals, but see here that it’s useful. > >> Not sure, but my guess is that LilyPond might be trying to make different >> measures have not-too-distant lengths. This is just a guess; ... > > I am skeptical. There’s no separate measure there. > When I move the setting of the measure position to later in the bar, > I still get the same space (but then not the measure number, 5, > on the 2nd line, which makes sense). So still curious.
OK, I dug a bit, and although I still find your original code dubious, it turns out that there is a genuine bug. See https://gitlab.com/lilypond/lilypond/-/issues/6524
OpenPGP_signature
Description: OpenPGP digital signature