我正在尝试使用 TeXmaker 中的主文件编译一些章节thesis.tex
。
编译后返回:
Chapter 4.
(./chapter/res.tex)
Underfull \vbox (badness 10000) has occurred while \output is active []
[11
]
我是乳胶新手,我该如何理解和解决该警告?
答案1
你给出的线索很少,但我认为你已经做到了这一点
\documentclass[twoside]{report}
\setlength\parskip{1em}
\begin{document}
one two three one two three one two three one two three one two three
one two three one two three one two three one two three one two three
one two three one two three one two three one two three one two three
one two three one two three one two three one two three one two three
one two three one two three one two three one two three one two three
one two three one two three one two three one two three one two three
one two three one two three one two three one two three one two three
one two three one two three one two three one two three one two three
one two three one two three one two three one two three one two three
one two three one two three one two three one two three one two three
one two three one two three one two three one two three one two three
one two three one two three one two three one two three one two three
one two three one two three one two three one two three one two three
one two three one two three one two three one two three one two three
one two three one two three one two three one two three one two three
one two three one two three one two three one two three one two three
one two three one two three one two three one two three one two three
one two three one two three one two three one two three one two three
one two three one two three one two three one two three one two three
one two three one two three one two three one two three one two three
one two three one two three one two three one two three one two three
one two three one two three one two three one two three one two three
one two three one two three one two three one two three one two three
one two three one two three one two three one two three one two three
one two three one two three one two three one two three one two three
one two three one two three one two three one two three one two three
one two three one two three one two three one two three one two three
one two three one two three one two three one two three one two three
one two three one two three one two three one two three one two three
one two three one two three one two three one two three one two three
one two three one two three one two three one two three one two three
one two three one two three one two three one two three one two three
one two three one two three one two three one two three one two three
one two three one two three one two three one two three one two three
one two three one two three one two three one two three one two three
one two three one two three one two three one two three one two three
one two three one two three one two three one two three one two three
one two three one two three one two three one two three one two three
one two three one two three one two three one two three one two three
one two three one two three one two three one two three one two three
one two three one two three one two three one two three one two three
one two three one two three one two three one two three one two three
one two three one two three one two three one two three one two three
one two three one two three one two three one two three one two three
one two three one two three one two three one two three one two three
one two three one two three one two three one two three one two three
one two three one two three one two three one two three one two three
one two three one two three one two three one two three one two three
one two three one two three one two three one two three one two three
\end{document}
产生警告
Underfull \vbox (badness 10000) has occurred while \output is active [1
问题在于,文档类已指定每页的最后一行应位于页面底部,但您已删除所有灵活性,\parskip
并将其设置为不是的倍数的长度\baselineskip
。
标准类默认将文本高度设置为\topskip
加上 的倍数\baselineskip
,以避免出现此问题,因此满页文本将完全适合页面。但是,如果您的页面没有可拉伸空间(因此没有标题、列表或方程式周围有可拉伸空间),并且您将其设置\parskip
为不拉伸的值,并且不是 的倍数,\baselineskip
那么页面不可避免地会变短,并且无法将其扩展以填充指定的空间,因此页面会变满。
如果1em
你设置
\setlength\parskip{\baselineskip}
或者
\setlength\parskip{1em plus 2pt}
然后会出现警告并且文本的底行位于页面的底部。