lilypond-devel
[Top][All Lists]
Advanced

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

Re: VerticalAxisGroup minimum-Y-extent


From: Han-Wen Nienhuys
Subject: Re: VerticalAxisGroup minimum-Y-extent
Date: Thu, 24 Nov 2005 01:22:00 +0100
User-agent: Mozilla Thunderbird 1.0.7-1.1.fc4 (X11/20050929)

Daniel Johnson wrote:
I've run convert-ly (2.7.18) on some files that are about a month old,
and it made the following change:

\set Staff.minimumVerticalExtent = ##f
is changed to
\override Staff.VerticalAxisGroup #'minimum-Y-extent = ##f

However, this does not force the staff-distance the way setting
minimumVerticalExtent did.  Consider the following example:

%%% BEGIN LILYPOND CODE %%%
\version "2.7.18"

text = \lyricmode { Hel -- lo world }

\score {
   \context ChoirStaff <<
       \context Staff = women {
           %\set Staff.minimumVerticalExtent = ##f
           \override Staff.VerticalAxisGroup #'minimum-Y-extent = ##f
           \set Staff.verticalExtent = #'(-6 . 2)
           \clef treble
           \context Voice = sop { c4 c c2 }
       }
       \context Lyrics = sopLyrics \lyricsto sop \text
       \context Staff = men {
           %\set Staff.minimumVerticalExtent = ##f
           \override Staff.VerticalAxisGroup #'minimum-Y-extent = ##f
           \set Staff.verticalExtent = #'(-2 . 6)
           \clef bass
           \context Voice = bas { c4 c c2 }
       }
    >>
}
%%% END LILYPOND CODE %%%

In 2.7.14 and earlier (and in 2.6.4), the lyrics would be placed exactly
centered between the two staves, regardless of collision with notes. However, in 2.7.17 the lyrics are pushed down by the low notes in the
upper staff.

Am I completely missing something, or is minimum-Y-extent not working as
advertised?

verticalExtent should be replaced likewise by [XY]-extent.


--
 Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen




reply via email to

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