]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/optimal-page-breaking-hstretch.ly
Merge branch 'master' into lilypond/translation
[lilypond.git] / input / regression / optimal-page-breaking-hstretch.ly
1 \version "2.12.0"
2
3 #(set-default-paper-size "a6")
4
5 \book {
6
7 \header{
8     texidoc="The optimal page breaker will stretch the
9 systems horizontally so that the vertical spacing will be
10 more acceptable. The page-spacing-weight parameter
11 controls the relative importance of vertical/horizontal
12 spacing. Because ragged-last-bottom is on, only the
13 first page should be horizontally stretched.
14 "
15 }
16
17 \paper {
18   #(define page-breaking ly:optimal-breaking)
19   page-spacing-weight = #10
20   ragged-last-bottom = ##t
21 }
22
23 \relative c' {
24   \repeat unfold 5 {a b c d} \pageBreak
25   \repeat unfold 5 {a b c d}
26 }
27
28 }