# [texhax] Trying to find the /right/ piece of LaTeX documentation.]

Peter Hutnick tex at hutnick.com
Thu Jul 22 22:02:30 CEST 2004

Peter Hutnick wrote:

> Mohamed HOUSSNI wrote:
>
>
>> it's:  \def\captionof#1#2{{\def\@captype{#1}#2}}
>
>
> That works great, Mohamed!  Thank you very much!

Well, It doesn't work perfectly.  Using the above, I get one figure
waaay at the top of the page, and one waaay at the bottom of the page.
Ideally, I'd like for them to be placed adjacent to the text they follow
in the LaTeX source.  If they won't fit there, for LaTeX to just push
them down the margin.

I.e. here's what I'm getting http://hutnick.com/images/getting.png, and
here's what I'm wanting: http://hutnick.com/images/wanting.png

Thanks!

-Peter