Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to download as LaTeX, and have output boxes rendered

I'm using the Jupyter notebook, and the "download as .tex" option works great for me. The only problem is, I want the output to be rendered. Inside the notebook, I have '%display latex' set, so all output is rendered in latex. However to my great surprise, when I export the worksheet into a .tex file, the output boxes revert to normal unformatted text. Is there a way to make the latex formatting of outputs "survive" when saving it as a LaTeX document?

I'm not afraid of writing the LaTeX myself, but this workflow needs to work for exams, where time is a factor. Thanks for your help

SageMath version 9.0, Release Date: 2020-01-01 │ │ Using Python 3.8.10. Running Linux.

I would love to attach pictures, but apparently my "karma" is insufficient :D