I'm having trouble making the spacing of accidentals right under the following circumstance, where there's a note with an accidental tied across a barline and a note in a voice below it also has an accidental. The tied note c-sharp doesn't have an accidental because it's tied, but the invisible accidental is still taking up space and forcing the a-sharp below it to the left.

Is there a way to make the invisible sharp symbol take up no space so that the whole chord moves to the left where it ought to be?

I've tried this to no avail:

  \override Staff.AccidentalPlacement #'ignore-collision = ##t

I can't find anything else that looks promising. Extra-offset can fix the placement of the a-sharp, but it'll still leave the chord too far to the right of the barline. If I change the c-sharp to a c-natural, then the placement is correct but the tie disappears. Do I need to do something with an extra invisible voice?

Here's a minimal code example and png.

Jon

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\relative c'' {
<< { cis1 ~ cis2 r } \\ { R1 <fis,, ais'>2 r } >>
}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


--
Jonathan Kulp
http://www.jonathankulp.com

<<attachment: accidental-placement.png>>

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to