| 1 | initial version |
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.
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.