lilypond-devel
[Top][All Lists]
Advanced

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

Re: urgent: layout of first page


From: Han-Wen Nienhuys
Subject: Re: urgent: layout of first page
Date: Thu, 30 Nov 2006 09:55:38 +0100
User-agent: Thunderbird 1.5.0.8 (X11/20061107)

Werner LEMBERG escreveu:
>> ;; not tested
>> (define (first-line-position line layout)
>>   "Position of the first line on page"
>>   (max (+ (if (ly:prob-property? line 'is-title)
>>               0.0 ; do not use page-top-space when the 1st line is a title
>>               (ly:output-def-lookup layout 'page-top-space))
>>        (interval-end (paper-system-staff-extents line)))
>>        (interval-end (paper-system-extent line Y))))
> 
> Han-Wen, shall I apply this to the git repository?

yes, looks good.

> Regarding head-separation I wonder whether the current approach of
> lilypond to handle headers and footers is the right one.  Wouldn't it
> be better to define a zone of a given height within the header (or
> footer) is rendered, instead of defining a distance from the header to
> the score?

> Currently, if a header line is missing, the whole text jumps up.

Perhaps we can take the maximum of both distances, and set the
without-header-distance to 0 for compatibility.

-- 

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

LilyPond Software Design
 -- Code for Music Notation
http://www.lilypond-design.com





reply via email to

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