First time here? Check out the FAQ!

Ask Your Question
0

Enable sage jupyter notebook to pretty_print all output

asked 4 years ago

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

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
1

answered 4 years ago

eric_g gravatar image

Type

%display latex

in the first cell of the notebook.

Preview: (hide)
link

Comments

Works for me.

Thank you.

Magnus Larsson gravatar imageMagnus Larsson ( 4 years ago )

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: 4 years ago

Seen: 1,311 times

Last updated: Mar 27 '20