Thanks Aaron that worked.
On 2022-08-17 12:30 pm, Rajesh Baskar wrote:
> I'm trying to replace some of the notes with a question mark and I
> achieved this with this group's help sometime back. Here is the
To get the alignment, you need to do a few things. The markup itself
needs to be vertically centered, and then the staff-position of the note
can be forced to be on the middle line:
%%%%
\version "2.22.0"
\language english
questionMarkMarkup =
\markup \vcenter \fontsize #7 \with-color "#6A00F4" "?"
questionMark =
\tweak text \questionMarkMarkup
\tweak stencil #ly:text-interface::print
\tweak staff-position #0
\etc
{
\cadenzaOn \clef bass
g,1
\questionMark a,
\questionMark b,
\questionMark c
d
}
%%%%
-- Aaron Hill