Thanks, this works and is cleaner than overwriting the stencil.

---------- Forwarded message ----------
> From: SK <s.skr.k...@googlemail.com>
> To: lilypond-user@gnu.org
> Cc:
> Bcc:
> Date: Wed, 27 Feb 2019 16:13:24 +0100
> Subject: printKeyCancellation not working as expected
> Hello,
>
> I would like to be able to change key signatures without ANY hints for
> educational purposes. For this I use Staff.printKeyCancellation set to
> false, together with the visibility options for key signatures. It works
> fine for most keys, but when changing to a key without any accidentals such
> as c major, the natural signs are shown and tell the student where there
> have been accidentals before.
> Any help would be very appreciated.
>
>
>
>
>
> ---------- Forwarded message ----------
> From: Malte Meyn <lilyp...@maltemeyn.de>
> To: lilypond-user@gnu.org
> Cc:
> Bcc:
> Date: Wed, 27 Feb 2019 16:18:45 +0100
> Subject: Re: printKeyCancellation not working as expected
>
>
> Am 27.02.19 um 16:13 schrieb SK:
> > Hello,
> >
> > I would like to be able to change key signatures without ANY hints for
> > educational purposes. For this I use Staff.printKeyCancellation set to
> > false, together with the visibility options for key signatures. It works
> > fine for most keys, but when changing to a key without any accidentals
> > such as c major, the natural signs are shown and tell the student where
> > there have been accidentals before.
> > Any help would be very appreciated.
>
> Try
>         \omit Staff.KeyCancellation
> instead.
>
>
> _______________________________________________
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to