That was exactly what I wanted. Thank you very much! Joon
On Tue, Aug 2, 2011 at 12:44 AM, John H Palmieri <jhpalmier...@gmail.com>wrote: > On Monday, August 1, 2011 8:28:57 PM UTC-7, Joon wrote: >> >> Hi, >> >> I just started using Sage, and I have a question about variable names. >> I skimmed through the documentation but could not find any answers. >> >> Is it possible to used latex tags in variable names so when I do >> "show(var)" I get the latex output? >> For example, I want to do: >> >> p_1star = var('p_1^*') >> > > Try: > > sage: p_1star = var('p_1star', latex_name='p_1^*') > > -- > John > > -- > 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 > -- 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