lilypond-user
[Top][All Lists]
Advanced

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

Re: key and/or time signature at end of line


From: Paul Scott
Subject: Re: key and/or time signature at end of line
Date: Mon, 27 Jan 2025 22:13:31 -0700
User-agent: Mozilla Thunderbird

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 <waterhorsemusic@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

https://lilypond.org/doc/v2.24/Documentation/notation/visibility-of-objects#special-considerations


\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

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