%% Originally contributed by vv on -user-fr: % https://lists.gnu.org/archive/html/lilypond-user-fr/2020-03/msg00130.html %% This causes a rather ugly collision on older LilyPond versions. doubleSharp = \markup \concat { \raise #-.15 \sharp \sharp } \layout { \context { \Score \override Accidental.stencil = #(lambda (grob) (if (= 3/4 (ly:pitch-alteration (ly:event-property (ly:grob-property (ly:grob-property grob 'cause) 'cause) 'pitch))) (grob-interpret-markup grob (markup doubleSharp)) (ly:accidental-interface::print grob))) } } \relative c'{ cisis cisih des }