[texhax] Placing unknown images arbitrarily by lower left corner

Peter Davis pfd at pfdstudio.com
Thu Mar 31 15:25:16 CEST 2011

On Thu, Mar 31, 2011 at 8:40 AM, Ulrike Fischer <news3 at nililand.de> wrote:

> Am Thu, 31 Mar 2011 08:18:47 -0400 schrieb Peter Davis:
> >>> \settoboxtotalheight{\imgheight}{\egg}
> >>> \raisebox{\imgheight}{\usebox{\egg}}
> >> It is actually not necessary to mesure the graphic before the
> >> \raisebox command. You can simply use
> >> \raisebox{\height}{\includegraphics{....}}
> >  Are you saying I should do this when I store the savebox, or when I use
> it?
> You can use it like I wrote it. \raisebox knows the dimensions of
> its argument and stores them in \height, \depth, \width.
Hmmm.  I tried this with XeLaTeX, but the images are still coming out at the
bottom of the page, rather than on the 396bp line.

Thank you.

Here's the current test document:



\title{Image Placement Text}
\author{Peter Davis}








The Tech Curmudgeon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texhax/attachments/20110331/72df6c69/attachment.html>

More information about the texhax mailing list