Urs Liska <li...@openlilylib.org> 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

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to