1

How to place figures side by side with two different captions and one common caption, while in the list of figures only common caption will show?

  • Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format. A suggestion: Do us a favour and change your username to something more telling than "user1234". – Reinstate Monica - M. Schröder Sep 20 '14 at 9:55
  • 1
    Please have a look to the "Related" questions on the right side. For me it seems your question and the answer you can find there ... If not please give more informations, for example show us with a MWE, what you have tried so far ... – Mensch Sep 20 '14 at 11:00
3

You could load the subcaption package and use two subfigure environments inside a figure environment. Each subfigure can be given its own \caption.

In the example below, I've given equal sizes (of 0.48\textwidth) to the subfigures; obviously, unequal sizes are also possible. The horizontal line below the figure is drawn purely to illustrate with width of the text block.

enter image description here

\documentclass{article}
\usepackage[demo]{graphicx} % omit "demo" for your real document
\usepackage{subcaption}
\begin{document}
\begin{figure}
  \begin{subfigure}{.48\textwidth}
    \includegraphics[width=\linewidth]{file1}
    \caption{Caption of first subfigure}
  \end{subfigure}
  \hspace{\fill}  % for some horizotal separation 
  \begin{subfigure}{.48\textwidth}
    \includegraphics[width=\linewidth]{file2}
    \caption{Caption of second subfigure}
  \end{subfigure}
  \caption{A float with two subfigures}
\end{figure}
\hrule  % just to illustrate width of text block
\end{document}
|improve this answer|||||
1

I presume you are looking for something like this:

captions

Use the package subcaption, which is in the basic installation of LaTeX.

The minimal example of the document is:

\documentclass[a4paper,10pt]{article}
\usepackage{graphicx}
\usepackage{subcaption}

\begin{document}

\begin{figure}
  \begin{minipage}{.5\textwidth}
    \includegraphics[width=.9\textwidth]{noimage}
    \subcaption{First subcaption here.}
  \end{minipage}%
  \begin{minipage}{.5\textwidth}
    \includegraphics[width=.9\textwidth]{noimage}
    \subcaption{Second subcaption here.}
  \end{minipage}
  \caption{One common caption for both figures.}
\end{figure}

\end{document}

But still, you should include your own example of what you are looking for.

|improve this answer|||||
  • A small comments: This will create an overfull hbox, as you have two minipages of .5\textwidth separated by an interword space. The % after the first minipage is missing. – Torbjørn T. Sep 20 '14 at 11:44

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.