Re: Suppress end-of-line key signature change

2022-09-09 Thread Mark Probert
Thank you!

I missed that section of the documentation in my travels, so another thank
you!

 .. m.

On Fri, Sep 9, 2022 at 4:30 PM Xavier Scheuer  wrote:

> On Fri, 9 Sept 2022 at 03:35, Mark Probert  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
>
> Cheers,
> Xavier
>
> --
> Xavier Scheuer 
>
>

-- 
-mark.


Re: Suppress end-of-line key signature change

2022-09-09 Thread Mark Probert
Hi, Jean.

I was unclear in my writing. The exercise is a Circle of Fourths/Fifths
thing that cycles through each key. There are multiple exercises for major,
minor, etc.. Suppressing the signature works the way I want it to :-)

 ..m.

On Fri, Sep 9, 2022 at 5:54 PM Jean Abou Samra  wrote:

>
>
> Le 09/09/2022 à 08:30, Xavier Scheuer a écrit :
> > On Fri, 9 Sept 2022 at 03:35, Mark Probert  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
>
>
>

-- 
-mark.


Re: Suppress end-of-line key signature change

2022-09-09 Thread Jean Abou Samra




Le 09/09/2022 à 08:30, Xavier Scheuer a écrit :

On Fri, 9 Sept 2022 at 03:35, Mark Probert  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





Re: Suppress end-of-line key signature change

2022-09-09 Thread Xavier Scheuer
On Fri, 9 Sept 2022 at 03:35, Mark Probert  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

Cheers,
Xavier

-- 
Xavier Scheuer