I'm writing my thesis, and one of the sections has a title which looks good in the table of content, but it's too long in the main text, so that it goes on the new line by hyphenating one of the words. More in specific, it looks like this:
In the toc:
2.1 Conservative Extensions and Inseparability Relations
In the main text:
2.1 Conservative Extensions and Inseparability Re-
lations
I would like still to have 1 line in the toc, but to decide where to go on the new line in the main text. Do you have any suggestion? I don't even know how to google for this problem...
\section[toc title]{main \\ title}– David Carlisle Jul 2 '12 at 19:31\mboxthe last word. better still would be to disallow hyphenation entirely in section titles and set them ragged right, but how that's done depends on what document class you're using, and you don't say. – barbara beeton Jul 2 '12 at 19:39