[texhax] wrapfig woes

Andy Farnell padawan12 at obiwannabe.co.uk
Sun Oct 21 14:00:29 CEST 2007

Before I move on to some of the other suggestions given I want to
try and give \wrapfig some more effort first. The problem is that
it refuses to put my figures *here*. According to Google searches:

"Note that the wrapfigure environment is in fact non-floating."

But it's still throwing figures all over the place, sometimes onto
a different page. Typically I want three small wrapped figures per

I have \usepackage{here} but \wrapfig doesn't seem to understand !h 
as an argument.

The command I defined is given below.

% 1/3 width Wrapped figure
%(psfile, caption, label, scale, lines, wstrim1, wstrim2, wstrim3)
\begin{wrapfigure}[#5]{o}{0.3\textwidth} %outside edge, 1/3 width
    \includegraphics[width=0.3\textwidth,angle=0,  scale=#4]{#1}
  \captionsetup{margin=14pt, font=footnotesize, labelfont=bf}

And then using it thus:

{$x^2$ subpatch}{fig::squaredsubpatch}{0.75}{6}{-10pt}{-8pt}{0pt}%

Thanks for any clues.

Use the source

More information about the texhax mailing list