Mathtext improvements (merging into trunk)

Gael Varoquaux <gael.varoquaux@...427...>
writes:

···

On Wed, Jul 25, 2007 at 11:36:17AM -0500, John Hunter wrote:

* There is a lot of space between the \prod symbol and the rest of
the expression and between the \mathcal{R} and the \prod symbol --
what controls this? It looks like it is being affected by the wide
\prod subscript {i=\alpha_{i+1}} -- is this correct and is this how
TeX handles it?

AFAIK yes. I correct this with a lot of "\!\!". This is a hack, but it
gives good results.

Yes, this is how TeX does it. Another hack is to cause the subscript box
to have zero width, which in principle can be done with \makebox[0pt]
(but Google for "mathclap" to find how to make it actually work).

--
Jouni K. Sepp�nen
http://www.iki.fi/jks