Ask Your Question
0

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-14 05:37:07 +0100

p1999 gravatar image

updated 2013-08-14 05:37:56 +0100

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
0

answered 2013-08-14 09:51:50 +0100

ppurka gravatar image

updated 2013-08-14 13:05:42 +0100

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

Stats

Asked: 2013-08-14 05:37:07 +0100

Seen: 479 times

Last updated: Aug 14 '13