I don't know whether the two are related each other but I cannot figure out a way to achieve both. What I try to do is basically
- Put a custom caption below the figure
- Subfigures automatically captioned as (a), (b), ….
- List of figures showing only main figure captions.
The closest I got is the below code but this:
- Lists subfigures too in the LoF
- Subfigures are captioned as ((A)), ((B))
- The references are fine, i.e. Figure 2.1(a)
\usepackage{graphicx}
\usepackage{caption}
\usepackage{subfig}
\usepackage{subfloat}
\usepackage{tabularx}
\begin{figure}[t]
\begin{center}
\begin{tabular}{ccccc}
\subfloat[]{\label{Fig:Fig21A}\includegraphics[width=0.15\linewidth]{FileA}}
& \subfloat[]{\label{Fig:Fig21B}\includegraphics[width=0.15\linewidth]{FileB}}
& \subfloat[]{\label{Fig:Fig21C}\includegraphics[width=0.15\linewidth]{FileC}}
& \subfloat[]{\label{Fig:Fig21D}\includegraphics[width=0.15\linewidth]{FileD}}
& \subfloat[]{\label{Fig:Fig21E}\includegraphics[width=0.15\linewidth]{FileE}}
\end{tabular}
\caption{Main Caption.}
\label{Fig:MainFigure}
\end{center}
\end{figure}
Best Answer
Use the more modern package
subcaption
for this.