Ask Your Question

How do I insert a page break on a SageMath notebook page?

asked 2016-05-08 13:05:54 -0500

I would like to add a page break in a SageMath notebook page so that when I print the notebook, certain cells are printed on the same page. How do I add a page break?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-05-09 03:52:28 -0500

ndomes gravatar image

updated 2016-05-09 12:44:51 -0500

If you are running your own server: edit the file


For example insert a line

@media print { h1 { page-break-before : always;} }

Now each h1 heading in a text cell gives a page break when printing

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2016-05-08 13:05:54 -0500

Seen: 53 times

Last updated: May 09 '16