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?

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 close merge delete

## 1 Answer

Sort by » oldest newest most voted

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.

more

## Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

## Stats

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

Seen: 290 times

Last updated: Aug 14 '13