]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/optimal-page-breaking-hstretch.ly
Merge branch 'lilypond/translation'
[lilypond.git] / input / regression / optimal-page-breaking-hstretch.ly
index 64eef4e6d199cbccc2b418f5147edbcab0b493e3..bcfa5d7a9249512865bc0d94235cbdd4c45b10db 100644 (file)
@@ -1,22 +1,29 @@
-\version "2.9.13"
+\version "2.12.0"
+
+#(set-default-paper-size "a6")
+
+\book {
 
 \header{
-    texidoc="The optimal page breaker will stretch the
-systems horizontally so that the vertical spacing will be
-more acceptable. The page-spacing-weight parameter
-controls the relative importance of vertical/horizontal
-spacing.
+    texidoc="The optimal page breaker will make trade-offs between
+horizontal and vertical stretching so that the overall spacing
+will be more acceptable.  The page-spacing-weight parameter
+controls the relative importance of vertical/horizontal spacing.
+Because ragged-last-bottom is on, there is no penalty for odd
+vertical spacing on the final page.  As a result, 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}
 }
 
-
+}