[texhax] wrapfig and subsection headers?
Donald Arseneau
asnd at triumf.ca
Sun Jul 29 21:11:03 CEST 2007
Will Ray <willray at mac.com> writes:
> I hate to bother the group with what is probably a FAQ,
Not a FAQ.
> I'm trying to wrapfig some figures, currently using wrapfig 3.6.
> In some cases these are obliged to wrap subsection* headings.
> The behavior that I'm seeing is that if one does, thereafter, _all_
> subsection* or subsection headings are wrapped to the same
> (shortened) width, as are the first n lines of all subsequent
> paragraphs.
OK, I see it. It requires \subsection immediately after the
wrapfig. It is that "local group" bugaboo again -- if the
wrapping starts in a local group, it doesn't end properly.
I hope I get a chance to work on it soon.
> If I replace the subsection* with, ie \textbf, everything
> works fine.
However, if you use "{Test}" it will fail,
> If I force the wrapfig to not overlap the subsection*
> heading, everything works fine, or at least more as expected.
It can overlap, but not with the section first. (I thought
sections used to work as the first-wrapped material, whereas
lists did not.)
As a work-around for now, you should be able to do:
\begin....
\end{wrapfigure}
\noindent\vspace{-????}
\subsection*{...}
The amount of vspace should be \baselineskip plus whatever
space is put before section titles.
--
Donald Arseneau asnd at triumf.ca
More information about the texhax
mailing list