Ask Your Question

Enable sage jupyter notebook to pretty_print all output

asked 2020-03-27 13:25:34 +0200

Magnus Larsson gravatar image

If i start a session with sage -n jupyter, then I can call pretty_print(...), which will format the argument and print it nicely.

Is there a command line argument, or a notebook menu option or a configuration file I can use to set this on a permanent, or per session basis, for all notebook (mathematical) output?

Best regards,

Magnus Larsson

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2020-03-27 20:58:17 +0200

eric_g gravatar image


%display latex

in the first cell of the notebook.

edit flag offensive delete link more


Works for me.

Thank you.

Magnus Larsson gravatar imageMagnus Larsson ( 2020-03-28 13:47:14 +0200 )edit

Your Answer

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

Add Answer

Question Tools

1 follower


Asked: 2020-03-27 13:25:34 +0200

Seen: 629 times

Last updated: Mar 27 '20