SV: Is it possible to distribute long headings on two lines in the text but on only one in the TOC?
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
Re: SV: Is it possible to distribute long headings on two lines in the text but on only one in the TOC?
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 long (500 pages), and manually number all headings is little too much work. The Context menu Insert short title solution seems to work very well for my purposes. It is strange how easy solutions in LyX are when you discover them! Thank you both! Best Regards Påvel Den 2011-05-16 11:04:25 skrev Ingar Pareliussen ingar.parelius...@dmmh.no: 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
Re: SV: Is it possible to distribute long headings on two lines in the text but on only one in the TOC?
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 need to be changed and the book is rather long (500 pages), and manually number all headings is little too much work. The Context menu Insert short title solution seems to work very well for my purposes. It is strange how easy solutions in LyX are when you discover them! Thank you both! Best Regards Påvel Den 2011-05-16 11:04:25 skrev Ingar Pareliussen ingar.parelius...@dmmh.no: 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 Short title is the solution for me too. By the way, you can use ctrl+enter to enter a linebreak in lyx (a \\ in latex). -- Julien
SV: Is it possible to distribute long headings on two lines in the text but on only one in the TOC?
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
Re: SV: Is it possible to distribute long headings on two lines in the text but on only one in the TOC?
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 long (500 pages), and manually number all headings is little too much work. The Context menu Insert short title solution seems to work very well for my purposes. It is strange how easy solutions in LyX are when you discover them! Thank you both! Best Regards Påvel Den 2011-05-16 11:04:25 skrev Ingar Pareliussen ingar.parelius...@dmmh.no: 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
Re: SV: Is it possible to distribute long headings on two lines in the text but on only one in the TOC?
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 need to be changed and the book is rather long (500 pages), and manually number all headings is little too much work. The Context menu Insert short title solution seems to work very well for my purposes. It is strange how easy solutions in LyX are when you discover them! Thank you both! Best Regards Påvel Den 2011-05-16 11:04:25 skrev Ingar Pareliussen ingar.parelius...@dmmh.no: 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 Short title is the solution for me too. By the way, you can use ctrl+enter to enter a linebreak in lyx (a \\ in latex). -- Julien
SV: Is it possible to distribute long headings on two lines in the text but on only one in the TOC?
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
Re: SV: Is it possible to distribute long headings on two lines in the text but on only one in the TOC?
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 long (500 pages), and manually number all headings is little too much work. The Context menu > Insert short title solution seems to work very well for my purposes. It is strange how easy solutions in LyX are when you discover them! Thank you both! Best Regards Påvel Den 2011-05-16 11:04:25 skrev 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
Re: SV: Is it possible to distribute long headings on two lines in the text but on only one in the TOC?
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 need to be changed and the book is rather long (500 pages), and manually number all headings is little too much work. The Context menu > Insert short title solution seems to work very well for my purposes. It is strange how easy solutions in LyX are when you discover them! Thank you both! Best Regards Påvel Den 2011-05-16 11:04:25 skrev 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 Short title is the solution for me too. By the way, you can use ctrl+enter to enter a linebreak in lyx (a \\ in latex). -- Julien