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: David Kastrup
Subject: Re: TextScript.outside-staff-padding and text's baseline
Date: Sat, 20 Oct 2018 22:03:16 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Urs Liska <address@hidden> writes:

> 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?

\version "2.19.82"

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

-- 
David Kastrup



reply via email to

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