lilypond-user
[Top][All Lists]
Advanced

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

Re: override TextScript.padding changes text baseline?


From: Robert Hickman
Subject: Re: override TextScript.padding changes text baseline?
Date: Wed, 18 Apr 2018 15:42:52 +0100

Was using 'spacing' to refer to 'gap' as a general concept, rather
than an LP term. But staff-padding fixes the issue. Thanks Ben and
David.

'padding' is relative to the bounding box of a grob?

On 18 April 2018 at 15:32, David Kastrup <address@hidden> wrote:
> Robert Hickman <address@hidden> writes:
>
>> I am attempting to increase the spacing between a text block and the
>> staff, which I have found can be done using
>>  \override TextScript.padding = ...
>
> That doesn't increase the _spacing_ but the padding.
>
>> However doing this changes the baseline of the text for some
>> reason.
>
> It doesn't change the baseline at all.  The additional padding may make
> it necessary to shift the baseline in order to avoid collisions with
> other scripts or objects.  You likely want to change staff-padding
> instead which is supposed to make room for the reference points rather
> than the outlines.
>
> --
> David Kastrup



reply via email to

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