[l2h] cropping bars --- work around

C.W.J. Beenakker beenakker at lorentz.leidenuniv.nl
Sat Feb 1 15:56:00 CET 2003


thank you, Ross, for your expert advice; it works:
$\vec{p}$ has a spurious cropping bar at the bottom, while
$\vec{p}\,$ is cropped correctly.

what a relief :)

Carlo

At 12:55 +1100 01-02-2003, Ross Moore wrote:
> > the figure img9.gif has a cropping bar at the bottom
>
>It is the case that some characters put ink outside their typeset-area,
>either above or to the right. This is particularly the case with florid
>type-faces, and with accent used in math-mode.
>
>If ink falls outside the rectangle defined by this, then the
>pnmcrop calls will not find an edge of constant color, so will
>not remove the corresponding cropping-bar.
>
> > I'm clueless how to fix this...
>
>Sometimes you just have to "do it by hand" in the LaTeX source.
>This can mean adding a small bit of extra space within the image.
>At the right, this is easy: just put \, after the mathematics
>but within the $.....\,$
>                     ^^-----  like this.
>
>For extra vertical size, \strut may help;
>e.g.  $ .... \strut$
>else an invisible \vrule of specified size:
>  \vrule height 15pt depth 0pt width 0pt


More information about the latex2html mailing list