Page breaking primitives |
The physical lines in a document are broken into pages in a way similar to how paragraphs are hyphenated into lines. The page breaker performs page filling, it tries to distribute page items evenly so text runs to the bottom of every page. It also tries to avoid orphans and widows, which are single or pairs of soft lines separated from the rest of their paragraph by a page break, but these can be produced when there is no better solution.
Prevent the occurrence of an automatic page break after the
current line. Set an infinite page breaking penalty for the
current line, similarly to
Forbidden page breaking points are overridden by “new page” and “page break” primitives.
Similar to
Cause the next line to appear on a new page, without filling the current page. The page breaker will not try to position the current line at the bottom of the page.
Similar to
Force a page break after the current line. A forced page break is different from a new page, the page breaker will try to position the current line at the bottom of the page.
Use only to fine-tune the automatic page breaking. Ideally, this
should be a hint similar to
Similar to
When several “new page” and “page break”
directives apply to the same point in the document, only the first one
is effective. Any