Ask Your Question

Embedding the results of Sage computations in a LaTeX document

asked 2014-10-08 10:52:05 -0500

mizzoumemory gravatar image

updated 2015-01-17 10:51:06 -0500

FrédéricC gravatar image

Can you use the SageTeX package to embed the results of Sage computations into a LaTeX document in the Sage Cloud? If so, how? If not, how can I do this on a Windows computer, or am I out of luck?


edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted

answered 2014-10-08 11:24:44 -0500

dazedANDconfused gravatar image

Yes. SageMath Cloud is the easiest way to embed Sage computations into LaTeX. You can also do so if you have Sage and LaTeX installed on your computer locally. Then you don't need an internet connection. This can be done for Window, Mac, or Linux. But some users have problems getting Sage and LaTeX to work well on their computer.

SageMath Cloud makes using Sage and LaTeX easy; it doesn't matter what type of computer you have and the cloud is using an up to date version of Sage. The sagetex package documentation can be found at CTAN here. Download example.pdf for lots of ways you can use the sagetex package. Another place for examples is on Tex StackExchange. The question here has an answer which uses the sagetex package. Just copy and paste the code into a LaTeX document in SageMath Cloud. Search that site for the keyword sagetex and you will have lots of examples to get you started.

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: 2014-10-08 10:52:05 -0500

Seen: 674 times

Last updated: Oct 08 '14