lilypond-user
[Top][All Lists]
Advanced

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

Re: Custom AccidentalStyle


From: Phil Holmes
Subject: Re: Custom AccidentalStyle
Date: Fri, 7 Dec 2018 14:32:33 -0000

----- Original Message ----- From: "mansouraoun" <address@hidden>
To: <address@hidden>
Sent: Friday, December 07, 2018 1:31 PM
Subject: Custom AccidentalStyle


Hello everyone,

I'm trying to have a custom accidental style but I don't know exactly how am
i supposed to achieve this.

The one I'm looking for is fairly simple, it's between 'dodecaphonic' and
'forget':
Knowing that there's no key signature: write all accidentals for all notes,
but write naturals only if the note has been altered earlier on the same
octave and in the same measure.

For example in the image below:
<http://lilypond.1069038.n5.nabble.com/file/t5738/Screenshot_2018-12-07_at_14.png>

The natural g should stay as it is, because it wasn't preceded with an
altered g on the same octave.
While the last note, the natural d, should have a natural sign because it
was preceded by a d sharp in the same measure.

I'm applying here the forget style.
The dodecaphonic style would insert a natural sign in front of the natural g
which I don't need and the forget style would not insert a natural sign in
front of the last d, which I need.

Thanks in advance,

Mansour

From the NR:

default

This is the default typesetting behavior. It corresponds to eighteenth-century common
practice: accidentals are remembered to the end of the measure in which they
occur and only in their own octave. Thus, in the example below, no natural signs
are printed before the b in the second measure or the last c:

Is this not what you want?


--
Phil Holmes



reply via email to

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