| 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...
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.