Discussion:
Underfull \hbox (badness 10000)
(too old to reply)
Bogdan Lataianu
2008-02-25 21:54:14 UTC
Permalink
I received the error Underfull \hbox (badness 10000) in paragraph at
lines 44-68.
I checked in the lines 44-68 and I don't notice any error. Is there
any way to know exactly in which line the error occurs?
Thanks
Enrico Gregorio
2008-02-25 22:27:10 UTC
Permalink
Post by Bogdan Lataianu
I received the error Underfull \hbox (badness 10000) in paragraph at
lines 44-68.
I checked in the lines 44-68 and I don't notice any error. Is there
any way to know exactly in which line the error occurs?
Are you perhaps using \\ to "leave a blank line"?

Don't. Use \medskip between empty lines in the input file. Or,
probably better, nothing at all.

Don't use \\ to end a paragraph. The proper way is to leave an
empty line in the input file.

Ciao
Enrico
Bogdan Lataianu
2008-02-26 19:43:14 UTC
Permalink
Yes, I ended the paragraph with \\... and I knew it's wrong but it
just escaped me.
Ciao

Donald Arseneau
2008-02-26 05:59:34 UTC
Permalink
Post by Bogdan Lataianu
I received the error Underfull \hbox (badness 10000) in paragraph at
lines 44-68.
That is a warning rather than an error.

It might be due to poor input, forcing a completely blank
line, or it may be due to a single solid object (like a tabular) that
doesn't fill the line. There is a remote possibility it is due to
bad
luck with fitting the words in the paragraph.

You should look in the log file to see the contents of that under-full
line, like:

Underfull \hbox (badness 10000) in paragraph at lines 5--6
[]\OT1/cmr/m/n/10 Test un-der-full line
[]

If that is too terse (blobs hidden in "[]") then declare \showoutput
and the listing will be very verbose (search for "underfull" to
find the relevant part).

As Enrico says, typically \\ is what causes completely empty lines.
Perhaps you want to \setlength{\parskip}{6pt}


Donald Arseneau ***@triumf.ca
Loading...