[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Top-aligned and bottom-aligned markup with TextScript staff-padding
From: |
Kieren MacMillan |
Subject: |
Re: Top-aligned and bottom-aligned markup with TextScript staff-padding |
Date: |
Mon, 4 Sep 2006 17:01:07 -0500 |
Hi, Trevor:
Anyone have something handy to make the markup in this example
*bottom-align* (instead of top-aligning)?
"NORM has ascenders, but "norm" doesn't.
Therefore, you need to add an invisible ascender letter (e.g.,
capital) to force it to have the same vertical extent as the other one.
%%% BEGIN TOP-ALIGNED MARKUP SNIPPET %%%
\version "2.9.15"
\paper { ragged-right = ##t }
\new Staff {
\time 2/4
\override TextScript #'staff-padding = #4
c'1_\markup { "NORM" }
c'1_\markup { "norm" \transparent "T" }
}
%%% END TOP-ALIGNED MARKUP SNIPPET %%%
The baseline/text handling in Lilypond is definitely amongst my pet
peeves... =)
Hope this helps!
Kieren.