[OS X TeX] Turn off hyphenation of toc and titles

Alan Munn amunn at msu.edu
Sat Dec 12 04:24:45 CET 2009

At 4:52 PM -0800 12/11/09, Gilberto wrote:
>Dear list:
>Could anyone please help? I imagine it should be possible to ask 
>LaTeX to turn off hyphenation in the TOC and headings only (allowing 
>it in the rest of the document). If so, what should I do (I had no 
>luck googling).

Not hyphenating  this will result in overfull lines, so you would 
need to set the titles raggedright.   I'm not sure I would actually 
recommend this.

However, it can be done easily with the titlesec package:


For the table of contents, the titletoc package provides the relevant 
functionality, but for this particular task (assuming you don't want 
to redefine everything) the tocloft pacakge provides a simpler 



(and similar commands for subsec, chap etc.)


Alan Munn						amunn at msu.edu
Department of Linguistics
and Germanic, Slavic, Asian and African Languages		Tel. 
Michigan State University, East Lansing MI 48824 USA	Fax	517-432-2736

More information about the macostex-archives mailing list