I've used the \fltitem
to avoid the list problems recently. The \fltitem
works very well when I compile a small document, however, the \fltitem
does not work properly when I compile a large document that contains several sub-document by using \include
and many pictures. Sometimes, the pictures can not be shown or overlap the words in the pdf document. Could you show me where the problem is?
Here is an example that the second item can not work properly and I guess it is the same reason that cause the large document not work.
\documentclass{article}
\usepackage{lipsum}
\usepackage{floatflt}
\usepackage{graphicx}
\begin{document}
\begin{enumerate}
\fltitem{\lipsum[1]
\begin{floatingfigure}[r]{5cm}
\begin{tikzpicture}
\draw (0,0) circle (2);
\end{tikzpicture}
\end{floatingfigure}
\lipsum[1]}
\fltitem{\lipsum[1]
\begin{floatingfigure}[r]{5cm}
\begin{tikzpicture}
\draw (0,0) circle (2);
\end{tikzpicture}
\end{floatingfigure}
\lipsum[1]
}
\end{enumerate}
\end{document}
Here is the result in which the right half is blank in the second item.