I've run into an interesting behavior of LilyPond (2.24.4 and 2.25.24) when you have dotted notes in a chord with an interval of a second. The dotted note will shift right in some circumstances and shift left in others. It seems to shift right to avoid writing a dot on a line. Here is an MWE and I've attached a screenshot:
%%%
\version "2.24.4"
\relative {
\time 6/8
<<
{ c''4.^"default behavior" b | a4. g | }
\\
{ b8 b b a a a | g g g f f f | }
>>
}
moveDottedNoteA = \once {
\override NoteColumn.force-hshift = -1.4
\override Dots.extra-offset = #'(0 . 1)
}
\relative {
\time 6/8
<<
{ \moveDottedNoteA c''4.^"better?" b | \moveDottedNoteA a4. g | }
\\
{ b8 b b a a a | g g g f f f | }
>>
}
%%%
My question is, does the modified way look better? Should it be LilyPond's default behavior?