Easy:

sage: x = PolynomialRing(QQ, 'alpha', sparse=True).gen()
sage: g = x^3 + x - 5
sage: latex(g)
\alpha^{3} + \alpha - 5



On Saturday, May 5, 2012 8:25:03 AM UTC-4, TNick wrote:
>
> Hello!
>
> I see that is possible to rename() a symbol. But is it possible to 
> customise the (latex) output?
> say:
> sage: x = PolynomialRing(QQ, 'x', sparse=True).gen()
> sage: g = x^3 + x - 5
> sage: latex(g)
>
> will print "x^{3} + x - 5", I know that. But is it possible to adjust x so 
> that it prints "\alpha^{3} + \alpha - 5"?
>
>

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to