Good morning everybody.
Here is the problem: I have a book with a lot of wrapfigures (aligned to the left or to the right). Wrapfig does an excellent job, except when the figure is close to the top or to the bottom of the page (see attachment).
Is it possible, even with some trick or macro, to float vertically this figures, as in the environment figure? Or have I to check manually?
Thanks a lot in advance.


code\begin{wrapfigure}{r}{4cm} \includegraphics[width=4cm]{img/cardano.jpg} \caption{Girolamo Cardano.} \end{wrapfigure}code– Marco Oct 04 '15 at 13:12