%% Generated by lilypond-book
%% Options: [exampleindent=10.16\mm,indent=0\mm,line-width=160\mm,paper-height=845.047\pt,paper-width=597.508\pt,papersize='(cons (* 597.508 pt) (* 845.047 pt))]
\include "lilypond-book-preamble.ly"


% ****************************************************************
% Start cut-&-pastable-section
% ****************************************************************

#(ly:set-option 'eps-box-padding 3.000000)



\paper {
  #(set-paper-size '(cons (* 597.508 pt) (* 845.047 pt)))
  indent = 0\mm
  line-width = 160\mm
  % offset the left padding, also add 1mm as lilypond creates cropped
  % images with a little space on the right
  line-width = #(- line-width (* mm  3.000000) (* mm 1))
}

\layout {
  
}




% ****************************************************************
% ly snippet:
% ****************************************************************
\sourcefilename "/lilypond-2.26.0/input/regression/page-breaks.ly"
\sourcefileline 0
\version "2.23.4"

\header {
  texidoc = "Stress optimal page breaking.  This should look
nice and even on three A6 pages."

  copyright = "Copyright by /me"
  title = "Title"
  subtitle = "(and (the) subtitle)"
  subsubtitle = "Sub sub title"
  poet = "Poet"
  composer = "Composer"
  texttranslator = "Text Translator"
  meter = "Meter (huh?)"
  arranger = "Arranger"
  instrument = "Instrument"
  piece = "Piece"
  opus = "opus 0"
}

\paper {
  ragged-last-bottom = ##f

  bookTitleMarkup = \markup {
    \override #'(baseline-skip . -3)
    \column {
      \box \fill-line { \teeny " " " " }
      \bookTitleMarkup
    }
  }
  oddHeaderMarkup = \markup \unless \on-first-page {
    \override #'(baseline-skip . -3)
    \column {
      \box \fill-line { \teeny " " " " }
      \line { \oddHeaderMarkup }
    }
  }
  evenHeaderMarkup = \markup {
    \override #'(baseline-skip . -3)
    \column {
      \box \fill-line { \teeny " " " " }
      \line { \evenHeaderMarkup }
    }
  }
  oddFooterMarkup = \markup {
    \override #'(baseline-skip . -3)
    \column {
      \oddFooterMarkup
      \box \fill-line { \teeny " " " " }
    }
  }

  tagline = \markup \center-column {
    \line { Music engraving by LilyPond #(lilypond-version) }
    \with-url "https://lilypond.org/" "www.lilypond.org"
  }
}

#(set-default-paper-size "a6" 'portrait)

\book {
  \score {
    \new Staff \relative {
      % 19: ideally cramped
      % Calculating page breaks...[8][16]
      % \repeat unfold 19 { a b c d \break }

      % 15: test even distribution
      % Calculating page breaks...[8][16]
      \repeat unfold 15 { a b c d \break }
    }
  }
}



% ****************************************************************
% end ly snippet
% ****************************************************************
