On Jan 7, 2008 1:13 PM, Farzin Shakib <[EMAIL PROTECTED]> wrote:
> Hi Mike,
>
> Thanks for the information. I managed for find another computer on our
> network with newer OS and the binary version of Sage is working like a
> charm.
>
> Thanks again for your help.
>
> I do have another question for you (if you don't mind):
>
> I love the show() function in Sage, specially the fact that if
> recognizes Greek letters and convert it properly. However, I have not
> figures out how to name "Delta t" such that I would see \Delta t. I
> have tried
> dt = var('Delta_t')
> but I get the 't' as a subscript
> dt = var('Delta t')
> which is a total dissaster, it is interpreted as a list.
> dt = var('Delta-t')
> which gets interpreted as a minus. And a bunch of other ways.
Here is a way to do this:
sage: dt = var('Delta_t')
sage: dt._latex_ = lambda: '\\Delta t'
sage: show(dt + pi)
and it will look like you want.
By the way, you should subscribe to sage-support
http://groups.google.com/group/sage-support
and post questions there. If you had posted the above
question there you might have got an answer
much more quickly.
William
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/sage-support
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~----------~----~----~----~------~----~------~--~---