lilypond-user
[Top][All Lists]
Advanced

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

Re: TextScript.outside-staff-padding and text's baseline


From: Aaron Hill
Subject: Re: TextScript.outside-staff-padding and text's baseline
Date: Sat, 20 Oct 2018 17:49:03 -0700
User-agent: Roundcube Webmail/1.3.6

On 2018-10-20 5:45 pm, Kieren MacMillan wrote:
Hi Aaron,

%%%%
\version "2.19.82"
{
 \override TextScript.staff-padding = #(lambda (grob)
   (let ((dir (ly:event-property (event-cause grob) 'direction)))
     (if (> dir 0) 2.5 3.5)))
 g' _"g" ^"q"
 g' _"b" ^"b"
}
%%%%

The baselines above the staff seem aligned, but not below the staff.
Is that expected behaviour?

Hi Kieren,

The baselines are aligned. It is just that "g" in the default font lies above the baseline, so it looks odd. Change _"g" to _"gb" and you can see that the b's align.

-- Aaron Hill



reply via email to

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