3 #(set-default-paper-size "a6")
8 texidoc="The optimal page breaker will make trade-offs between
9 horizontal and vertical stretching so that the overall spacing
10 will be more acceptable. The @code{page-spacing-weight} parameter
11 controls the relative importance of vertical/@/horizontal spacing.
12 Because @code{ragged-last-bottom} is on, there is no penalty for odd
13 vertical spacing on the final page. As a result, only the first
14 page should be horizontally stretched.
19 #(define page-breaking ly:optimal-breaking)
20 page-spacing-weight = #100 % default is 10
21 ragged-last-bottom = ##t
25 <>_"this page stretched horizontally"
26 \repeat unfold 5 {a b c d} \pageBreak
27 <>_"this page with natural spacing"
28 \repeat unfold 5 {a b c d}