ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Wed, 08 Oct 2014 18:24:44 +0200Embedding the results of Sage computations in a LaTeX documenthttps://ask.sagemath.org/question/24441/embedding-the-results-of-sage-computations-in-a-latex-document/ 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?
Thanks!Wed, 08 Oct 2014 17:52:05 +0200https://ask.sagemath.org/question/24441/embedding-the-results-of-sage-computations-in-a-latex-document/Answer by dazedANDconfused for <p>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?</p>
<p>Thanks!</p>
https://ask.sagemath.org/question/24441/embedding-the-results-of-sage-computations-in-a-latex-document/?answer=24442#post-id-24442Yes. 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](http://www.ctan.org/tex-archive/macros/latex/contrib/sagetex/). Download example.pdf for lots of ways you can use the sagetex package. Another place for examples is on Tex StackExchange. The question [here](http://tex.stackexchange.com/questions/151375/how-to-generate-random-variables-then-use-in-calculations-in-pdflatex/151390#151390) 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.Wed, 08 Oct 2014 18:24:44 +0200https://ask.sagemath.org/question/24441/embedding-the-results-of-sage-computations-in-a-latex-document/?answer=24442#post-id-24442