lilypond-user
[Top][All Lists]
Advanced

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

Re: Key signature and clef break-visibility exception for page breaks?


From: David Kastrup
Subject: Re: Key signature and clef break-visibility exception for page breaks?
Date: Tue, 03 Dec 2024 23:27:01 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Eric Benson <ebseattle@gmail.com> writes:

>> On Fri, Nov 29, 2024 at 1:13 PM Eric Benson <ebseattle@gmail.com> wrote:
>>
>>> I'm making lead sheets, where, unlike common practice, the key signature
>>> and clef are not usually shown at the beginning of each line. LilyPond
>>> makes this easy to control, with
>>>
>>> \override Score.Clef.break-visibility = #all-invisible
>>>
>>> and
>>>
>>> \override Score.KeySignature.break-visibility = #all-invisible
>>>
>>> That works great. Most lead sheets are only a single page, but when
>>> they are longer I like to put the clef and key signature and clef at
>>> the beginning of the first line of each page. I'm doing that now by
>>> un-overriding and re-overriding these settings around page breaks,
>>> but that is somewhat messy and fragile. I'd like to find a better
>>> way to do this.  Does anyone know of a way? Otherwise, I guess this
>>> is a feature request!
>>
>
> Any thoughts? Anyone?

LilyPond breaks lines, and breaks pages after having established how the
lines look.

So this is not something that a "feature request" can do.  The best you
can hope for is telling LilyPond where it can break the page including
key signatures and so on and forbid it to break page anywhere else.

It can even be a range of measures that you are sure will take more than
1 line and less than 2.

-- 
David Kastrup



reply via email to

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