lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Add extra space before key cancellation and a new key signature


From: Volodymyr Prokopyuk
Subject: Add extra space before key cancellation and a new key signature
Date: Wed, 19 Oct 2022 12:42:21 +0200

Hi,

Could you please help me with the below situation?

Context

I've changed the order of key cancellation and a new key signature to be placed before the bar line with the following code

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

Now I use \keyChangeBeforeBar \key g \major to change the key at the end of the score with the below result

image.png
Problem
The key cancellation and a new key signature are too close to the last note g'.

Question
How can I add extra space before the key cancellation and a new key signature?

I tried a few options following the documentation but with no luck.

Thank you very much,
Vlad

reply via email to

[Prev in Thread] Current Thread [Next in Thread]