欢迎您访问 最编程 本站为您分享编程语言代码,编程技术文章!
您现在的位置是: 首页

在 LaTeX 中使用 IEEE 样式模板时,图片引用编号为何会显示为大写的罗马数字?

最编程 2024-07-29 17:22:32
...

IEEE LaTeX 模板的图片引用问题:

\begin{figure*}[h]
	\centering
	\includegraphics[width = 1\textwidth]{img_system.png}
        \label{Fig:img_system}
	\caption{System block diagram}
\end{figure*}

代码这样写的感觉没问题但是,图片的下标是Fig.3,引用却是Fig.Ⅲ,感觉是模板的问题,但是又不知道怎么改,百度了半天没结果,后面看了看模板的注释,有这么一句话:and the \label for the overall figure must come after \caption.,很显然问题就出在这里了,只要将\label 放在\caption 之后就可以了,即:

\begin{figure*}[h]
	\centering
	\includegraphics[width = 1\textwidth]{img_system.png}
	\caption{System block diagram}
	\label{Fig:img_system}
\end{figure*}

有用的话点个赞呗!