# How to add this figure in 2 column file?

I want to add like the figure below each subfigure has (a) (b) c d. Then a main title for it. My code is this but its wrong. My image is at the bottom.

\begin{figure*}[htb]
\centering
\begin{minipage}[b]{.4\textwidth}
\includegraphics[width=\textwidth]{a}
\caption{(a)}\label{label-a}
\begin{minipage}[b]{.4\textwidth}
\includegraphics[width=\textwidth]{b}
\caption{(b)}\label{label-b}
\end{minipage}
\end{figure*}


• Load the subcaption package, and the subfigure environment. – Bernard Dec 27 '16 at 10:54
• Which document class do you use? – Mico Dec 27 '16 at 10:57

Please update the beow coding with the packages subfloat, subfig, graphicx

Add sub caption if needed in the option \subfloat[caption here]

\begin{figure*}[htb]
\centering
\subfloat[]{\includegraphics[width=\textwidth]{figure(a)}}
\subfloat[]{\includegraphics[width=\textwidth]{figure(b)}}\\
\subfloat[]{\includegraphics[width=\textwidth]{figure(c)}}
\subfloat[]{\includegraphics[width=\textwidth]{figure(d)}}
\end{figure*}

• Did you try out this code? I would use \columnwidth rather than \textwidth, and I'd use spacers between the first/second and third/fourth subfigures. – Mico Dec 27 '16 at 11:12