It seems that latex(eqn) just evaluates eqn and prints the result in latex notation, without cutting off annoying 0s or giving the user the opportunity to set a precision. I find this very annoying, as such latex output is not very useful for illustration purposes. Does anyone know a trick how to automatically round ugly numbers for the latex output? I feel that this should be incorporated into the latex() code, though. Here is another illustration of the problem:
latex(0.6*x) {0.600000000000000 x} latex(0.6.n(digits=4)*x) {0.599998500000000 x} The second attempt became even uglier! This is on sage 3.1.4 on an Intel Macbook Pro. Thanks for your help! (Anyone?) Stan --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com 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://www.sagemath.org -~----------~----~----~----~------~----~------~--~---