# Is it possible to make LaTeX mark overfull boxes in the output?

Is it possible to make LaTeX mark overfull boxes in the output, for example by drawing red rectangles in the PDF where the boxes overflow? The purpose -- to more easily "see" where the problems are in the output.

• \documentclass[draft]{article} – David Carlisle Oct 3 '12 at 10:29
• This is the duty of the draft option to \documentclass – egreg Oct 3 '12 at 10:30
• Out of curiosity: are there other visual warnings available? – Christian Lindig Oct 3 '12 at 11:05
• @ChristianLindig unfortunately, not really. You cannot visualize underfull \hbox, nor over/underfull \vbox nor over/underfull \vbox while \output is active. You have to read the .log to find these. – yo' Oct 3 '12 at 11:27
• @ChristianLindig: Unrelated to overfull boxes, there are packages that provide visual debugging/warnings. Some are even colored :-) – ℝaphink Oct 3 '12 at 11:54