[Tex/LaTex] Overfull \hbox warning when using tabular

boxestableswarnings

I keep getting this warning

 Overfull \hbox (0.63303pt too wide) in paragraph at lines xxx--xxx`

wherever I have this line in the code

 \begin{tabular}{p{2cm}|p{4cm}|p{3cm}|p{3cm}}

It does not stop me from working on and creating documents but I was just wondering why I keep getting that.

Best Answer

I assume you get this warning because your tabular is (a little bit) wider than your \textwidth. Solutions include:

  • enlarging the \textwidth a little
  • narrowing down the tabular by a little
  • adding \hfuzz=0.64pt somewhere in the preamble

The \hfuzz setting specifies the maximum amount of box-overflow before a warning message will be issued.

Related Question