So you want Lilypond to take that space equally from all the measures in that line, rather than just the last measure?

I'm actually surprised if that is not the default behavior...



On Jan 27, 2025, at 11:15 PM, Paul Scott <waterhorsemu...@aol.com> wrote:



I don't want to cancel it. I want it not to compress the music in the last measure of the line.

I haven't been able to find one of my examples or create a MWE.

Thank you,

Paul


On 1/25/25 11:33 AM, Hans Aikema wrote:


On 25 Jan 2025, at 00:35, Paul Scott <waterhorsemu...@aol.com> wrote:

When a time signature or key change happens at the beginning of a line it is repeated at the end of the previous line. This is good and normal.

The space needed for this is taken from the last  measure on that previous line often making that last measure very cramped . Is there a way to change this?

Of course



\version "2.24.4"
%%% Defaul rendering
{
    \key g \major
    1 | \break
    \key f \major
    1
}
%%% Modified to cancel out the end-of-line key-change display
{
    \set Staff.explicitKeySignatureVisibility = #end-of-line-invisible
    \override Staff.KeyCancellation.break-visibility = #end-of-line-invisible
    \key g \major
    1 | \break
    \key f \major
    1
}


HTH 
Hans

Reply via email to