[sage-support] Maintain order of symbols in show() or view()
Hi, I was wondering if it is possible to maintain the order of symbols in the output of show() or view() as inputted. For example, if I do show(1-alpha) then I get latex output of -alpha + 1, instead of latex output of 1 - alpha. It would be great if there is a way to suppress this. Thank you, Joon -- Using Opera's revolutionary email client: http://www.opera.com/mail/ -- 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
Re: [sage-support] Re: Use latex tags in variable names?
I actually found Sage's documentation hard to follow. This ? business looks really helpful. Thanks for the tip again! -Joon On Tue, 02 Aug 2011 10:35:22 -0500, John Cremona wrote: On Aug 2, 4:16 pm, joonpy wrote: That was exactly what I wanted. Thank you very much! Note that you could have discovered this feature by typing var? and looking at the examples there. John Joon -- 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
[sage-support] Use latex tags in variable names?
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^*') but apparently it does not work. (latex(p_1star) yields p_{\mbox{1^*}}) Is there any way to do this? Thank you, Joon -- 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