Orm Finnendahl wrote:
Attached now...
>
> AFAICS the only thing stated about Bar Numbers in the score is:
>
> \context Score {
> \set barNumberVisibility = #(every-nth-bar-number-visible 1)
> }
>
>
> lilypond version is 2.23.11.
>
> The score itself is too big to include and I unfortunately don't have
> a clue how to reproduce this behaviour with a small snippet. Does
> anybody have an idea what causes the number offset?
>
Well, I had that happen to pseudoIndent when the system was stretched.
https://lsr.di.unimi.it/LSR/Item?id=1098
Increasing the horizon-padding by the amount of stretching let it cope.
I can only suppose that the left end of your barline staff is ever so
slightly different from the others.
So, to that above-mentioned '\context Score' block, try adding
\override BarNumber.horizon-padding = #1
Cheers,
Robin