Consider the following example (Plain TeX):






The first line produces a paragraph ended by dash with (small) overfull. For some strange reason TeX leaves an extra (empty) line after this paragraph (with corresponding "Underfull \hbox (badness 10000)" message in log file). Any explanations of such behaviour? TIA

2 Answers 2


It appears to be because the hyphen implies a discretionary break after it. Since the line is overfull no matter what, the break is taken, and leaves a lone space token that winds up on a line of its own.

If you insert


after the long line (with a blank line in between), you will see this in the log file:

### vertical mode entered at line 0
### current page:
\glue(\topskip) 3.16669
.\tenrm T
.\tenrm t
.\tenrm t
.\tenrm t
.\tenrm t
.\tenrm -
.\glue(\rightskip) 0.0
\penalty 400
\glue(\baselineskip) 12.0
.\glue(\rightskip) 0.0
total height 22.0
 goal height 643.20255
prevdepth 0.0, prevgraf 2 lines

Interestingly, there is no \parfillskip there, so maybe my theory is lacking some piece of the puzzle. But you do get the same result if the dash is replaced by \discretionary{}{}{}.


TeX breaks the line because of the dash. You could use \hbox to prevent that. If you end that line this way


the extra line would go away.

Minimal example (compile with pdfTeX, not pdfLaTeX):






You must log in to answer this question.

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