Ask Your Question

Revision history [back]

You cann get the string of this LaTeX representation with t.latex_(), which you can save to a file as follows:

sage: with open('/path/to/file.txt', 'w') as f:
....:     f.write(t._latex_())