I'm currently transcribing a work into Lilypond, and I have a situation where an F already sharpened by the key signature is itself sharpened (i.e. F♯ → Fx). The subsequent note within the same measure has the key signature F♯ restored, thus undoing the double-sharp.
Lilypond appears to add a "courtesy" natural immediately to the left of the single-sharp in front of the note - refer to the markings circled in red in the below image.
But, this seems to add unnecessary clutter to an already crowded score.
Is there anyway to have Lilypond not put the natural sign in front of the sharp symbol?
I've already reviewed these questions regarding double-accidentals:
- Double Sharps And Double Flats
- With sheet music, what happens with sharps and double sharps that are already sharped in the key signature?
At least one score I found at the IMSLP for this piece has just the sharps (no naturals), although two others I saw there did have the "♮♯"
Finally, I am aware of precedent behind having both symbols; e.g. the vocal part of Mahler's 4th Symphony (final movement), Reh. 14 + 7 and 8 measures (p. 352 of this IMSLP score) (although Mahler's 4th was written eight years after Rachmaninoff's famous prelude).