[Tex/LaTex] Adding multiple images in a LaTeX document in the same “area”

floatsnumbering

Is it possible to add multiple images to a given are in a LaTeX document.

What I want to achieve is having three images aligned horizontally, and each one of them corresponding letters a), b), and c) respectively. In the caption I want to explain what Fig X.a) is and then Fig X.b) and then Fig X.c)

Do I incorporate this 3 figures in one larger figure and import it in latex? or can I do it in another fashion. How do I add the letter a) b) c) to the figures? Should I add them to the figures with Paint or other software, or there is a LaTeX way of assigning letters to figures?

Thanks in advance!

Best Answer

\documentclass{article}
\usepackage[demo]{graphicx}
\usepackage{subfig}
\begin{document}
\begin{figure}
\subfloat[caption]{\includegraphics[width = 2in]{something}}
\subfloat[caption]{\includegraphics[width = 2in]{something}}
\subfloat[caption]{\includegraphics[width = 2in]{something}}
\caption{}
\end{figure}
\end{document}

enter image description here

I believe this is what you are asking for.

If you want, you can add:

\begin{tabular}{ccc}
\subfloat[caption]{\includegraphics[width = 2in]{something}} &
\subfloat[caption]{\includegraphics[width = 2in]{something}} &
\subfloat[caption]{\includegraphics[width = 2in]{something}}
\end{tabular}

enter image description here