lilypond-user
[Top][All Lists]
Advanced

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

Re: why does lily prints both a natural and sharp sign?


From: Xavier Scheuer
Subject: Re: why does lily prints both a natural and sharp sign?
Date: Sat, 11 Jun 2011 09:06:53 +0200

On 11 June 2011 05:31, Marc Mouries <address@hidden> wrote:
>
> in the following code, lily prints both a natural and sharp sign before the
> G #.
> Why?
> Is there a way to avoid that?
> \version "2.14"
> \language "english"
> { \relative d' {
>     \key df \major
>      df ef f gs af bf c df
> }
> }

Because the g is flat according to the key and you want a g sharp.
First the flat is canceled with the natural and then the note is raised
with the sharp.  This is standard typesetting rules AFAIK.

To avoid that use
  \set Staff.extraNatural = ##f

This is explained in the doc, NR 1.1.1 Writing pitches > Accidentals
Snippet "Preventing extra naturals from being automatically added"
http://lilypond.org/doc/v2.14/Documentation/notation/writing-pitches.html#accidentals

Cheers,
Xavier

-- 
Xavier Scheuer <address@hidden>



reply via email to

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