[texhax] wrapfig woes
Andy Farnell
padawan12 at obiwannabe.co.uk
Sun Oct 21 14:33:21 CEST 2007
Just to add some debug to that:
Package wrapfig Warning: Collision between wrapping environments on input line
127.
Package wrapfig Warning: Stationary wrapfigure forced to float on input line 12
7.
What kind of thing causes a "collision" and how might I avoid it?
Cheers,
Andy
On Sun, 21 Oct 2007 13:00:29 +0100
Andy Farnell <padawan12 at obiwannabe.co.uk> wrote:
> 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
> page.
>
> 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)
> \newcommand{\wrapgrafthird}[8]{
> \begin{wrapfigure}[#5]{o}{0.3\textwidth} %outside edge, 1/3 width
> \centering
> \vspace{#6}
> \includegraphics[width=0.3\textwidth,angle=0, scale=#4]{#1}
> \vspace{#7}
> \captionsetup{margin=14pt, font=footnotesize, labelfont=bf}
> \caption{#2}
> \vspace{#8}
> \label{#3}
> \end{wrapfigure}
> }
>
> And then using it thus:
>
> \wrapgrafthird{images/puredata/subpatches/subpatch-squared}%
> {$x^2$ subpatch}{fig::squaredsubpatch}{0.75}{6}{-10pt}{-8pt}{0pt}%
>
>
> Thanks for any clues.
> Cheers,
> Andy
>
> --
> Use the source
> _______________________________________________
> TeX FAQ: http://www.tex.ac.uk/faq
> Mailing list archives: http://tug.org/pipermail/texhax/
> More links: http://tug.org/begin.html
>
> Automated subscription management: http://tug.org/mailman/listinfo/texhax
> Human mailing list managers: postmaster at tug.org
--
Use the source
More information about the texhax
mailing list