Re: SV: Is it possible to distribute long headings on two lines in the text but on only one in the TOC?

2011-05-16 Thread Julien Rioux
On 16/05/2011 5:30 AM, Påvel Nicklasson wrote: Thank you, Liviu and Ingar! I have tested the chapter* and addcontentsline solution, but it messes up the automatic chapter and section numbering since I can't manage to transfer the correct chapter/section number to the TOC for the headings that ne

Re: SV: Is it possible to distribute long headings on two lines in the text but on only one in the TOC?

2011-05-16 Thread Påvel Nicklasson
Thank you, Liviu and Ingar! I have tested the chapter* and addcontentsline solution, but it messes up the automatic chapter and section numbering since I can't manage to transfer the correct chapter/section number to the TOC for the headings that need to be changed and the book is rather lo

SV: Is it possible to distribute long headings on two lines in the text but on only one in the TOC?

2011-05-16 Thread Ingar Pareliussen
Hi There are many ways to do this, but I suggest that you use chapter* and format the linebreaks (CTRL+ENTER) where you want them and then i ERT add just after chapter* add: \addcontentsline{toc}{chapter}{This a long text with the name of the Chapter} HTH Ingar