ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Wed, 17 Mar 2021 00:15:49 +0100LaTeX Greek names for symbolic variableshttps://ask.sagemath.org/question/56197/latex-greek-names-for-symbolic-variables/Instead of the following:
x,y,z,s1,s2,s3,s4,s5 = var('x,y,z,s_1,s_2,s_3,s_4,s_5')
I want to display `s_1, s_2, s_3, s_4, s_5` as $\sigma_1, \sigma_2, \sigma_3, \sigma_4, \sigma_5$. So for example, when I type `show(s1/s2)` , it would typeset
$$
\frac{\sigma_1}{\sigma_2}.
$$RoadWed, 17 Mar 2021 00:15:49 +0100https://ask.sagemath.org/question/56197/Where is information passed on to var() stored?https://ask.sagemath.org/question/32357/where-is-information-passed-on-to-var-stored/ We can link additional information to expressions defined by var(), such as the domain or latex expression, e.g.
> sage: var('xt1',domain = real,latex_name = 'x_{t1}')
Where is this information stored and is there a way to modify it, e.g. change the domain or latex_name without having to redefine the expression?stanThu, 28 Jan 2016 15:38:07 +0100https://ask.sagemath.org/question/32357/