]> git.donarmstrong.com Git - lilypond.git/blobdiff - 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
index 64eef4e6d199cbccc2b418f5147edbcab0b493e3..bf8bf1fed6af0f24904c44be53cc110be65f7f79 100644 (file)
@@ -5,17 +5,19 @@
 systems horizontally so that the vertical spacing will be
 more acceptable. The page-spacing-weight parameter
 controls the relative importance of vertical/horizontal
-spacing.
+spacing. Because ragged-last-bottom is on, only the
+first page should be horizontally stretched.
 "
 }
 
 \paper {
   #(define page-breaking ly:optimal-breaking)
   page-spacing-weight = #10
-  ragged-last-bottom = ##f
+  ragged-last-bottom = ##t
 }
 
 \relative c' {
+  \repeat unfold 5 {a b c d} \pageBreak
   \repeat unfold 5 {a b c d}
 }