lilypond-user
[Top][All Lists]
Advanced

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

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


From: Urs Liska
Subject: TextScript.outside-staff-padding and text's baseline
Date: Sat, 20 Oct 2018 21:06:21 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

Hi,

I'm trying to place a number of TextScript elements on a common baseline (similar to how lyrics are typeset).

Using outside-staff-padding on first sight seems to work but it doesn't really do the job.

\version "2.19.82"

{
  \override TextScript.outside-staff-padding = 2
  g' _"g" ^"q"
  g' _"b" ^"b"
}

Here you can see that the padding is calculated against the TextScript's *extent* - which spoils the vertica alignment when lower or upper extenders are involved.

Is there a way to force text elements to a common *baseline* (as long as collision avoidance doesn't force them farther away from the staff?

Urs

Attachment: document.png
Description: PNG image


reply via email to

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