I wish to accomplish something like:
Where 1 and 2 are images. 1 is aligned to the left and 2 is aligned to the right. All text between those should be as illustrated with lines in the image.
My current code is:
\clearpage
\newpage
\begin{wrapfigure}{L}{0.5\textwidth}
\includegraphics[width=1\textwidth]{image1.png}
\caption{Image 1}
\end{wrapfigure}
Really long text to be on the right of image 1...
\begin{wrapfigure}{R}{0.40\textwidth}
\includegraphics[width=1\textwidth]{image2.png}
\caption{Image 2}
\end{wrapfigure}
Really long text to be on the left of image 2...
However, my code results in Image 1 being on the left (as it should be) with the text which belongs to it on its right (as it should be) and the text which should be on the left of Image 2 immediately after the text of Image 1 (why?). And Image 2 is on a new page and still on the left. Here is what it looks like:
wrapfigure
environment?