lilypond-devel
[Top][All Lists]
Advanced

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

Re: Help with page breaking code


From: Keith OHara
Subject: Re: Help with page breaking code
Date: Thu, 23 May 2013 00:41:55 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

David Kastrup <dak <at> gnu.org> writes:

> #(define-markup-command (ugly layout props) ()
>   (ly:make-stencil (ly:stencil-expr (interpret-markup layout props "x"))
>    '(0 . 0) '(0 . -100)))

> \markup \ugly
> \markup *

The page-breaker seems to be allowing for a markup that has something 100
staff-spaces away from its baseline.

The page-spacing seems to be doing its job, given the page-breaks, and
realizing that \ugly actually requires no space.

Page_breaking::compute_line_heights()
looks at the individual ends of the y-extent of a line of markup, and
uses the first line to initialize a set of variables that remember some
things about the previous line.




reply via email to

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