I am getting "underfull and overfull hbox error". I found one solution uses the following:

overfull and underfull hbox

interwordspace: \the\fontdimen2\font \\

interwordstretch: \the\fontdimen3\font \\

emergencystretch: \the\emergencystretch\par

interwordspace: \the\fontdimen2\font \\

interwordstretch: \the\fontdimen3\font \\

emergencystretch: \the\emergencystretch\par

I don’t have above tags{interwordspace, interwordstretch: and emergencystretch and begin {slopper}, please guide me.

My complete Latex code is:

%% \BibTeX command to typeset BibTeX logo in the docs
    \normalfont B\kern-0.5em{\scshape i\kern-0.25em b}\kern-0.8em\TeX}}}





First Example Table Problem
    \caption{Contribution table, the section-wise achievement of significant work.}
    \multicolumn{1}{c}{\bf Survey Section} &
      \multicolumn{1}{c}{\bf Context} &
      \multicolumn{1}{c}{\bf The Focus of Research Papers} \\ 
(Section 2) 222222222222222 -- 22222222222222222222222 222222222 [23] \\

Future 41414141414141414141414141414141414141441414 41414141414: 41414141414141414141414141414141[16] \\

4344343434343434343434343434343434343434343434343434343434 343: [21] \\


The image is also attached: Image of output along with error messages

  • 1
    Probably >{\raggedright\arraybackslash}p{2.5cm} gives you the desired result.
    – leandriis
    Jul 12 '20 at 15:52
  • 1
    Please add some background infor on the contents of the table. Does "-- TTTTTT TTTTT TTT TTTTTT TTTTTTTTT [23000]" belong in the first column of the table or probably into the last? What ise -- supposed to do? Do you actually want an itemize list in your last table column? Please clarify.
    – leandriis
    Jul 12 '20 at 17:27
  • 1
    Probably a sketch of the desired output would be helpful as well.
    – leandriis
    Jul 12 '20 at 17:36
  • Thanks for your response, I have added the image again and new code with changes to prinable text Jul 12 '20 at 21:58
  • 1
    Regarding your recent update: Is "Future 41414141414141414141414141414141414141441414 41414141414: 41414141414141414141414141414141[16]" really what you want to display in your table or is it just some placeholder text for a different text? Latex does not know where to add linebreaks inside of something like 1414141414141414141414141414141414141441414, so no wonder you are getting overfull and underfull box warnings here. What to do depends on the contents of your table: actual text or "41414141414141414141414141414141[16]"? Please clarify that.
    – leandriis
    Jul 15 '20 at 8:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.