lilypond-user
[Top][All Lists]
Advanced

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

Re: Avoid accidentals in cadenza


From: Mason Hock
Subject: Re: Avoid accidentals in cadenza
Date: Sun, 7 Oct 2018 10:32:55 -0700
User-agent: NeoMutt/20180716-346-437793-dirty

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
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-user

Attachment: signature.asc
Description: PGP signature


reply via email to

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