|
Document 395
How to move an entry in the table of contents
Version: 3.x, 4.x, 5.x - Scientific WorkPlace & Scientific
Word
LaTeX generates the entries in a typeset table of contents from the section
headings in your document. You can force a table of contents entry to move
from the bottom of one page to the top of the next, or vice versa. Use LaTeX
commands in the body of your document to lengthen pages and create page breaks
in the table of contents.
Forcing an entry to move to the next page of the table of contents
This procedure forces a page break before a table of contents entry:
-
Compile your document to generate a table of contents.
-
Determine the table of contents entry you want to force to the next page.
-
In the body of your document, find the corresponding section heading.
-
Place the insertion point above the heading in the document.
-
Enter a TeX field.
-
In the entry area, type \addtocontents{toc}{\protect\pagebreak}.
-
Choose OK.
When you compile your document to create a new table of contents, LaTeX places
a page break before the table of contents entry for the section heading, and
forces the entry to the next page of the table of contents. The body of your
document remains unchanged.
Forcing an entry to move to the previous page of the table of contents
This procedure lengthens the page and forces a page break after a table of
contents entry.
-
Compile your document to generate a table of contents.
-
Determine the table of contents entry you want to force to the previous page.
-
In the body of your document, find the corresponding section heading.
-
Place the insertion point immediately above the heading.
-
Enter a TeX field.
-
In the entry area, type \addtocontents{toc}{\protect\enlargethispage*{1000pt}} where the actual point value depends on how
much information you're trying to fit on the page.
-
Choose OK.
-
Place the insertion point in the paragraph following the heading.
-
Enter a TeX field.
-
In the entry area, type \addtocontents{toc}{\protect\pagebreak}.
-
Choose OK.
When you compile your document to create a new table of contents, LaTeX forces
the entry for the section heading to the previous page of the table of
contents and places a page break after the entry. The body of your document
remains unchanged.
Last revised 03/03/06
This document was created with Scientific WorkPlace.
|