lilypond-user
[Top][All Lists]
Advanced

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

Re: show key signature but also alterations


From: David Kastrup
Subject: Re: show key signature but also alterations
Date: Thu, 21 May 2020 10:50:14 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Frédéric <address@hidden> writes:

> Hi,
> I'm writing a scale book. I would like to have the key signature but
> also an accidentals in front of each note. For example, in d \major, I
> would like to print f# c# as key signature and a # in front of each f
> and c.
> I see 2 possibilities:
> 1. define a custom Key_engraver which just prints the key and do not
> set the alterations.
> 2. define a special accidental rule that considers that the key
> signature is blank
>
> However, I was not able to do any of those.
>
> Any idea?

\fixed c'
{ \key d\major \accidentalStyle dodecaphonic
  c' d' e' f'
  cis' dis' eis' fis'
  ces' des' es' fes'
}

-- 
David Kastrup



reply via email to

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