1. 程式人生 > >LaTeX IEEE 模板 圖片引用編號為大寫羅馬數字問題

LaTeX IEEE 模板 圖片引用編號為大寫羅馬數字問題

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*}

有用的話點個讚唄!