Ask Your Question
0

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

asked 2016-05-08 20:05:54 +0200

jagdpanther gravatar image

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
0

answered 2016-05-09 10:52:28 +0200

ndomes gravatar image

updated 2016-05-09 19:44:51 +0200

If you are running your own server: edit the file

.sage/notebook.css

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

2 followers

Stats

Asked: 2016-05-08 20:05:54 +0200

Seen: 238 times

Last updated: May 09 '16