# imshow : text.py broken?

Michael Droettboom <mdroe@...86...>
writes:

I forgot to mention when I added baseline alignment -- I really have no
idea how to get a good baseline out of the usetex machinery, or if
that's even possible.

In principle it should be possible: TeX aligns its boxes on a baseline
unless you request otherwise, so you just have to make sure you position
your text or formula at known coordinates, and when you examine the
resulting page, you keep track of where the baseline should be. In
practice there probably are some more complications.

Or, resort to some TeX hackery... you can get TeX to report the
dimensions (height, depth, and width) of a box with \showbox:
http://uucode.com/blog/2006/02/26/showbox-in-latex/

···

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