[texhax] Stopping hyphens in table of contents and headings

Pierre MacKay pierre.mackay at comcast.net
Tue Oct 23 01:27:29 CEST 2007

Martin Schröder wrote:

>2007/10/22, Suzanna Laycock <s.k.laycock at sheffield.ac.uk>:
>>Basically some words are being hyphenated in the chapter and section
>>headings and the ToC.
>- use \mbox to disable single hyphenation points
>- use the optional argument of sectioning commands to disable
>hyphenation in the toc
>- if you use babel (untested):
>  see the LaTeX companion 2nd ed., p.545
>- use koma-script, which does ragged sections automatically (and is
>much better then the standard classes)
Or, very simply,

\lefthyphenmin=1000  %   to disable all hyphenation in words less than 
1002 letters long,
You can then reenable hyphenation by returning to \lefthyphenmin=2, (or 
whatever was current for the
specific language you were using---if you don't know, try 

Pierre MacKay

More information about the texhax mailing list