You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

10 lines
732 B

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

#lang pollen
(define-meta title "keep lines together")
hanging-topic[(topic-from-metas metas)]{Always use with headings}
em{Keep lines together} ensures that all lines in a paragraph appear on the same page. If the last line of the paragraph wont fit on the current page, the whole paragraph gets moved to the next page.
Use this option with xref{headings} to prevent them from starting at the bottom of one page and continuing at the top of the next. That looks bad.
Like xref{widow and orphan control}, keeping lines together will create gaps at the bottom of pages. But unlike widow and orphan control, you only want to keep lines together in special situations, not as part of your default text formatting.