<br><br><div class="gmail_quote">On Thu, Mar 31, 2011 at 9:44 AM, William Adams <span dir="ltr"><<a href="mailto:will.adams@frycomm.com">will.adams@frycomm.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Mar 31, 2011, at 9:25 AM, Peter Davis wrote:<br>
<br>
> 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.<br>
<br>
</div>I believe you need to move the \raisebox call to where the box is used. </blockquote><div><br></div><div>That's what I tried at first. See example below. The images still come out at the bottom of the page. </div>
<div><br></div><div>Might there be something about \raisebox that would override the position set with textpos's \begin{textblock}? </div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
If you want to store additional spacing information around the box you could do this by placing invisible rules in the box.<br></blockquote><div><br></div><div>I'm not sure what this relates to. I don't think I need any additional spacing ... just the image contents of the box.</div>
<div><br></div><div>Here's the code I tried, using \raisebox at the point where the image is placed:</div><div><br></div><div><div>\documentclass[11pt]{article}</div><div>\usepackage{graphicx}</div><div>\usepackage{textpos}</div>
<div>\usepackage{settobox}</div><div><br></div><div>\setlength{\TPHorizModule}{1bp}</div><div>\setlength{\TPVertModule}{\TPHorizModule}</div><div><br></div><div>\title{Image Placement Text}</div><div>\author{Peter Davis}</div>
<div><br></div><div>\newlength{\imgheight}</div><div><br></div><div>\begin{document}</div><div><br></div><div>\newsavebox{\egg}</div><div>\sbox{\egg}{\includegraphics[scale=2.0]{egg.png}}</div><div><br></div><div>\newsavebox{\sheep}</div>
<div>\sbox{\sheep}{\includegraphics[scale=3.0]{sheep.png}}</div><div><br></div><div>\begin{textblock}{144}(72,396)</div><div>\raisebox{\height}{\usebox{\egg}}</div><div>\end{textblock}</div><div><br></div><div>\begin{textblock}{144}(288,396)</div>
<div>\raisebox{\height}{\usebox{\sheep}}</div><div>\end{textblock}</div><div><br></div><div>\end{document}</div></div><div><br></div></div><br clear="all"><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>