Here are several techniques you can try—either alone or in combination—to get rid of “Underfull \hbox” warnings in a paragraph (e.g. around lines 68–70):
-
Improve line breaking via hyphenation
• Load and configure the hyphenat package if you need more hyphenation patterns:
\usepackage[english,american]{babel}
\usepackage{hyphenat}
• Insert discretionary hyphens in long words:
This is a very long se\-quence of characters that might otherwise cause an underfull box.
-
Give TeX a little more wiggle-room
• In your preamble, increase \emergencystretch:
\setlength\emergencystretch{2em} % allow up to 2em extra stretch per line
• Or, temporarily switch to a laxer line-breaking regime around that paragraph:
{\sloppy
% your problematic paragraph here
} % back to normal afterward
-
Use the micro-typography package
\usepackage[stretch=10,shrink=10,step=1]{microtype}
The microtype package subtly adjusts interword spacing and font expansion to improve line breaks.
-
Force breaks (use sparingly)
• Explicit line-break hints:
… at the end of this clause.\linebreak[2] Then we continue…
• Allow breakpoints in math or URLs with \allowbreak.
-
Rewrite or restructure
• Sometimes a slightly shorter or longer sentence (or moving a word) fixes the spacing.
• Consider turning a long sentence into two shorter ones.
-
Switch to ragged-right
If full justification isn’t critical, ragged-right eliminates underfull issues:
\begin{flushleft}
…your paragraph…
\end{flushleft}
or
{\raggedright …your paragraph…\par}