The first will annotate the Accidental of the following music expression, while the second will annotate the next music expression itself (which usually should result in the NoteHead being affected).
However, this doesn't seem to make a difference. Checking inside \annotate seems to indicate that the annotation is attached to the grob, and when not attaching an annotation but coloring the object it works smoothly. So the issue should be found somewhere in the engraver rather than in the main entry function.
There are two ways to specify "tweaking" applications of
\annotate
:The first will annotate the Accidental of the following music expression, while the second will annotate the next music expression itself (which usually should result in the NoteHead being affected).
However, this doesn't seem to make a difference. Checking inside
\annotate
seems to indicate that the annotation is attached to the grob, and when not attaching an annotation but coloring the object it works smoothly. So the issue should be found somewhere in the engraver rather than in the main entry function.