Is it possible to create two commands \disableOverfullWarnings
and \enableOverfullWarnings
that respectively disable and enable the printing of messages such as
Overfull \hbox (12.92616pt too wide) in paragraph at lines 157--158 ...
in the console (in the output of pdftex
)?
Thanks
PS: If not possible, is it possible to disable all warnings for some part of the document?
EDIT: This is not a duplicate of How to suppress overfull hbox warnings up to some maximum?.
\disableOverfullWarnings
is\hfuzz=\maxdimen
and that will turn off at the end of the current environment or if you do\hfuzz=0.1pt