General ⇒ underfull hbox on new line?
-
- Posts: 9
- Joined: Wed Dec 17, 2008 3:16 am
underfull hbox on new line?
Whenever I create a new line (using \\) I get an underfull hbox error.. what's going on there?
Nick
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
Re: underfull hbox on new line?
underfull hbox on new line?
It is not an error, but a warning. Errors stops compilation, warnings don't.NSutcliffe wrote:Hi all,
Whenever I create a new line (using \\) I get an underfull hbox error.. what's going on there?
Nick
Many warnings of this kind come from a misunderstanding of the \\ command. It means "new line", certainly. But, let's precise, newline inside the same paragraph. Look at this:
Code: Select all
This is the first paragraph. It contains \\ two lines.
This is the second paragraph. \\
This is the third paragraph.
-
- Posts: 9
- Joined: Wed Dec 17, 2008 3:16 am
Re: underfull hbox on new line?
Re: underfull hbox on new line?
If you want space after every paragraph, set \parskip to a postive value, like \setlength{\parskip}{12pt}
underfull hbox on new line?
Re: underfull hbox on new line?
I encountered the same problem. I get the following message, despite several changes I tried in the phrasing of my sentence. Can you please help?
Underfull \hbox (badness 10000) in paragraph at lines 17--18
\hbox(0.0+0.0)x360.0
.\glue(\rightskip) 0.0
Underfull \hbox (badness 10000) in paragraph at lines 19--20
\hbox(0.0+0.0)x360.0
.\glue(\rightskip) 0.0
Completed box being shipped out [3]
\vbox(629.40024+0.0)x414.0
.\glue 21.0
.\vbox(608.40024+0.0)x360.0, shifted 54.0
..\vbox(12.0+0.0)x360.0, glue set 12.0fil
...\glue 0.0 plus 1.0fil
...\hbox(0.0+0.0)x360.0
..\glue 25.0
..\glue(\lineskip) 0.0
..\vbox(541.40024+0.0)x360.0, glue set 133.8566fil
...\glue(\topskip) 3.39584
...\hbox(7.60416+2.12917)x360.0, glue set 0.4994
Re: underfull hbox on new line?
Re: underfull hbox on new line?
underfull hbox on new line?
Sorry, but... where is it?voula wrote:I've already posted the code.