Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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

share|improve this question
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
show 1 more comment

1 Answer

up vote 15 down vote accepted

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.

share|improve this answer
1  
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
    
Thanks! But the [] are confusing. –  Martin Scharrer Mar 17 '11 at 11:17
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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