LaTeX forum ⇒ GeneralOverfull \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

Postby JudMc » Sat Feb 09, 2019 11:15 pm

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: 625
Joined: Tue Mar 25, 2008 5:02 pm

Postby kaiserkarl13 » Wed Feb 13, 2019 4:22 pm

The amsmath package wouldn't cause an overfull box. It may have allowed something to break in a different place, but without a Infominimal 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.

User avatar
Stefan Kottwitz
Site Admin
Posts: 9405
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Thu Feb 14, 2019 1:37 pm

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.

Stefan
Site admin


Return to “General”

Who is online

Users browsing this forum: No registered users and 5 guests