[texhax] Character bounding boxes

Ranjith Unnikrishnan roninlord at gmail.com
Wed Sep 24 16:35:24 CEST 2008

Sorry, I should have worded my question more carefully...My intention is
*not* to get one bounding box for all the characters together, but to get
the bounding box coordinates of *each* character in the input text. So if
the text I want to render is "$y = x^2$", I'd like to be able to obtain the
bbox coordinates of "y", "=", "x" and "2".
Suggestions? Thanks!

On Wed, Sep 24, 2008 at 6:39 AM, William Adams <will.adams at frycomm.com>wrote:

> On Sep 23, 2008, at 8:18 PM, Ranjith Unnikrishnan wrote:
>  In short, do you know of a way to extract the bounding box coordinates of
>> the characters in the output dvi or via some other way that utilizes latex?
> We just had this discussion.
> See the recent thread ``compile to a small PDF''.
> Short answer, put the characters in a box and measure the box.
> Long answer, look at the code for the preview.sty package.
> William
> --
> William Adams
> senior graphic designer
> Fry Communications
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/texhax/attachments/20080924/6faf5bfb/attachment.html 

More information about the texhax mailing list