X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Foptimal-page-breaking-hstretch.ly;h=c37be4fd249f9230fb642bdd3b21f54f055223a6;hb=8627d767e67258394cd4256740542a36dacd7868;hp=bf8bf1fed6af0f24904c44be53cc110be65f7f79;hpb=837a30f66f73ed048a82bef3a3ff1551d06a96da;p=lilypond.git diff --git a/input/regression/optimal-page-breaking-hstretch.ly b/input/regression/optimal-page-breaking-hstretch.ly index bf8bf1fed6..c37be4fd24 100644 --- a/input/regression/optimal-page-breaking-hstretch.ly +++ b/input/regression/optimal-page-breaking-hstretch.ly @@ -1,24 +1,31 @@ -\version "2.9.13" +\version "2.16.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. Because ragged-last-bottom is on, only the -first page should be horizontally stretched. + texidoc="The optimal page breaker will make trade-offs between +horizontal and vertical stretching so that the overall spacing +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. " } \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} } - +}