I had expected that this option would prevent a page break occurring within a group of cells of which this cell is the "group leader". In my case it is a "Subsubsection" containing a group of graphics cells.


Some more cells containing graphics are then written.

When I look at the notebook generated I see page breaks between some of these Subsubsection cells and the cells immediately below when it is clear the page break could have been placed above this Subsubsection cell.

What am I doing wrong / How do I force some groups of cells to be kept together (the equivalent of MSWord's KeepWithNext)?

A fuller example...

notebook = NotebookCreate[];

In the notebook created with the option ShowPageBreaks set to True in option inspector two page breaks show between title and the graphic beneath.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.