I am getting many overfull \hbox(4 pt) too wide warnings in my code. But when I click on the warning, it points to a the first line of the main tex file which is a comment. And there are many such warnings which are pointing to the same comment. Since it is not pointing to the line that has the warning, I am not able to edit the code. Could you guys please provide your inputs on this?

The document class command is as follow:-

\documentclass[SectionMethod, ListStyleI]{TAMUthesis}

The log file description for one of the warnings is:-

  \hbox(0.0+0.0)x430.0074, glue set - 1.0
  .\glue 3.0 plus 1.5 minus 1.0
.\glue 3.0 plus 1.5 minus 1.0
...\hbox(0.0+0.0)x0.0, glue set - 430.00739fil
.....\hbox(0.0+0.0)x430.0074, glue set 215.0037fil []
....\glue 0.0 plus 1.0fil minus 1.0fil
...\glue 0.0 plus 1.0fill
....\hbox(0.0+0.0)x430.0074, glue set 215.0037fil
.....\glue(\leftskip) 0.0 plus 1.0fil
.....\penalty 10000
.....\glue(\parfillskip) 0.0
.....\glue(\rightskip) 0.0 plus 1.0fil
...\glue 0.0 plus 1.0fill
...\hbox(0.0+0.0)x0.0, glue set - 430.00739fil
....\glue 0.0 plus 1.0fil minus 1.0fil
.....\hbox(0.0+0.0)x430.0074, glue set 430.00739fil []
..\glue 0.0

The sample code is :-


\section{Subheading requirements}
This is the second-order subheadings in this  document.\\

\item Vertical spacing above and below each subheading needs to be consistent for each

\item Vertical spacing within a subheading with more than one line needs to be the same


First-order subheadings, which are section in this  document, must be     included in the Table of Contents, which is implemented in this TAMUthesis.\\

 \subsection{Test Subsection In This Chapter}
A chirp is a signal whose frequency increases  or decreases with time.

\begin{equation}\label{Equ. 3.1}
f(t)=f_0+k\cdot t

$f_0$  is the starting frequency for sweeping in chirp. Its corresponding time   domain

function for a cosine linear chirp is;

  • 1
    An overfull \hbox can be usually clearly seen if you add the draft option to \documentclass.
    – egreg
    Aug 24, 2015 at 14:05
  • @egreg I have edited the code.. How can I add draft option here? Aug 24, 2015 at 14:08
  • Try \documentclass[SectionMethod,ListStyleI,draft]{TAMUthesis}: a black rectangle will mark the overfull boxes.
    – egreg
    Aug 24, 2015 at 14:09
  • @egreg R u talking about the rectangle in the log files? If yes I still dont know which part of the log files mentions which line in the code has the warning. I have added the log file description for one of the warnings. Aug 24, 2015 at 14:21
  • Guys please suggest a solution Aug 24, 2015 at 15:00

1 Answer 1


The draft option (understood by all standard classes and so by those based on them, but also by Koma-script classes and memoir) adds a black rectangle next to most overfull \hboxes.

Sometimes, in special situations, this doesn't happen: it can happen in tables, for instance. Nonetheless, the method is usually very effective for visually finding the bad boxes.

So you can try


If this doesn't work because the class doesn't define or inherit the option, adding


to the document preamble should produce the same effect.

  • I am still not able to understand where is the rectangle shown? Is it in the log or in the code? My question is how to find out which part of the code shows warning? Aug 24, 2015 at 15:31
  • @ShraySharan In the output. It's like a punch in the eye.
    – egreg
    Aug 24, 2015 at 15:33
  • Okay got it... Thanks.. I am afraid that almost every page of my 60 page document has that warning Aug 24, 2015 at 15:41
  • @ShraySharan That's quite strange; does the class typeset the document in two column format?
    – egreg
    Aug 24, 2015 at 15:49
  • How can I check that.. I am sorry if my questions are too basic. Aug 24, 2015 at 15:54

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .