Hi all, Here is my little problem: I have my chapter titles written in big letters on a A5 paper. I'm using a layout from http://www.educat.hu-berlin.de/~voss/lyx/layouts/chapter.phtml (the one with a huge 1 at the right and a line under) with this added in my preamble (between the dashed lines): ------------------------------------------------------------- \newfont{\scaledfont}{cmr10 scaled 6000} \renewcommand\thechapter{\arabic{chapter}} \def\@makechapterhead#1{% % \vspace*{50\p@}% {\parindent \z@ \raggedright \normalfont \ifnum \c@secnumdepth >\m@ne \if@mainmatter \par\nobreak \vskip 20\p@ \fi \fi \interlinepenalty\@M \parbox{0.9\textwidth}{\Huge \bfseries #1}\ % \hfill\scaledfont\thechapter\par\normalsize% \rule{\textwidth}{1pt}% <--- the rule \nobreak \vskip 40\p@ }% } -------------------------------------------------------------
This makes my titles being displayed on several lines. The problem is the title is "justified" (block?) and all my titles are hyphenated, which is very ugly, as in, for example "Simulation of large opti- cal elements" What I would like is the words not to be hyphenated. So I first tried to add ctrl-return to force the line break to "Simulation of large optical elements" Unfortunately this has two side-effects: 1- the headers are distorted, which is solved by redefining the title with \chapertmark. 2- the TOC also has this line breaks "3.Simulation of large optical elements" Then I canceled this and tried to change the paragraph properties of the title with an alignment from "block" to "left". It solves the hyphenation problem, but the TOC now looks like "3. Simulation of large optical elements" which is not much better. Conclusion: What I would like is either - a way to specify no imphenation for every word (like emphasis, bold, etc.) or - a way to redefine the chapter title used in the TOC to be different from the one in the text. so I can use the ctrl-return line breaks or - a way to specify that the title is not block aligned (left-aligned) is great and not to have this breaking the TOC layout. or - any other solution that makes my titles being not hyphenated and one line in the TOC. Ideas somemone? Thanks in advance, Olivier. PS: I'm thinking of using math-mode for every single word, but that looks ugly.