Le 09/09/2022 à 08:30, Xavier Scheuer a écrit :
On Fri, 9 Sept 2022 at 03:35, Mark Probert <probe...@gmail.com> wrote:
>
>
> Hi.
>
> By default LP will add the new key signature to the end of a line if the next line has a key signature change (as per this example). Is there an easy way to suppress this behaviour? For pedagogic exercises like these scales it is not really needed

Hello,

\set Staff.explicitKeySignatureVisibility = #end-of-line-invisible

The explanation for this is actually documented in NR 5.4.7 Visibility of objects > Special considerations
https://lilypond.org/doc/v2.23/Documentation/notation/visibility-of-objectsl#special-considerations


Xavier's answer is correct. That said, if you are creating separate exercises,
consider creating different score blocks for them rather than overriding the
formatting.

Best,
Jean



Reply via email to