无法包含图片

无法包含图片

我试图在我的 LaTeX 文件中包含如下图形:

\begin{figure} 
\centering
 \includegraphics[scale =0.5]{graph/jm90-10/1.jpg}
   \caption{ Job Mix 90:10 (CPU:Disk) Topology Mix 10:90 (CPU:Disk)  }
 \end{figure}

\begin{figure}   
\centering
 \includegraphics[scale =0.5]{graph/jm90-10/2.jpg}
    \caption{ Job Mix 90:10 (CPU:Disk) Topology Mix 30:70 (CPU:Disk)  }
 \end{figure}

 \begin{figure}   
\centering
 \includegraphics[scale=0.5]{graph/jm90-10/3.jpg}
    \caption{ Job Mix 90:10 (CPU:Disk) Topology Mix 50:50 (CPU:Disk)  }
 \end{figure}

图 1.jpg 插入成功,其他两张图未插入。错误出现在第二张图的第 3 行\includegraphics... 处,如下所示

l.253 \centering
You've lost some text. Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
! Undefined control sequence.
\@xfloat ...@fltovf \fi \global \setbox \@currbox
\color@vbox \normalcolor \...
l.253 \centering
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.
! Missing number, treated as zero.
<to be read again>
\vbox
l.253 \centering
A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)
<graph/jm90-10/3.jpg, id=83, 783.92876pt x 458.71375pt>
File: graph/jm90-10/3.jpg Graphic file (type jpg)
<use graph/jm90-10/3.jpg>
Overfull \hbox (1.96342pt too wide) in paragraph at lines 254--255
[][]
[]
! Undefined control sequence.
\@largefloatcheck ->\ifdim \ht \@currbox
>\textheight \@tempdima -\textheigh...
l.256 \end{figure}
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.
! Missing number, treated as zero.
<to be read again>
>

有什么帮助吗?

答案1

它看起来与 LaTeX-Community.org 上写的问题非常相似:不能包含第 19 个数字. 我们看到的是相同的错误消息

You've lost some text. Try typing <return> to proceed.
If that doesn't work, type X <return> to quit
?
! Undefined control sequence.
\@xfloat ...@fltovf \fi \global \setbox \@currbox
\color@vbox \normalcolor \...

但在此之前

! LaTeX Error: Too many unprocessed floats.

也许你没看到。很可能你存储了太多浮点数。

可能的解决方案:

相关内容