|
From: | Lukas-Fabian Moser |
Subject: | Re: Accidental placement below accidental-carrying tie |
Date: | Fri, 16 Apr 2021 14:42:40 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 |
Hi Daniel,
What’s up with the placement of the G natural accidental in this example? It seems to make space for the C natural accidental that would have been there, had it not been carried over with the tie. How can I fix this? \version "2.20.0" \score { \new Staff << \key a \major \time 4/2 \partial 2 \clef "bass" << { c'2~ 2 } \\ { a2 g } >> >> }
This seems to be a flaw in LilyPond's logic for displaying/omitting accidentals that I repeatedly stumpled upon.
While not an ideal solution, just killing the (invisible) accidental's stencil seems to work:
\version "2.20.0" noAccidental = \tweak Accidental.stencil ##f \etc \score { \new Staff << \key a \major \time 4/2 \partial 2 \clef "bass" << { c'2~ \noAccidental 2 } \\ { a2 g } >> >> } Lukas
[Prev in Thread] | Current Thread | [Next in Thread] |