我正在使用 overleaf。我输入了以下代码来显示图像:
\begin{figure}[http]
\centering
\includegraphics[width=4cm]{pickering.png}
\caption{Table of Statistics}
\end{figure}
图像将显示在富文本编辑器中,但不显示在 PDF 版本中。我的编译器给出以下错误消息:
! Undefined control sequence.
l.86\includegraphics
[width=5in]{pickering.png}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
任何帮助将非常感激。