Ask Your Question
0

Enable sage jupyter notebook to pretty_print all output

asked 2020-03-27 07:25:34 -0600

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
1

answered 2020-03-27 14:58:17 -0600

eric_g gravatar image

Type

%display latex

in the first cell of the notebook.

edit flag offensive delete link more

Comments

Works for me.

Thank you.

Magnus Larsson gravatar imageMagnus Larsson ( 2020-03-28 07:47:14 -0600 )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

Stats

Asked: 2020-03-27 07:25:34 -0600

Seen: 82 times

Last updated: Mar 27