I think the reason for it is probably because Sage variables are so often words rather than letters When using LaTeX directly on formulas involving typical programming variable names one has to override the "carefully tuned spacing" in just this way.
A patch to leave out the space when both sides of a product are numeric literals, single-letter variables or have non-default (user defined) latex forms would be a nice little project for somebody. On Tuesday, April 9, 2013 3:55:29 AM UTC-5, shersonb wrote: > > As it stands, latex(2*x) will return: > > 2 \, x > > and thus leaves a space between the 2 and the x when compiled. This does > not look very good, IMO. Is there an option some where that I can set so > that this behavior is avoided, so that the above will return "2 x" instead? > > ~Brian > > -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support?hl=en. For more options, visit https://groups.google.com/groups/opt_out.