lilypond-user
[Top][All Lists]
Advanced

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

Re: Unexpected placement of accidental


From: Ahanu Banerjee
Subject: Re: Unexpected placement of accidental
Date: Thu, 5 Jan 2023 04:33:42 -0500

Thank you!

-Ahanu 

On Thu, Jan 5, 2023, 04:26 Jean Abou Samra <jean@abou-samra.fr> wrote:
Le 05/01/2023 à 10:17, Ahanu Banerjee a écrit :
> If I wanted to override the position of this single accidental, how
> might I do so?

Use extra-offset.

\version "2.24.0"

\language "english"
\relative {
   \clef bass
   \key a \major
   <
     \tweak Accidental.extra-offset #'(-0.35 . 0) f,
     \tweak Accidental.extra-offset #'(0.9 . 0) c'
     a' f'> s4*3
}


If you prefer the values to be relative to the note head (instead of
relative to the default position), you have to put

\once \override Staff.AccidentalPlacement.positioning-done = ##t

before the chord (but then you need to place *all* the accidentals in
the chord manually).


reply via email to

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