2

I have an image

enter image description here

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.

4

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}

Result

  • I thought the OP has a single image and wants to overlay the caption over the bottom left corner (although that isn't clear:-) but my comment about depending on the package was that some classes position the caption in the float handler irrespective of where \caption appears in the source. – David Carlisle Jun 11 '14 at 16:59
  • @DavidCarlisle I thought about the "single image" interpretation after posting my answer and looking at the "related question" comment. I didn't think about the other problem you mention. Thanks for clarification. – JLDiaz Jun 11 '14 at 17:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.