I would like to make the captions at the middle bottom of the image. This is my code:

\setlength{\tempdima}{2.1cm}% specify height
\includegraphics[height=\tempdima]{step1.png} &
\includegraphics[height=\tempdima]{step2.png} \\
& A & \textsl{$E_{s}$}\\
\includegraphics[height=\tempdima]{step3.png} &
\includegraphics[height=\tempdima]{step4.png} \\
& \textsl{$E_{n}$} & \textsl{$E$}\\
\includegraphics[height=\tempdima]{step5.png} &
\includegraphics[height=\tempdima]{step6.png} \\
\textsl{$\frac{denoise(E_{s})}{denoise(E_{n})}$} & 
\caption{Different stage of the algorithm}

And the result is: enter image description here

It seems my caption is placed at right of my image. Why?

  • I don't think so, if we speak of the same caption(Fig. 8, &c.)
    – Bernard
    Commented Mar 31, 2019 at 21:49
  • You define three columns {rcc} and then only put content in two from each row, but for the images you put them in the first two and the text is in the last two, with the exception of the final row. Why is that?
    – Herohtar
    Commented Mar 31, 2019 at 22:08
  • 1
    I am curious to know why have you decided to use a table rather than using a normal subfigure environment? Commented Apr 1, 2019 at 3:53

1 Answer 1


I'm assuming the captions you are talking about are the A, Es, En, E, and the two formulas.

The problem is, you have defined your tabular environment to have three columns with {rcc} -- a right aligned column, and two center aligned columns. However, you are only using two of those columns in each row, and to make matters worse you are putting the images into the first (right aligned) and second (center aligned) columns, but the letters are in the second and third columns (both center aligned). The exception being the formulas which are in the first two columns.

To get the effect that it looks like you're trying to achieve, you simply need to define only two center aligned columns -- {cc} and remove the extra & from the text rows.

  • Thanks, it works. Commented Apr 1, 2019 at 17:00

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .