> -----Original Message----- > From: Noeck [mailto:noeck.marb...@gmx.de] > Sent: Friday, March 20, 2020 6:33 PM > To: lilypond-user@gnu.org > Subject: Re: StaffSymbol stops short of end-of-\score TimeSignature or > KeySignature > > You could add an invisible spacer rest in both cases: > \time 4/4 s > and > \key b \major s } > > Would that be a solution for you or just in the example?
That does fix the issue with the StaffSymbol ending too far left. I've also been able to adjust the \tweak X-extent value manually to imitate the default spacing, so my issue is solved for now. However, for this solution to work X-extent value has to change depending on the width of the grob—so \tweak X-extent #'(0 . 2.1) works for 4/4, but not for 12/8, and certainly not for a five-sharp KeySignature. It'd be great if there were another way to do it that wasn't so kludgy.