1 | initial version |
Note that there are methods to extract a formula as a (multi-line) pdf file. For example, you can use the ready-made method view with the tightpage option
sage: view(expression, tightpage=True)
You can also use directly the preview latex package with tightpage option.