]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/optimal-page-breaking-hstretch.ly
Release: bump Welcome versions.
[lilypond.git] / input / regression / optimal-page-breaking-hstretch.ly
index bcfa5d7a9249512865bc0d94235cbdd4c45b10db..c37be4fd249f9230fb642bdd3b21f54f055223a6 100644 (file)
@@ -1,4 +1,4 @@
-\version "2.12.0"
+\version "2.16.0"
 
 #(set-default-paper-size "a6")
 
@@ -7,9 +7,9 @@
 \header{
     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
+will be more acceptable.  The @code{page-spacing-weight} parameter
+controls the relative importance of vertical/@/horizontal spacing.
+Because @code{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.
 "
@@ -17,12 +17,14 @@ page should be horizontally stretched.
 
 \paper {
   #(define page-breaking ly:optimal-breaking)
-  page-spacing-weight = #10
+  page-spacing-weight = #100 % default is 10
   ragged-last-bottom = ##t
 }
 
 \relative c' {
+  <>_"this page stretched horizontally"
   \repeat unfold 5 {a b c d} \pageBreak
+  <>_"this page with natural spacing"
   \repeat unfold 5 {a b c d}
 }