Ask Your Question

Is it possible to call a Sage command from within a text cell in the Sage Notebook and display the output inline as latex?

asked 2013-08-13 22:37:07 -0500

p1999 gravatar image

updated 2013-08-13 22:37:56 -0500

I know it is possible to insert latex inline within a text cell in the Sage Notebook, but is it possible to have that being the output of a Sage command? Thanks!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-08-14 02:51:50 -0500

ppurka gravatar image

updated 2013-08-14 06:05:42 -0500

No you can't. But you can take the output of a sage command and get the latex out of it. To do so right click on the output and then select Show math as -> tex command.

You can then paste that latex into the text cell, enclosed within $ symbols.

Edit: I forgot to add. You need to either use view() or pretty_print() or enable the Typeset check box to get a typeset output.

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


Asked: 2013-08-13 22:37:07 -0500

Seen: 230 times

Last updated: Aug 14 '13