[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#421577: texlive-metapost: latexMP gets bounding box wrong



Dylan Thurston wrote:
> Package: texlive-metapost
> Version: 2007-5
> Severity: normal
>
> latexMP will in some cases get the bounding box wrong, particularly
> when there is a minus sign.  In the example below, the two labels come
> out with different bounding boxes: the second one goes about .9pt
> below the baseline, for some strange reason.  (Possibly this is a
> problem with the font rather than latexMP.)

Do you get the same bounding box for $+1$ as for $-1$? If yes, then this
is indeed a font issue. For TeX '-' and '+' have the same height and
depth. This is important so that $\sqrt{x+y}$ and $\sqrt{x-y}$ are
rendered with identical square-root signs. As a work around, you could try
something like $\smash{-}1$ (sorry not tested).

cheerio
ralf






Reply to: