Please Note: This article is written for users of the following Microsoft Word versions: 2007, 2010, 2013, 2016, 2019, Word in Microsoft 365, and 2021. If you are using an earlier version (Word 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Word, click here: Two-Line Headings in a TOC.

Two-Line Headings in a TOC

Written by Allen Wyatt (last updated January 8, 2022)
This tip applies to Word 2007, 2010, 2013, 2016, 2019, Word in Microsoft 365, and 2021


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 (13231) applies to Microsoft Word 2007, 2010, 2013, 2016, 2019, Word in Microsoft 365, and 2021. You can find a version of this tip for the older menu interface of Word 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

Putting an X in a Clicked Cell

Need to click on a cell and have it replaced with an "X"? Macros make it easy to do, as illustrated in this tip.

Discover More

Automatic Row Height for Wrapped Text

When you format a cell so that the information within it can wrap to multiple lines, you may be surprised if Excel ...

Discover More

Restarting Caption Numbers for a Section

Word can easily handle captioning common items, such as figures. What if you want to restart the numbering of those ...

Discover More

Do More in Less Time! Are you ready to harness the full power of Word 2013 to create professional documents? In this comprehensive guide you'll learn the skills and techniques for efficiently building the documents you need for your professional and your personal life. Check out Word 2013 In Depth today!

More WordTips (ribbon)

Adding Headers or Footers to a TOC

Word is very flexible in allowing you to include all sorts of information in a table of contents. This includes ...

Discover More

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

Creating a Table of Contents from Heading Levels

If your document is any length at all, adding a table of contents is a nice touch. This tip demonstrates how easy it is ...

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 four minus 0?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


This Site

Got a version of Word that uses the ribbon interface (Word 2007 or later)? This site is for you! If you use an earlier version of Word, visit our WordTips site focusing on the menu 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.