[texhax] Stopping hyphens in table of contents and headings

John Culleton john at wexfordpress.com
Sun Dec 2 05:10:18 CET 2007


On Saturday 20 October 2007 07:44:06 am Suzanna Laycock wrote:
> Hi all,
>
> I'm net to LaTex and I've managed to resolve most problems, but I
> can't find out how to do the following:
>
> I would like to stop hyphenation in my table of contents, and my
> section headings.  How can I do this?
>
> Thanks
> Suzanna

You can set and then reset the \hyphenpenalty I suppose.  Generally a penalty 
of 10000 is an absolute barrier to an action.  The default hyphenpenalty is 
50 in plain TeX. 
-- 
John Culleton
Resources for every author and publisher:
http://wexfordpress.com/tex/shortlist.pdf
http://wexfordpress.com/tex/packagers.pdf
http://www.creativemindspress.com/newbiefaq.htm
http://www.gropenassoc.com/TopLevelPages/reference%20desk.htm


More information about the texhax mailing list