I want LaTeX not to give warnings for overfull hboxes up to some maximum of say 2 pts. How to achieve this?

  • 4
    Maybe this answer is helpful to you? – meep.meep Mar 17 '11 at 10:15
  • So is this a duplicate? – Hendrik Vogt Mar 17 '11 at 10:32
  • Please take a look at the question that meep.meep has suggested as the answers there might help you. If they do, that's great, and we'll probably close this question as a duplicate just to keep the place tidy and to help people find the answers quickly. If they don't, please edit your question here to explain why so that people can better focus their attention to help you. – Martin Scharrer Mar 17 '11 at 11:07
  • 1
    I don't think it is a duplicate as this question explicitly asks for a solution to manually change the warning whereas the first question is about the general explanation/understanding of this warning. It is right, though, that the answers overlap. Does that qualify as a duplicate? – meep.meep Mar 17 '11 at 11:18
  • Not a duplicate: someone searching for an answer to my question will never/not easily find the answer meep.meep provides a link to – willem Mar 17 '11 at 11:46

Tested it, works! See also this Wiki.




where \hfuzz=length is a parameter that allows hbox's to be overfull by length before an overfull error occurs.

  • 2
    Please always add a short explanation to your solutions even if you have added a hyperlink to such explanations. An answer should be properly self-contained. Something like "Using \hfuzz allows \hbox to be overfull to the given amount before a warning is raised". – Martin Scharrer Mar 17 '11 at 11:06
  • @Martin Scharrer: done. – meep.meep Mar 17 '11 at 11:15
  • 1
    Thanks! But the [] are confusing. – Martin Scharrer Mar 17 '11 at 11:17
  • This answer does not work in this MWE: \documentclass{article}\hfuzz=100pt\begin{document}\parbox{1em}{Long}\end{document}: "Overfull \hbox (11.8056pt too wide) in paragraph". You would have to use \documentclass{article}\begin{document}\parbox{1em}{\hfuzz=100pt Long}\end{document} – bers May 12 '17 at 8:23

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.