LaTeX: Dealing with overfull badboxes

Writing a PhD thesis and with well over 250 pages and 40+ high resolution images, LaTex is far more efficient than other word processors:

LaTeX vs Word

There are some issues to deal with once the document becomes more complex. Currently I’m dealing with overfull badboxes. Luckily there are guides on dealing with this, one of them here.
Several things can get you out of trouble. One is the \sloppy command, which makes things less stringent when LaTeX tries to justify the problematic line:

problematic text

Or you can use sloppypar environment

problematic text

Another way is to alter \emergencystretch which is the assumed stretchability of every line when badness and demerits are computed, in cases where overfull boxes are otherwise unavoidable. More on this here. So altering this parameter may help in some cases, eg:


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s