I am using the subfig package and i am unable to center the caption even though the floating figures are centered. Here is a snippet of my code.
I am using the IEETrans.cls file from IEEE website to write my journal paper. Please find it attached to this post.
The output of this latex code always shows a caption which is justified to the left.
I googled a lot trying to find if there are any settings to the subfig package which can take care of centering the caption, but i haven't had much luck. It would be great if someone could help.
Code: Select all
\begin{figure*}[!t]
%\captionsetup[figure*]{justification=centering}
\centering
\subfloat[]{\includegraphics[width=2.2in]{Figures/graph_Speed.PNG}
\label{fig:Speed1}}
\hfil
\subfloat[]{\includegraphics[width=2.2in]{Figures/graph_Speed2.PNG}
\label{fig:Speed2}}
\hfil
\subfloat[]{\includegraphics[width=2.2in]{Figures/graph_vSpeed3.PNG}
\label{fig:Speed3}}
\caption{(a)Speed 1: Blah Blah Blah Blah Blah Blah (b)Speed 2: Blah Blah Blah Blah Blah Blah (c)Speed3: Blah Blah Blah Blah Blah Blah}
\label{speedgraphs}
\end{figure*}
Thanks
Sid