[texhax] Character bounding boxes

William Adams will.adams at frycomm.com
Wed Sep 24 17:09:31 CEST 2008

On Sep 24, 2008, at 10:35 AM, Ranjith Unnikrishnan wrote:

> 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".

Then put each character into a box and measure each box.

See Philip Taylor's response in the ``compile to a small pdf'' thread  
for a code sample which can be adapted to single characters.


William Adams
senior graphic designer
Fry Communications

More information about the texhax mailing list