MIDI: fix regtest failure
[lilypond/patrick.git] / input / regression / optimal-page-breaking-hstretch.ly
blobbcfa5d7a9249512865bc0d94235cbdd4c45b10db
1 \version "2.12.0"
3 #(set-default-paper-size "a6")
5 \book {
7 \header{
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 page-spacing-weight parameter
11 controls the relative importance of vertical/horizontal spacing.
12 Because 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.
18 \paper {
19 #(define page-breaking ly:optimal-breaking)
20 page-spacing-weight = #10
21 ragged-last-bottom = ##t
24 \relative c' {
25 \repeat unfold 5 {a b c d} \pageBreak
26 \repeat unfold 5 {a b c d}