[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Overriding Y-extent of Clef doesn't work with v2.17.10
From: |
mike |
Subject: |
Re: Overriding Y-extent of Clef doesn't work with v2.17.10 |
Date: |
Wed, 6 Feb 2013 11:27:29 +0100 |
On 6 févr. 2013, at 09:31, Keith OHara <address@hidden> wrote:
> Thomas Morley <thomasmorley65 <at> googlemail.com> writes:
>
>>
>> in some situations I used to override the Y-extent of the Clef.
>>
>> With 2.17.10 it doesn't work any more.
>>
>
> I noticed this, too, and found the change that caused it.
>
> https://lists.gnu.org/archive/html/lilypond-user/2013-01/msg00559.html
>
> Now that I think more about it, I see a reasonable way to make it work again:
>
> verticalSpace = {
> \override Staff.Clef #'minimum-Y-extent = #'(-20 . 20)
> \override Staff.Clef #'vertical-skylines = #'() }
>
> This is good, because it minimum-X-extent is very useful for getting extra
> space just where you need it.
>
There is also:
\override Staff.Clef #'vertical-skylines =
#ly:grob::simple-vertical-skylines-from-extents
which uses the extent of the clef instead of the shape to calculate vertical
skylines.
Cheers,
MS