lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: replace a notehead with a centered text


From: Pierre Perol-Schneider
Subject: Re: replace a notehead with a centered text
Date: Thu, 28 Nov 2019 08:27:19 +0100

Hi Paolo,
Try:

\override NoteHead.stem-attachment = #'(0 . 0)

Cheers,
Pierre

Le jeu. 28 nov. 2019 à 03:05, Paolo Prete <address@hidden> 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-interface::print
  \once \override NoteHead.text = \markup {  \fontsize #6 "some text" }
}

the notehead is always at the left or at the right of its stem...

thank you
P

reply via email to

[Prev in Thread] Current Thread [Next in Thread]