On Sat, 19 Feb 2005, samar j. singh wrote:
Not quite sure what you mean by manipulating page layout, but if you want to add to a particular entry in the toc, you can go as follows for instance where all the stuff in the last set of curly braces will be added to your table of contents. There is a historical tendency to have such tables of contents in philosophical works.
Samar,
What I meant is a way to eliminate a single ToC entry on a page by itself; the last page.
\addcontentsline{toc}{section}{Adding your own text to Table of Contents - Normal method of generating Table of Contents - Doing a bit more work to insert extra text - Similarity with other structures such as chapters}
What I thought would be appropriate is the command, \enhancethispage*{pt}, on the next-to-last page of the ToC. This would both increase the textheight by the number of points in the braces and very slightly decrease the interline spacing. By adjusting the points value I was hoping to create just enough room on the previous page for that last entry.
Understandably this would have to go in as an ERT directly after the particular section (in this case) entry that you would want to modify.
This would need to be within the ToC itself. In LyX there's only the grey box showing.
The other way is to edit the toc file. I am not sure you can do that while using lyx but I believe I have done that in my latex days.
I thought about adding the \enhancethispage command in there, but did not try it.
Thanks,
Rich
-- Dr. Richard B. Shepard, President Applied Ecosystem Services, Inc. (TM) <http://www.appl-ecosys.com> Voice: 503-667-4517 Fax: 503-667-8863