> On 25 Jan 2025, at 19:33, Hans Aikema <[email protected]> wrote:
> 
> 
> 
>> On 25 Jan 2025, at 00:35, Paul Scott <[email protected]> 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...

And to do it only for a single case in a larger piece you could use it by just 
surrounding the measure-after-the-break that has the time-signature / key 
change that you want to have hidden end-of-line with a set/unset for the 
explicitKeySignatureVisibility and prefix both \override-s with a \once:

\version "2.24.4"
{
    \time 4/4
    \key g \major
    1 | \break

    \set Staff.explicitKeySignatureVisibility = #end-of-line-invisible
    \once \override Staff.KeyCancellation.break-visibility = 
#end-of-line-invisible
    \once \override Staff.TimeSignature.break-visibility = 
#end-of-line-invisible
    \time 2/4
    \key f \major
    2 | \break
    \unset Staff.explicitKeySignatureVisibility

    \time 4/4
    \key e \major
    1
}

> 
> 
> 
> HTH 
> Hans
> 


Reply via email to