is an option for Cell which specifies whether a page break should be allowed within the cell if the notebook that contains the cell is printed.
PageBreakWithin
is an option for Cell which specifies whether a page break should be allowed within the cell if the notebook that contains the cell is printed.
Examples
Basic Examples (1)
Create a notebook in which page breaks are not allowed to split cells:
nb = CreateDocument[Table[TextCell[Row[Riffle[Range[100n + 1, 100n + 30], "
"]], "Text", PageBreakWithin -> False], {n, 0, 4}], ShowPageBreaks -> True];Select the second cell and set PageBreakWithin to True:
SelectionMove[nb, Next, Cell, 2]SetOptions[NotebookSelection[nb], PageBreakWithin -> True]Now a page break will occur within the cell, as shown by the mark on the cell bracket:
Tech Notes
Related Guides
Related Workflows
- Set Page Breaks for Printing
History
Introduced in 1996 (3.0)
Text
Wolfram Research (1996), PageBreakWithin, Wolfram Language function, https://reference.wolfram.com/language/ref/PageBreakWithin.html.
CMS
Wolfram Language. 1996. "PageBreakWithin." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/PageBreakWithin.html.
APA
Wolfram Language. (1996). PageBreakWithin. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/PageBreakWithin.html
BibTeX
@misc{reference.wolfram_2026_pagebreakwithin, author="Wolfram Research", title="{PageBreakWithin}", year="1996", howpublished="\url{https://reference.wolfram.com/language/ref/PageBreakWithin.html}", note=[Accessed: 13-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_pagebreakwithin, organization={Wolfram Research}, title={PageBreakWithin}, year={1996}, url={https://reference.wolfram.com/language/ref/PageBreakWithin.html}, note=[Accessed: 13-June-2026]}