Discussion:
non hyphenated headers
jack bowden
2007-01-12 14:52:43 UTC
Permalink
Hi all,


I'm writing a latex document in the 'book' style and have a number of
chapter headings, with names that are too long to fit on one line.

At present they are being forced onto two or three lines, and the line break
occurs mid-word, is there a preamble command that I can specify, so that the
line break occurs between words?


thanks

Jack

_________________________________________________________________
MSN Hotmail is evolving – check out the new Windows Live Mail
http://ideas.live.com




Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/TeXnicCenter-Users/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/TeXnicCenter-Users/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:TeXnicCenter-Users-digest-***@public.gmane.org
mailto:TeXnicCenter-Users-fullfeatured-***@public.gmane.org

<*> To unsubscribe from this group, send an email to:
TeXnicCenter-Users-unsubscribe-***@public.gmane.org

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
Kristof Möller
2007-01-12 18:50:52 UTC
Permalink
Hi Jack,

try the following workaround:

\chapter[chapter-title in the TOC and on the top of pages]{the long
title with \newline for
forced line breaks and \hbox{...} for forced non-breaks}

example:

\documentclass{book}
\usepackage[english]{babel}
\usepackage{blindtext}
\begin{document}
\tableofcontents
\chapter[a very long \LaTeX\ chapter title]
{a very long -- yes, \newline \hbox{very long and complicated \LaTeX}
chapter title}
\blindtext[10]
\end{document}

regards

Kris
Post by jack bowden
Hi all,
I'm writing a latex document in the 'book' style and have a number of
chapter headings, with names that are too long to fit on one line.
At present they are being forced onto two or three lines, and the line break
occurs mid-word, is there a preamble command that I can specify, so that the
line break occurs between words?
thanks
Jack
_________________________________________________________________
MSN Hotmail is evolving ? check out the new Windows Live Mail
http://ideas.live.com
Yahoo! Groups Links
Martin Chicoine
2007-01-15 15:40:05 UTC
Permalink
Use the hyphenat package and use \nohyphens{very long title}.



Martin.



_____

De : TeXnicCenter-Users-***@public.gmane.org [mailto:TeXnicCenter-***@yahoogroups.com] De la part de Kristof Möller
Envoyé : 12 janvier, 2007 13:51
À : TeXnicCenter-Users-***@public.gmane.org
Objet : Re: [TXC-Users] non hyphenated headers



Hi Jack,

try the following workaround:

\chapter[chapter-title in the TOC and on the top of pages]{the long title with \newline for
forced line breaks and \hbox{...} for forced non-breaks}

example:

\documentclass{book}
\usepackage[english]{babel}
\usepackage{blindtext}
\begin{document}
\tableofcontents
\chapter[a very long \LaTeX\ chapter title]
{a very long -- yes, \newline \hbox{very long and complicated \LaTeX} chapter title}
\blindtext[10]
\end{document}

regards

Kris


jack bowden schrieb:

Hi all,


I'm writing a latex document in the 'book' style and have a number of
chapter headings, with names that are too long to fit on one line.

At present they are being forced onto two or three lines, and the line break
occurs mid-word, is there a preamble command that I can specify, so that the
line break occurs between words?


thanks

Jack

_________________________________________________________________
MSN Hotmail is evolving ᅵ check out the new Windows Live Mail
http://ideas. <http://ideas.live.com> live.com




Yahoo! Groups Links

Alain Delmotte
2007-01-12 17:00:01 UTC
Permalink
Hello,

Another solution is to define shorter titles!
try \chapter[short title]{normal and long title}

Or insert hyphanation instructions by "\-".

I hope it helps,

Alain Delmotte
Post by jack bowden
Hi all,
I'm writing a latex document in the 'book' style and have a number of
chapter headings, with names that are too long to fit on one line.
At present they are being forced onto two or three lines, and the line break
occurs mid-word, is there a preamble command that I can specify, so that the
line break occurs between words?
thanks
Jack
_________________________________________________________________
MSN Hotmail is evolving – check out the new Windows Live Mail
http://ideas.live.com
Yahoo! Groups Links
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/TeXnicCenter-Users/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/TeXnicCenter-Users/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:TeXnicCenter-Users-digest-***@public.gmane.org
mailto:TeXnicCenter-Users-fullfeatured-***@public.gmane.org

<*> To unsubscribe from this group, send an email to:
TeXnicCenter-Users-unsubscribe-***@public.gmane.org

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
Loading...