Is there a way to align wrapfigure at the top or bottom? I have an image, that takes about half of the width and one third of the length of the document and should be wrapped by the text. I don't want to define the wrapped text exactly, LaTeX should just take the best-fitting text (like [htb] with a regular figure).
Maybe there is also a general alternative to wrapfigure?
Thank you all in advance!
Graphics, Figures & Tables ⇒ Wrapped Figure at Top or Bottom of Page
NEW: TikZ book now 40% off at Amazon.com for a short time.

-
- Posts: 707
- Joined: Tue Mar 25, 2008 5:02 pm
Wrapped Figure at Top or Bottom of Page
According to the
wrapfig documentation, using the uppercase version of the placement specifier allows the environment to float. That is,
would produce a non-floating environment 12 lines deep and 2 in wide, whereas
would float the same environment.
It doesn't necessarily float to the top or bottom of the page, though---just to a place where the float won't jump across pages or paragraphs. As the package author states in the documentation, the final copy of a formal document would almost always require some "manual" placement of wrapped figures.

Code: Select all
\begin{wrapfigure}[12]{o}{2in}
...
\end{wrapfigure}
Code: Select all
\begin{wrapfigure}[12]{O}{2in}
...
\end{wrapfigure}
It doesn't necessarily float to the top or bottom of the page, though---just to a place where the float won't jump across pages or paragraphs. As the package author states in the documentation, the final copy of a formal document would almost always require some "manual" placement of wrapped figures.