On Mon, Aug 10, 2026 at 1:46 PM Lukas-Fabian Moser <[email protected]> wrote:

> Dear Knute,
> Am 10.08.26 um 20:57 schrieb Knute Snortum:
>
> I have a situation where there is a clef change after a volta repeat and I
> want the cautionary clef printed outside the repeat bar line and after the
> cautionary key signature.  I thought I'd use the new \brealAlighIinsert
> function for this, but although the output is correct, there is awarning in
> the log output:
>
> programming error: No spacing entry from KeySignature to `clef'
> Below is my MWE and I've attached a picture of the output.  What am I
> doing wrong with the \breakAlignInsert function?
>
> You're not doing anything wrong - it's just that you create (with
> \breakAlignInsert) a spacing problem for which LilyPond doesn't have a
> default setting. Compare:
> https://lilypond.org/doc/v2.27/Documentation/notation/adjusting-horizontal-spacing-for-specific-layout-objects#Spacing-between-adjacent-non_002dmusical-items
>
> You could, for example, issue:
>
> \override Staff.KeySignature.space-alist.clef = #'(extra-space . 1)
>
> The possible settings for space-alist are documented in the Internals page
> for each grob supporting it, e.g. here:
> https://lilypond.org/doc/v2.27/Documentation/internals/keysignature
>

That works, thanks for the information!

--
Knute Snortum

Reply via email to