[Top][All Lists]
[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>
- why does lily prints both a natural and sharp sign?, Marc Mouries, 2011/06/10
- Re: why does lily prints both a natural and sharp sign?,
Xavier Scheuer <=
- Message not available
- Re: why does lily prints both a natural and sharp sign?, Xavier Scheuer, 2011/06/11
- Re: why does lily prints both a natural and sharp sign?, Phil Holmes, 2011/06/11
- Re: why does lily prints both a natural and sharp sign?, Janek Warchoł, 2011/06/11
- Re: why does lily prints both a natural and sharp sign?, Marc Mouries, 2011/06/11
- Re: why does lily prints both a natural and sharp sign?, Nicholas Moe, 2011/06/11
- Re: why does lily prints both a natural and sharp sign?, C.Flothow, 2011/06/12
- Re: why does lily prints both a natural and sharp sign?, Janek Warchoł, 2011/06/12
- Re: why does lily prints both a natural and sharp sign?, bruys ., 2011/06/15
- Re: why does lily prints both a natural and sharp sign?, Edward Neeman, 2011/06/16
- Re: why does lily prints both a natural and sharp sign?, Keith OHara, 2011/06/18