Placement of new clef within measure

Peter Payzant <[email protected]> Sat, 4 Jul 2026 14:05:09 -0300
Newsgroups gmane.comp.gnu.lilypond.general
Message-ID <[email protected]>
Hi-

When there is a clef change within a piece of music, like this:

    \version "2.24.3"
    \relative c {
       \time 4/4
       \clef "bass"
       a b c d |
       \clef alto e f g a
    }



LilyPond places the new clef at the end of the previous measure. Is 
there any way to have the new clef occur at the beginning of the current 
measure?

Thanks

Peter