Hi, Basically, this is https://gitlab.com/lilypond/lilypond/-/issues/4157
The problem is related to \RemoveAllEmptyStaves. In essence, horizontal spacing is computed as if the staves that are being removed were still present. If you comment out the \RemoveAllEmptyStaves line, you will see that the objects taking this space are the clefs and time signatures. It's not clear from your example what the \guitarPart is for, but you might be able to introduce it later than the first system using a << ... \new StaffGroup ... >> construct in the middle of the chords or fretboards part. Best, Jean
signature.asc
Description: This is a digitally signed message part
