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: Werner LEMBERG
Subject: Re: urgent: layout of first page
Date: Tue, 28 Nov 2006 23:42:36 +0100 (CET)

> You'd rather have to modify the function that computes the first
> system position on page: `first-line-position' in the file
> scm/layout-page-layout.scm

Thanks, I came to the same conclusion (but without doing any
programming).

> (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))))

This works fine, thanks!  I suggest to add it to the CVS.


    Werner




reply via email to

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