[tex-eplain] Stop hyphenation in TOC

Stepan Kasal kasal at ucw.cz
Sat Jan 14 17:33:04 CET 2006


Hello,

> [...] I don't want hyphenation in the TOC. I have tried adjusting
> \pretolerance to no avail. [...]

just a quick answer, without any testing: the parameter you need is
\hyphenpenalty and \exhyphenpenalty (the latter is for breaking
Smith-Wesson just before the "W").  Set both to 10000, adjust
\rightskip in a way similar to \raggedright.

HTH,
	Stepan Kasal



More information about the tex-eplain mailing list