Contact Us!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
sagemathinc

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.

GitHub Repository: sagemathinc/cocalc-example-files
Path: blob/master/latex/sagetex/README.md
Views: 1038

Sage + LaTeX = SageTeX

This demos how Sage and LaTeX can be combined.

Automatic Mode

Just click on the *.tex files and the two-pane editor should show up. SageTex and BibTex is run automatically, too!

Manual Mode

Edit the .tex file, compile it via latexmk filename.tex in the Terminal.

If you change some Sage commands, you have to re-run sage filename.sagetex.sage in order to incorporate the changes in the output.