I wish to add to subfigures side by side and have the following code
\begin{figure}
\centering
\begin{subfigure}
\centering
\includegraphics[width=0.25\columnwidth]{figures/figure1}%
\caption{bla1}
\label{fig:CL1}
\end{subfigure}%
\begin{subfigure}
\centering
\includegraphics[width=0.25\columnwidth]{figures/figure2}%
\caption{bla2}
\label{fig:CL2}
\end{subfigure}
\caption{bla bla bla}%
\label{fig:CL}
\end{figure}
I've also tried removing the "%" sign after subfigure 1, but makes no difference. I'm using the package "subfigure", so I'm not sure what I am missing to get it to work, any help would be appreciated.
subfigure
is obsolete. Usesubfig
orsubcaption
instead.