Ask Your Question

Typeset latex in SMC

asked 2015-10-29 11:28:20 -0500

updated 2016-06-06 14:48:07 -0500

FrédéricC gravatar image

In the classical Sage notebook there is the "view" command that can be used to e.g. get a plot of a graph rendered by pdflatex. Is there an equivalent in SMC?

For example I want the following code to give me a graph plot rendered by pdflatex.

G.set_latex_options(format='dot2tex', prog='dot')

I can get the corresponding latex code in SMC by


but I have no idea how to render it.

edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted

answered 2015-10-29 11:48:16 -0500

updated 2015-11-04 02:54:58 -0500

To answer my own question for future reference:



But this only works in SMC.

edit flag offensive delete link more

answered 2015-11-04 03:24:03 -0500

eric_g gravatar image

updated 2015-11-04 03:27:05 -0500

Thanks to some recent change by William Stein, the command view(G) does just work now in the SMC; see here for your example.

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

1 follower


Asked: 2015-10-29 11:28:20 -0500

Seen: 153 times

Last updated: Nov 04 '15