[texhax] Stopping hyphens in table of contents and headings

Fehd, Ronald J. (CDC/CCHIS/NCPHI) rjf2 at CDC.GOV
Mon Oct 22 23:18:53 CEST 2007


> From: Suzanna Laycock <s.k.laycock at sheffield.ac.uk>
> Subject: [texhax] Stopping hyphens in table of contents and headings

> 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?

TeX?! Overly helpful?!  ... Not!

Where are you getting hyphenation? 

* in ToC only 

* or in the body of your output


I am guessing that you may be using twocolumn in your options.

1. figure out how to have the ToC in just one column

\begin{document}

\maketitle

\tableofcontents

\newpage

\twocolumn

2. reduce size

\begin{small}

\tableofcontents

\end{small}

3. use \raggedright which will require that you modify the section
headings command(s), a non-trivial task

Ron Fehd  the macro maven  CDC Atlanta GA USA RJF2 at cdc dot gov




More information about the texhax mailing list