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 - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen LilyPond Software Design -- Code for Music Notation http://www.lilypond-design.com _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel