Technical Support
Forums and Mailing Lists
Search Mackichan Web

SWP & SW
Version 5/5.5

Installation
Word Processing
Computations
Typesetting
File Issues
Graphics
Exam Builder
Style Editor
Other
Free Updates
Technical Articles

Scientific Notebook
Support Information
Troubleshooting

TeXnology
BibDB
TeXnology links

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:

  1. Compile your document to generate a table of contents.

  2. Determine the table of contents entry you want to force to the next page.

  3. In the body of your document, find the corresponding section heading.

  4. Place the insertion point above the heading in the document.

  5. Enter a TeX field.

  6. In the entry area, type \addtocontents{toc}{\protect\pagebreak}.

  7. 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.

  1. Compile your document to generate a table of contents.

  2. Determine the table of contents entry you want to force to the previous page.

  3. In the body of your document, find the corresponding section heading.

  4. Place the insertion point immediately above the heading.

  5. Enter a TeX field.

  6. 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.

  7. Choose OK.

  8. Place the insertion point in the paragraph following the heading.

  9. Enter a TeX field.

  10. In the entry area, type \addtocontents{toc}{\protect\pagebreak}.

  11. 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.



MacKichan Software, Inc. 19689 7th Avenue NE, Suite 183 #238 Poulsbo, WA 98370
Phone: 360-394-6033 Toll-free: 877-724-9673 Fax: 360-394-6039

Please email comments and suggestions regarding this site to webmaster@mackichan.com.
© Copyright 1998 - MacKichan Software, Inc. All rights reserved.

 
https://www.mackichan.com/techtalk/395.htm
www.mackichan.com
crawl=CC-MAIN-2018-34
24189
application/http; msgtype=response
sha1:UXDKJXWP7Y53W3IOP6KRJZKPIOTQZG44
<urn:uuid:7d7b9735-1758-48fe-b2e3-3a05015e6797>
2018-08-18T07:13:46Z
35.163.250.118
text/html
sha1:APVA6E3UCQJAQW2GGZQ6BFO6NZ6N5M45
<urn:uuid:f3664855-570f-40c7-8ab4-7e3fa4e1cc08>
https://www.mackichan.com/techtalk/395.htm
response
<urn:uuid:f1b3297d-32e5-4788-8086-3792c084885f>
isPartOf: CC-MAIN-2018-34
publisher: Common Crawl
description: Wide crawl of the web for August 2018
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-67-244-94.ec2.internal
software: Apache Nutch 1.15 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 0.11-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: http://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/