First time here? Check out the FAQ!
answered 2016-09-01 10:58:20 +0100
You cann get the string of this LaTeX representation with t.latex_(), which you can save to a file as follows:
t.latex_()
sage: with open('/path/to/file.txt', 'w') as f: ....: f.write(t._latex_())