I am using overleaf to write my paper. I want to put (a)(b)(c)(d) labels under each image. How can I do that?
\begin{figure}[ht!] %!t
\centering
\includegraphics[width=1.5in]{15_6277.png}
\includegraphics[width=1.5in]{16_6277.png}
\\[\smallskipamount]
\includegraphics[width=1.5in]{17_6277.png}
\includegraphics[width=1.5in]{18_6277.png}
\\[\smallskipamount]
\includegraphics[width=1.5in]{19_6277.png}
\includegraphics[width=1.5in]{ensemled_6277.png}
\caption{Experiments Results and Final Ensemble Result}
\label{Compare_S}
\end{figure}
>Solution :
Just put it in a tabular environment inside the figure;
\begin{figure}[!htbp]
\centering
\begin{tabular}{cc}% l,c,r
\includegraphics{} & \includegraphics{}\\
(a) & (b)\\
\includegraphics{} & \includegraphics{}\\
(c) & (d)\\
\end{tabular}
\caption{\label{fig:label}Caption}
\end{figure}
