[Tex/LaTex] How to suppress overfull hbox warnings up to some maximum

line-breakingwarnings

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

Best Answer

Tested it, works! See also this Wiki.

\documentclass{article}

\hfuzz=5.002pt 

\begin{document}
looooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong
\end{document}

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

Related Question