\output 处于活动状态时,发生 \vbox 过满(7.96234pt 太高)

\output 处于活动状态时,发生 \vbox 过满(7.96234pt 太高)

我在新页面中放置了一个图形,并收到以下消息:

Overfull \vbox (7.96234pt too high) has occurred while \output is active

日志文件显示以下内容:

Overfull \vbox (7.96234pt too high) has occurred while \output is active
\vbox(0.0+0.0)x469.47046
.\glue 0.0 plus 1.0fil
.\hbox(7.96234+0.0)x469.47046
..\pdfcolorstack 0 push {0 g 0 G}
..\hbox(7.96234+0.0)x469.47046, glue set 466.20738fil
...\glue 0.0 plus 1.0fil
...\T1/cmr/m/n/12 i
..\pdfcolorstack 0 pop


[1

]
Overfull \vbox (7.96234pt too high) has occurred while \output is active
\vbox(0.0+0.0)x469.47046
.\glue 0.0 plus 1.0fil
.\hbox(7.96234+0.0)x469.47046
..\pdfcolorstack 0 push {0 g 0 G}
..\hbox(7.96234+0.0)x469.47046, glue set 462.9443fil
...\glue 0.0 plus 1.0fil
...\T1/cmr/m/n/12 i
...\T1/cmr/m/n/12 i
..\pdfcolorstack 0 pop


[2

]
Package epstopdf Info: Source file: <figures/logo.eps>
(epstopdf)                    date: 2011-03-10 17:02:38
(epstopdf)                    size: 106887 bytes
(epstopdf)             Output file: <figures/logo-eps-converted-to.pdf>
(epstopdf)                    date: 2012-11-06 11:26:23
(epstopdf)                    size: 11686 bytes
(epstopdf)             Command: <repstopdf --outfile=figures/logo-eps-converted
-to.pdf figures/logo.eps>
(epstopdf)             \includegraphics on input line 152.
Package epstopdf Info: Output file is already uptodate.
<figures/logo-eps-converted-to.pdf, id=167, 113.42375pt x 127.47626pt>
File: figures/logo-eps-converted-to.pdf Graphic file (type pdf)

<use figures/logo-eps-converted-to.pdf>
Package pdftex.def Info: figures/logo-eps-converted-to.pdf used on input line 152.
(pdftex.def)             Requested size: 85.35826pt x 95.93373pt.

Overfull \vbox (7.96234pt too high) has occurred while \output is active
\vbox(0.0+0.0)x469.47046
.\glue 0.0 plus 1.0fil
.\hbox(7.96234+0.0)x469.47046
..\pdfcolorstack 0 push {0 g 0 G}
..\hbox(7.96234+0.0)x469.47046, glue set 459.68123fil
...\glue 0.0 plus 1.0fil
...\T1/cmr/m/n/12 i
...\T1/cmr/m/n/12 i
...\T1/cmr/m/n/12 i
..\pdfcolorstack 0 pop


There are many such messages! which I am trying to get rid of.

\clearpage
\addcontentsline{toc}{chapter}{Examination}
\setlength{\topmargin}{0.01cm}
\begin{figure}
\includegraphics[width = 3cm]{figures/logo.eps}
\end{figure}

答案1

框显示它是页码,i那么ii您没有显示任何示例代码来显示此页码的设置位置,但它将是页眉或页脚。假设这是页眉,已为页眉指定了 0pt 的高度,因此

\vbox(0.0+0.0)x469.47046
      ^^^^

但当然,字母要比这个高,特别是它们7.96234pt很高

..\hbox(7.96234+0.0)x469.47046, glue set 462.9443fil

所以你的头部高度至少要达到这个高度。所以你需要增加

  \setlength\headheight{10pt}

应该足够了,但最好首先弄清楚为什么将其设置为 0,并更正该代码。

相关内容