[sage-devel] Re: latex representation for expresions like 1.42531324e-41

2009-10-30 Thread Jason Grout
ma...@mendelu.cz wrote: > Hello all > > The latex representation of numbers in scientific notation works as > excepted, unless we have these numbers as results from numerical > integral. Compare the last two outputs i nthe session below. Why is > > sage: latex(A[1]) > 1.66533453694e-14 > > and

[sage-devel] Re: latex representation for expresions like 1.42531324e-41

2009-10-30 Thread kcrisman
Hold up, this is already IN trac and Jason Grout submitted a patch which already has positive review! - kcrisman --~--~-~--~~~---~--~~ To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel-u

[sage-devel] Re: latex representation for expresions like 1.42531324e-41

2009-10-30 Thread ma...@mendelu.cz
On 30 říj, 08:49, William Stein wrote: > > There is a table in there called latex_table. You have to > add an entry of the form > >float:float_function > > where you might first try something like this just to get it to work: > > def float_function(x): > from sage.rings.all import RR >

[sage-devel] Re: latex representation for expresions like 1.42531324e-41

2009-10-30 Thread William Stein
On Fri, Oct 30, 2009 at 12:43 AM, ma...@mendelu.cz wrote: > > > > On 30 říj, 08:32, William Stein wrote: >> >> Obviously, it would be nice if the latex command were improved so it >> is aware of Python floats.  That would be a nice enhancement you >> can contribute to sage. > > Thank you for qui

[sage-devel] Re: latex representation for expresions like 1.42531324e-41

2009-10-30 Thread Robert Bradshaw
On Oct 30, 2009, at 12:43 AM, ma...@mendelu.cz wrote: > On 30 říj, 08:32, William Stein wrote: >> >> Obviously, it would be nice if the latex command were improved so it >> is aware of Python floats. That would be a nice enhancement you >> can contribute to sage. > > Thank you for quick answer.

[sage-devel] Re: latex representation for expresions like 1.42531324e-41

2009-10-30 Thread ma...@mendelu.cz
On 30 říj, 08:32, William Stein wrote: > > Obviously, it would be nice if the latex command were improved so it > is aware of Python floats. That would be a nice enhancement you > can contribute to sage. Thank you for quick answer. Can you give me few pointers where to fix it? Robert > > -

[sage-devel] Re: latex representation for expresions like 1.42531324e-41

2009-10-30 Thread William Stein
On Fri, Oct 30, 2009 at 12:23 AM, ma...@mendelu.cz wrote: > > Hello all > > The latex representation of numbers in scientific notation works as > excepted, unless we have these numbers as results from numerical > integral. Compare the last two outputs i nthe session below. Why is > > sage: latex(