Hi everyone!

I'm impressed with the evolution of the show function, specially the
ability of show readable equations.

I was wondering if one can define a variable and ask to show-function
to write in LaTeX output something else.

Exaxmple:

 ** Good

var('phi')
show(phi)

... show returns $\theta$

** What I'd like

var('bph')
exp = bph^2 + 2
show(exp)

... show returns $\operatorname{bph}^2 + 2$

what if I could say something like,

show(exp, subs=('bph':\hat{\phi}))

... for getting $\hat{\phi}^2 + 2$.


Is it possible?

THX

-- 
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
URL: http://www.sagemath.org

Reply via email to