TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am arranging four images as follows.

\usepackage{subcaption, tabu}
\begin{tabular}{c|c} %vertical line I added | between cc
\subcaptionbox{}{\includegraphics[width = 0.45\columnwidth]{a}}&
\subcaptionbox{}{\includegraphics[width = 0.45\columnwidth]{c}}\\
\subcaptionbox{}{\includegraphics[width = 0.45\columnwidth]{b}}&
\subcaptionbox{}{\includegraphics[width = 0.45\columnwidth]{d}}
\caption{Overall caption}

I would like to move the subcaptions (that is (a), (b), (c), (d)) closer to the images and potentially even onto them as the images are mostly white.

The current answer at Subfigures with number inside figure doesn't seem to move the caption vertically sadly. The answer to my question looks like it might be How can I modify vertical space between figure and caption? but \setlength{\belowcaptionskip}{0pt} has no effect for me.

What is the right way to do this?

share|improve this question
The label should go below the overall caption. – dustin Aug 12 '13 at 20:25
up vote 6 down vote accepted

Use the skip key in \captionsetup for subfigures; in the example below I used a negative value so that the label overlaps the subfigures (as requested in a comment):




\subcaptionbox{}{\includegraphics[width = 0.45\linewidth]{example-image-a}}&
\subcaptionbox{}{\includegraphics[width = 0.45\linewidth]{example-image-c}}\\
& \\[-1.88ex]
\subcaptionbox{}{\includegraphics[width = 0.45\linewidth]{example-image-b}}&
\subcaptionbox{}{\includegraphics[width = 0.45\linewidth]{example-image-a}}
\caption{Overall caption}


enter image description here

Notice that in floating objects \label should go after \caption. Also, using just t for the positioning of floats is almost a recipe for disaster; I would suggest you not to use any specifier at all, or if you really need it, to use something less restrictive.

share|improve this answer
Not sure if is obvious, but one can set the skip to be a negative length, placing the subcaptions on top of the subfigures. – Torbjørn T. Aug 12 '13 at 21:05
Unfortunately adding \captionsetup[subfigure]{skip=-1pt} in the preamble moves one of the images up over the horizontal lines rather than just moving the subcaptions it seems. – Lembik Aug 12 '13 at 21:16
@Lembik which horizontal lines? Why a negative value? – Gonzalo Medina Aug 12 '13 at 21:17
There is a horizontal line (the \hline) and the right bottom figure goes over it if I use \captionsetup[subfigure]{skip=0pt} or anything negative. I am trying to move the subcaptions for space reasons and as my image is mostly white it doesn't matter if they go over it. – Lembik Aug 12 '13 at 21:20
@Lembik something else must be going on in your document; see my updated answer for an example using a negative value; no problem like the one you mention. – Gonzalo Medina Aug 12 '13 at 21:50

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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