## LaTeX forum ⇒ General ⇒ Overfull \hbox

LaTeX specific issues not fitting into one of the other forums of this category.
JudMc
Posts: 4
Joined: Mon Feb 04, 2019 6:01 am

### Overfull \hbox

I'm getting "Badbox - Overfull \hbox (4.42519pt too wide) in paragraph lines 198--199" on this:

From Example~\ref{origEx2}, with $s = 2^6-6$, we get the following: $T_{58}(2^{2^6}) = (2^6)T_{58}(2) = (2^6)2^{58} = 2^{64}$.

and I can't figure out why, or how to fix it. I've gotten this before when a table was too wide, but I don't see a problem here and it is correct in the PDF.

I thought that the math part was too long. I tried breaking it up into two and then three pieces, but that didn't help.

Is this warning important, and if so, how can it be fixed?

The problem went away. I think it was when I added the amsmath package.

kaiserkarl13
Posts: 619
Joined: Tue Mar 25, 2008 5:02 pm
The amsmath package wouldn't cause an overfull box. It may have allowed something to break in a different place, but without a minimal working example, it's not 100% clear why you got a box like that. It probably means your in-line math was too long and overran the margins, and it probably fixed itself when you edited something or changed the line breaks (perhaps by doing something elsewhere in the document, seemingly unaffiliated with the line causing the overfull box).
Last edited by kaiserkarl13 on Fri Feb 22, 2019 9:53 am, edited 1 time in total.

Stefan Kottwitz
By the way, \usepackage{microtype} could improve the justification with pdfLaTeX, for example by implicitly using font expansion, so getting rid of overfull horizontal boxes.