[Tex/LaTex] table length set-up latex \hbox overflows


I have this code in Latex

  \begin{tabular*}{\linewidth}{| m{0.20\linewidth} | m{0.20\linewidth} | 
m{0.20\linewidth} | m{0.40\linewidth} |} 
    Title & Machine Name & Field Type & Widget \\
    Title & title & Node module element & (used from the module) \\
    Activity Type & field\_activity\_type & Term reference & Check boxes/radio 
buttons \\
    Contact & field\_contact & Link & Link \\
  \caption{Activities field table}
  \label{Activities Table}

I am using the packages:

\documentclass[11pt, a4paper]{book}

And I am getting the error

Underfull \vbox (badness 10000) has occured while \output is active []
Underfull \vbox (badness 1694) in paragraph
Underfull \hbox (badness 10000) in paragraph
Overfull \hbox (49.993pt too wide) in alignment

I added the m{} in this table in order to run away for the Overfull error I was getting before. It was the same as the one I am getting in this table:

    \begin{tabular}{ l | l | l | l }
      Title & Machine Name & Field Type & Widget \\
      Title & title & Node module element & (used from the module) \\
      URL path settings &   path & Path module element & (used from the 
module) \\
      Tags & field\_tags & Term reference & Auto-complete term widget 
(tagging) \\
  \caption{Article fields table}
  \label{Article table}

that gives me the error:

Overfull \hbox (49.38527pt too wide) in paragraph

I think that I am having some problem with the size of the table. I just do not know how to make it fit the text without "bitching" about it. From my understanding If I do not set the width the table will be too big for the page. If i do set the width the text will be too little for the table.

Does anyone have any incites?

Best Answer

An overfull \hbox means that there is a hyphenation or justification problem: moving the last word on the line to the next line would make the spaces in the line wider than the current limit; keeping the word on the line would make the spaces smaller than the current limit, so the word is left on the line, but with the minimum allowed space between words, and which makes the line go over the edge.

If the "overfull" word includes a forward slash, such as "input/output", this should be properly typeset as "input\slash output". The use of \slash has the same effect as using the "/" character, except that it can form the end of a line (with the following words appearing at the start of the next line). The "/" character is typically used in units, such as "mm/year" character, which should not be broken over multiple lines.

The warning can also be issued when the \end{document} tag was not included and/or was deleted.


Overfull hbox [101] Overfull \hbox (9.11617pt too wide) in paragraph at lines 860--861 []\LY1/brm/m/n/10 Windows, \LY1/brm/m/it/10 see \LY1/brm/m/n/10 X Win-

The warning is given so that you can find the line in the code that originates the problem (in this case: 860-861) and fix it. The line on this example is too long by a shade over 9pt. The chosen hyphenation point which minimizes the error is shown at the end of the line (Win-). Line numbers and page numbers are given as before. In this case, 9pt is too much to ignore (over 3mm), and a manual correction needs making (such as a change to the hyphenation), or the flexibility settings need changing