I have an image
where as x are 3 diagrams. As there is empty space on the left, I was wondering if it is possible to put the caption of the image within the picture.
I have an image
where as x are 3 diagrams. As there is empty space on the left, I was wondering if it is possible to put the caption of the image within the picture.
This is a solution which does not assume any package besides graphicx
for including the images. The $
around the last figure is to ensure the vertical centering of the caption.
\documentclass{article}
\usepackage{graphicx}
\usepackage{mwe}
\def\image{\includegraphics[width=0.45\textwidth]{example-image-a}}
\begin{document}
\begin{figure}
\image\hfill\image\par
\vskip 5mm
\begin{minipage}[c]{0.45\textwidth}
\caption{This is the caption, it may be long}
\end{minipage}\hfill%
$\vcenter{\hbox{\image}}$\par
\end{figure}
\end{document}
\caption
appears in the source.
Commented
Jun 11, 2014 at 16:59