On 10/07, Noeck wrote:
> Hi,
>
> Am 07.10.2018 um 19:01 schrieb Mason Hock:
> > \override Voice.Accidental.stencil = ##f
> > % music that doesn't need accidentals
> > \override Voice.Accidental.stencil = ##t
>
> While you can omit accidentals with the first line, you cannot set the
> stencil to true. This prints a warning:
>
> > warning: type check for `stencil' failed; value `#t' must be of type
> > `stencil'
>
> The right thing to do is to revert the override:
>
> \version "2.18.2"
> {
> fis
> \override Accidental.stencil = ##f
> gis
> \revert Accidental.stencil
> cis'
> }
My bad. Thanks.
>
> Or equivalently in more recent versions:
>
> \version "2.19.80"
> {
> fis
> \omit Accidental
> gis
> \undo \omit Accidental
> cis'
> }
>
>
> Cheers,
> Joram
>
> _______________________________________________
> lilypond-user mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/lilypond-user
signature.asc
Description: PGP signature
_______________________________________________ lilypond-user mailing list [email protected] https://lists.gnu.org/mailman/listinfo/lilypond-user
