Ask Your Question

Typeset latex in SMC

asked 2015-10-29 17:28:20 +0100

updated 2016-06-06 21:48:07 +0100

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 17:48:16 +0100

updated 2015-11-04 09:54:58 +0100

To answer my own question for future reference:



But this only works in SMC.

edit flag offensive delete link more

answered 2015-11-04 10:24:03 +0100

eric_g gravatar image

updated 2015-11-04 10:27:05 +0100

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 17:28:20 +0100

Seen: 259 times

Last updated: Nov 04 '15