[Tex/LaTex] Setting subcaption width for specific subcaptions

subcaptionsubfloatswidth

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?

Best Answer

Using grouping should do it:

\begin{figure}
\begingroup
\captionsetup[subfigure]{width=<length>}
\subfloat[<caption>}{ .... }
\endgroup
%
\subfloat[<caption>}{ .... }
\end{figure}
Related Question