Ask Your Question
0

Enable sage jupyter notebook to pretty_print all output

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

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
1

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

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 13:47:14 +0100 )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 13:25:34 +0100

Seen: 1,265 times

Last updated: Mar 27 '20