5

In the subfig packge, the command \captionsetup[subfigure]{width=<length>} can set the width of all subcaptions within a figure.

How can the width of just a single subcaption in a figure be set?

1 Answers1

8

Using grouping should do it:

\begin{figure}
\begingroup
\captionsetup[subfigure]{width=<length>}
\subfloat[<caption>}{ .... }
\endgroup
%
\subfloat[<caption>}{ .... }
\end{figure}
Martin Scharrer
  • 262,582