当我们使用Latex的图片下标功能时,可能需要设定编号,也可能不需要编号。
由于IEEE模板的设置与subfigure命令不兼容,所以无法使用subcaption
Package subcaption Error: This package can't be used in cooperation
后来我在:Latex-Subfloat格式 文章中找到了解决方案:
\captionsetup[subfloat]{labelsep=none,format=plain,labelformat=empty}
整个设置如下:
\begin{figure*}[t]
\centering
\captionsetup[subfloat]{labelsep=none,format=plain,labelformat=empty}
\subfloat[$\ \ \ \ \ $ 2 spp. $\ \ \ \ \ \ \ \ \ \ \ \ \ $ 2 spp. $\ \ \ \ \ \ \ \ \ \ \ \ \ \ $ 512 spp. \\ \smallskip $\ \ \ \ \ \ $ VPT $\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ $ Ours $\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ $ Ref. ]{
%\hspace{0.2in}
\includegraphics[width=0.31\textwidth]{Fig1/Untitled-1}
}
\subfloat[$\ \ \ \ \ $ 2 spp. $\ \ \ \ \ \ \ \ \ \ \ \ \ $ 2 spp. $\ \ \ \ \ \ \ \ \ \ \ \ \ \ $ 512 spp. \\ \smallskip $\ \ \ \ \ \ $ VPT $\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ $ Ours $\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ $ Ref. ]{
%\hspace{0.2in}
\includegraphics[width=0.31\textwidth]{Fig1/Untitled-1}
}
\subfloat[$\ \ \ \ \ $ 2 spp. $\ \ \ \ \ \ \ \ \ \ \ \ \ $ 2 spp. $\ \ \ \ \ \ \ \ \ \ \ \ \ \ $ 512 spp. \\ \smallskip $\ \ \ \ \ \ $ VPT $\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ $ Ours $\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ $ Ref. ]{
%\hspace{0.2in}
\includegraphics[width=0.31\textwidth]{Fig1/Untitled-1}
}
\centerline{}
\caption{Lalalalalallalala}
\label{fig:Totalpipeline}
\vspace{-0.10in}
\end{figure*}
没有使用\captionsetup则显示为:
使用了以后显示为: