[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Function or command to omit only certain accidentals of a chord?
From: |
David Kastrup |
Subject: |
Re: Function or command to omit only certain accidentals of a chord? |
Date: |
Wed, 31 Jan 2018 23:24:48 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
Stefano Troncaro <address@hidden> writes:
> Hello again everyone!
>
> Suppose I have the following example:
>
> \version "2.19.80"\language "english"
> command = {
> %What should go here to omit the sharp while keeping the natural?}
> \score {
> \new Staff {
> \new Voice \relative c'' {
> \key b \minor \accidentalStyle modern
> \partial 4 <as c,> |
> <b b,> \command <a cs,> <g d~> <fs d>
> }
> }
> }
>
> If for whatever reason I wanted to omit the sharp while keeping the natural
> sign of the <a cs,>, obviously \once \omit Accidental won't work. I'm at a
> loss as to how to tackle this problem, and looking through the
> documentation hasn't helped.
>
> Does anyone have an idea?
\version "2.19.80"\language "english"
\score {
\new Staff {
\new Voice \relative c'' {
\key b \minor \accidentalStyle modern
\partial 4 <as c,> |
<b b,> <a \single \omit Accidental cs,> <g d~> <fs d>
}
}
}
But you also can use stuff like
\once \accidentalStyle forget
I think to similar effect.
--
David Kastrup