lilypond-user
[Top][All Lists]
Advanced

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

RE: Alignment help


From: Rajesh Baskar
Subject: RE: Alignment help
Date: Wed, 17 Aug 2022 22:12:44 +0000

Thanks Aaron that worked.

 

From: Aaron Hill
Sent: Wednesday, August 17, 2022 12:49 PM
To: Rajesh Baskar
Cc: lilypond-user@gnu.org
Subject: Re: Alignment help

 

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]