On Friday 18 May 2007 22:17, Jeremy C. Reed wrote: > On Fri, 18 May 2007, Steve Litt wrote: > > LyX 1.4.2, Mandriva 2007 Linux. > > > > I'm wondering if any of you have solved this already. I'm using a > > derivative ofthe Book document class. > > > > In my table of contents, every section whose number ends in 2 digits > > (like 10.12), or maybe it's every section whose number is 5 chars > > including the dot, crashes into the text for that contents line. This > > happens even if the text is incredibly short. > > > > Anyone experienced this yet? Anyone solved it yet? > > I think you are talking about same problem I have had a few times. > > See the archives for Subject: "space needed in table of contents" in > January of 2006. > > > Jeremy C. Reed
Thanks Jeremy, That was exactly it. %%% PREVENT TOC NUMBERS FROM CRASHING INTO TEXT \usepackage{tocloft}% %%% Customize TOC \addtolength{\cftsecnumwidth}{1em}% %%% Make space for long numbers in toc lines \setlength{\cftbeforechapskip}{1ex}% %%% 1 ex above each chapter Your entry in the LyX Users mailing list archive is here: http://www.mail-archive.com/lyx-users@lists.lyx.org/msg44621.html WARNING! Use of package tocloft eliminates the page break before the table of contents. To get such a page break, insert ERT \newline. SteveT Steve Litt Author: Universal Troubleshooting Process books and courseware http://www.troubleshooters.com/