TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've run across a GFX bug that seems to has something to do with text formatting and line breaks. It is a black box the size of a character, that appears in the right margin. It looks like this:

LaTeX GFX bug

On my homepage, you can view the entire document, as well as the LaTeX source. (It is on page 21.)

share|improve this question
You have the draft option specified in your \documentclass command. This puts marks in the margin to point out places where TeX has put text outside the margins. See What does draft mode change? – Alan Munn Dec 22 '12 at 5:22
What is this GFX? – Heiko Oberdiek Dec 22 '12 at 5:38
Note: the image is no longer available. – BenC Jan 15 at 4:47
up vote 7 down vote accepted

You are using option parfill of package parskip. That requires a minimum space (30pt) at the end of the last line of a paragraph. In your case the paragraph has two lines and the second line is 13.1239pt too long for the minimum space of 30p. Therefore TeX prints an overfull \hbox warning and because of option draft of document class report the overfull \hbox is marked with a overfull rule with width 5pt.


  • Resolving the overfull \hbox warning.
  • Removing global option draft.
  • Smaller minimum space of option parfill of package parskip:

    \setlength{\parfillskip}{16pt plus 1fil}
share|improve this answer
Thanks, also, @AlanMunn said the same. I removed the draft option, and it worked. I browsed the document, and everything seemed OK, so I guess removing that options won't have any other effects except getting rid of that box, which is what I want? – Emanuel Berg Dec 22 '12 at 5:46

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.