Ask Your Question

Revision history [back]

This command does return a latex object

sage: epsilon_0 = var('epsilon_0', latex_name=r'\varepsilon_0')
sage: obj = latex(epsilon_0)

This object obj can be displayed via, for example, the print statement (or function if you moved to more Python3 complient coding)

sage: print obj
{\varepsilon_0}

Depending where you use this function (the console or the notebook or in a script?) then the command latex(epsilon_0) alone might produce or not a display on the screen.