lilypond-user
[Top][All Lists]
Advanced

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

Re: Alignment help


From: Aaron Hill
Subject: Re: Alignment help
Date: Wed, 17 Aug 2022 12:49:43 -0700

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



reply via email to

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