error in latex()

3 views
Skip to first unread message

Stan Schymanski

unread,
Sep 14, 2010, 5:05:12 AM9/14/10
to sage-support
Dear all,

I think that I found an annoying bug in latex. In a notebook cell,

automatic_names(True)
latex(exp((298*S_j - H_j)/(298*R_m)))

gives

e^{\left(\frac{-H_{j} - 298 \, S_{j}}{298 \, R_{m}}\right)}

The sign of 298 S_j is reversed!!

Actually, is there a way to latexify an expression before it is
evaluated by sage? I find that the ordering of expressions that sage
applies not very convenient for display at times.

Thanks for your help!

Cheers
Stan
Reply all
Reply to author
Forward
0 new messages