Ah! J’oublie les hampes ; et voilà :
\version "2.18.2"
\include "italiano.ly"
mT = #(define-scheme-function (parser location mon-doigte music) (string? ly:music?)
#{
\tweak NoteHead.stencil #ly:text-interface::print
\tweak NoteHead.text \markup\lower #.5 \finger\with-color #red #mon-doigte $music
#})
\score {
\relative do' {
\mT "1" do8
\mT "2" re
\mT "3" mi
<\mT "3" sol4 \mT "4" si \mT "5" re>8
}
\layout {
\context {
\Staff
%\override NoteHead.stem-attachment = #'(1.8 . 0)
%% supression des barres de liaisons :
\override Beam.transparent = ##t
%% supression des hampes :
\override Stem.transparent = ##t
}
}
}