[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lilypond-user
Subject:    Overriding Y-extent of Clef doesn't work with v2.17.10
From:       Thomas Morley <thomasmorley65 () googlemail ! com>
Date:       2013-01-31 23:26:15
Message-ID: CABsfGyXVdwVwB1-FAT1TkNtyCB4s7yGD-+C7N_zxEuZfW78pTw () mail ! gmail ! com
[Download RAW message or body]

Hi,

in some situations I used to override the Y-extent of the Clef.

With 2.17.10 it doesn't work any more.

\version "2.16.1"
%\version "2.17.10"

#(ly:set-option 'debug-skylines #t)

verticalSpace = {
        % None of the following commands work with 2.17.10
        \override Staff.Clef #'Y-extent = #'(-20 . 20)
        \override Staff.Clef #'minimum-Y-extent = #'(-20 . 20)
        \override Staff.Clef #'extra-spacing-height = #'(-20 . 20)
}

mus = { \verticalSpace \clef alto R1 }

<<
  \new Staff \mus
  \new Staff \mus
>>

It still works for StaffSymbol, TimeSignature and MultimeasureRest.
(So far I tested)
I think it would be quite easy to write a scheme-procedure which adds
some space to the clef, but I wonder why it doesn't work any more.

Is there any other command which does it now?


Cheers,
  Harm


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic