使用下面的写法之后,在正文中引用 图片之后,图片编号显示为 ??
\begin{figure}[h!]
\centering
\includegraphics[scale=0.6]{figure/KGconstruction.png}
\label{KGconstruction}
\caption{Process for constructing the Knowledge grapg for mobile apps.}
\end{figure}
解决办法:将 \label{} 放在 \caption{} 之后写就可以了。
\begin{figure}[h!]
\centering
\includegraphics[scale=0.6]{figure/KGconstruction.png}
\caption{Process for constructing the Knowledge grapg for mobile apps.}
\label{KGconstruction}
\end{figure}

本文介绍了一个在使用LaTeX编写文档时常见的问题,即图片引用后编号显示为“??”的解决办法。通常,这可以通过简单地调整\label{}
8866





