[OS X TeX] List items wrapped around figures?

Norman Gray norman at astro.gla.ac.uk
Tue Nov 28 11:25:05 CET 2006


Greetings.

On Nov 24, 2006, at 9:45 PM, david craig wrote:

> What I want is to place figures (preferably with \includegraphics),  
> usually on the right, top aligned with the first line of the list  
> item, with the list item text wrapped around it.  It has to play  
> nice with what follows -- I often have
...
> Any suggestions?  Help!

Noone has yet mentioned wrapfig:

\usepackage{wrapfig}
...
\begin{wrapfigure}{r}{7cm}
\includegraphics{blah.png}
\caption{\label{fig:blah}Caption}
\end{wrapfigure}
Text goes here


That puts the included figure on the right of the page, in a box 7cm  
wide, with the text flowing round it.  There's a variety of placement  
options, covering left/right, inside/outside the margin, and here/ 
floating.

The documentation for the package is at the top and bottom of  
wrapfig.sty (kpsewhich wrapfig.sty), but the above is just about all  
you need.

I wouldn't guarantee that it works inside an itemised list, but given  
how I recall the package is implemented, I wouldn't be at all surprised.

All the best,

Norman


-- 
------------------------------------------------------------------------ 
----
Norman Gray  /  http://nxg.me.uk
eurovotech.org  /  University of Leicester, UK



------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/




More information about the macostex-archives mailing list