Next: , Previous: Line breaking, Up: Breaks


11.4.2 Page breaking

The default page breaking may be overriden by inserting \pageBreak or \noPageBreak commands. These commands are analogous to \break and \noBreak. They should be inserted at a bar line. These commands force and forbid a page-break from happening. Of course, the \pageBreak command also forces a line break.

The \pageBreak and \noPageBreak commands may also be inserted at top-level, between scores and top-level markups.

Page breaks are computed by the page-breaking function. LilyPond provides three algorithms for computing page breaks, ly:optimal-breaking, ly:page-turn-breaking and ly:minimal-breaking. The default is ly:optimal-breaking, but the value can be changed in the \paper block:

\paper{
  #(define page-breaking ly:page-turn-breaking)
}

The old page breaking algorithm is called optimal-page-breaks. If you are having trouble with the new page breakers, you can enable the old one as a workaround.

Predefined commands

\pageBreak \noPageBreak


Next: , Previous: Line breaking, Up: Breaks

Cette page documente LilyPond-2.11.28 (branche de développement).

Rapporter toute anomalie en français à lilypond-user-fr@gnu.org ou en anglais à http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs

Your suggestions for the documentation are welcome.