What i'm trying to achieve:
Have two images in one page, one image on the top half of the page and the other the bottom half. Ive managed to do this by:
\vbox{
\begin{minipage}[t][0.45\textheight][t]{\textwidth}
\centering
\includegraphics[height=0.5\textheight]{image1}
\end{minipage}
\nointerlineskip
\begin{minipage}[b][0.45\textheight][t]{\textwidth}
\vspace{0.4in}
\centering
\includegraphics[height=0.45\textheight]{image2}
\end{minipage}
}
But i would like to have a caption beside the image so that it doesn't use up too much space. Ive tried a few ways but i always get the 'not in outer par mode' error.
Any way of doing this?
Best Answer
One option using
\captionof
from thecaption
package (thecapt-of
package also offers this feature) to provide the captions:Adjust the lengths and alignments used according to your needs.