%%
\version "2.24.4"
\language "english"




\layout { 

\override Score.BreakAlignment.break-align-orders =
#(make-vector 3 '(left-edge
cue-end-clef
ambitus
breathing-sign
clef
cue-clef
key-cancellation
key-signature
staff-bar
time-signature
custos)) 

\override Score.KeySignature.extra-spacing-width = #'(-2.0 . 0.0)
\override Score.KeyCancellation.extra-spacing-width = #'(-2.0 . 0.0)
}



mymusic = \fixed c'' {
\key g \major
c4 c c c

\key f \major 
\bar "||"
c c c c

\key c \major
c4 c c c
}


\score {
\new Staff \mymusic
\layout { }
}

%%

https://lilypond.org/doc/v2.24/Documentation/internals/breakalignment

The spacing looks tight without adjustments, change to your preferences.


Reply via email to