<br><div class="gmail_quote">On Thu, Mar 31, 2011 at 3:26 AM, Ulrike Fischer <span dir="ltr"><<a href="mailto:news3@nililand.de">news3@nililand.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Am Wed, 30 Mar 2011 17:38:29 -0400 schrieb Peter Davis:<br>
<div class="im"><br>
<br>
><br>
> Thanks, all! Probably I'm still missing something or not understanding how<br>
> this should work. I tried to place two images on a page, so that both are<br>
> bottom aligned on a line halfway up the page (396bp). I got LaTeX errors:<br>
><br>
> ! LaTeX Error: Cannot determine size of graphic in egg.png (no BoundingBox).<br>
<br>
</div>You should use pdflatex if you want to use png graphicx.<br></blockquote><div><br></div><div><br></div><div>Actually, I'm using XeLaTeX, and I don't really care about png. I just used those because I had a couple of image files in the directory I was using. I'm more interested in placing PDF images.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im"><br>
> \settoboxtotalheight{\imgheight}{\egg}<br>
> \raisebox{\imgheight}{\usebox{\egg}}<br>
<br>
</div>It is actually not necessary to mesure the graphic before the<br>
\raisebox command. You can simply use<br>
<br>
\raisebox{\height}{\includegraphics{....}}<br></blockquote><div><br></div><div> Are you saying I should do this when I store the savebox, or when I use it?</div><div><br></div><div>Thanks,</div><div>-pd</div></div><br>-- <br>
<span style="font-family:arial, sans-serif;border-collapse:collapse">----<div>The Tech Curmudgeon</div><div><a href="http://www.techcurmudgeon.com/" style="color:rgb(17, 65, 112)" target="_blank">http://www.techcurmudgeon.com</a></div>
<div style="font-size:10.8333px"><br></div></span><br>