Re: replace a notehead with a centered text

2019-11-27 Thread Pierre Perol-Schneider
Hi Paolo, Try: \override NoteHead.stem-attachment = #'(0 . 0) Cheers, Pierre Le jeu. 28 nov. 2019 à 03:05, Paolo Prete a écrit : > Hello, > > how can I replace a notehead with "some text" centered on the stem? > > If I use: > > customNotehead = { > \once \override NoteHead.stencil = #ly:text-

replace a notehead with a centered text

2019-11-27 Thread Paolo Prete
Hello, how can I replace a notehead with "some text" centered on the stem? If I use: customNotehead  = {\once \override NoteHead.stencil = #ly:text-interface::print  \once \override NoteHead.text = \markup {  \fontsize #6 "some text" }} the notehead is always at the left or at the right of its ste