Please Note: This article is written for users of the following Microsoft Word versions: 97, 2000, 2002, and 2003. If you are using a later version (Word 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Word, click here: Two-Line Headings in a TOC.

Two-Line Headings in a TOC

Written by Allen Wyatt (last updated January 30, 2021)
This tip applies to Word 97, 2000, 2002, and 2003


1

Nilda generates Tables of Contents all the time in Word. She uses the Mark Entry feature to mark what should go in each Table of Contents. There are times when she may have a section title that consists of two lines separated by a hard return. When she marks the title as a single TOC entry, it doesn't appear in the generated TOC, and Nilda wonders why this is the case.

The reason is intrinsic to how Word puts together its TOCs. While a TC field (used to mark TOC entries) can presumably include a paragraph break, Word ignores everything after that break when it composes the TOC from those fields.

The solution is to get rid of the paragraph break. You have two options. First, you could edit your TC field contents so that the paragraph break is not included in the field. Second, you could actually modify your document so that the two lines of your heading are separated by a soft return (Shift+Enter) instead of a hard return (Enter).

If you choose the second route, then when Word compiles the TOC it will include the entire heading as a single entity, automatically replacing the soft return with a space.

A good place to find some great ideas on TOCs in Word is at this page, created by Word MVP Suzanne Barnhill:

http://wordfaqs.mvps.org/TOCTips.htm

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (3809) applies to Microsoft Word 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Word (Word 2007 and later) here: Two-Line Headings in a TOC.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Can't Edit Macros

Load up documents created on older versions of Word, and you may find that you can't edit the macros you are used to ...

Discover More

Creating Traditional Forms

Do you use Word to create printed forms? If so, here's some ideas and techniques you can use to make those forms look as ...

Discover More

Printing a Style Sheet

Styles are a fantastic way to format your documents easily and consistently. At some point you may want to print out a ...

Discover More

The First and Last Word on Word! Bestselling For Dummies author Dan Gookin puts his usual fun and friendly candor back to work to show you how to navigate Word 2013. Spend more time working and less time trying to figure it all out! Check out Word 2013 For Dummies today!

More WordTips (menu)

Updating an Entire TOC from a Macro

The TOC (Table of Contents) is generated by a field. This field may be updated in a macro using a single command line.

Discover More

Problems with TOC Styles

If you generate a table of contents for your document, there may be some unexpected surprises in the way the TOC appears. ...

Discover More

Page Ranges in a TOC

It is easy to generate a table of contents for a document, and that TOC can contain page number references for each ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is one less than 9?

2023-04-17 06:19:12

V

Thank you, that was very useful.


This Site

Got a version of Word that uses the menu interface (Word 97, Word 2000, Word 2002, or Word 2003)? This site is for you! If you use a later version of Word, visit our WordTips site focusing on the ribbon interface.

Videos
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.