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