1 | initial version |
If you make a raw string you never need two backslashes. If you don't, then you may, depending on what is after a backslash. To make a raw string, prefix it with an r, so in this case do
e = var('e', latex_name=r'\varepsilon')
You'll see this r frequently in the Sage source code for the docstrings of functions...