The last two days I face a very strange Overfull \hbox problem.

I am writing a book and I am in the 4th chapter. I began writing a 5th chapter, but then I decided to include this in the previous chapter, i.e. chapter 4. And here is the problem. When I write instead of \chapter{Blah}, for 5th chapter, the command \section{Blah} (in order to include this in chapter 4), I take the warning Overfull \hbox (0.91098pt too wide) detected at line 26 ! The same thing happens also when I use chapter 5, with subsections. This is very strange. I searched the whole TSE but nothing could solve this problem.

Any help please?

Have a look at the following screenshots. I don't post minimal code because it's very possible this warning be fixed.

enter image description here enter image description here enter image description here

  • 1
    You should check the log file, locate there the warning and check the lines before. Do they tell you where the culprit is? I not, copy the complete warning and 10 lines before it from the log file to your question. Posting a MWE is always better! – Kurt Mar 23 at 1:29
  • @Chris (1) We can not reproduce the warning, so it is difficult to help you in an accurate way. You should try to make an MWE. (2) Personally I think you can ignore the warning. Although it is a bit annoying, it's only 0.9pt of text exceeding the margin, i.e. with the naked eye we can't even notice it. – JouleV Mar 23 at 8:41
  • It seems to happen when the page number has three digits. Probably the place for page numbers in the toc should be enlarged. (Testing if this the problem is easy: simply set tge page number to 100 at the begin) – Ulrike Fischer Mar 23 at 9:20
  • @Kurt I uploaded there ufile.io/sz4z8 my .log file. Hope this helps. :) – Chris Mar 23 at 18:26
  • 1
    chapter toc lines are differently set than section lines (not dots) and so wouldn't give the a warning. And setting to 100 should not avoid the warning but trigger it - that is a test. – Ulrike Fischer Mar 23 at 21:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.