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: Creating an Inline Heading.

Creating an Inline Heading

Written by Allen Wyatt (last updated December 22, 2018)
This tip applies to Word 97, 2000, 2002, and 2003


2

Pete notes that APA style defines a level-three heading as being indented in italic on the same line as the first sentence in the paragraph. ("APA style" means the style guide devised and published by the American Psychological Association. You can find more information at http://www.apastyle.org.) Pete's question is how to define an inline heading style that will appear properly in the Table of Contents without including the rest of the paragraph in the TOC.

There are two common ways of approaching this problem. First, you can simply create your level-three heading and body text as you normally would, each in their own paragraph. Then, select the paragraph mark at the end of the heading (you may need to configure Word to display paragraph marks) and format the paragraph mark as hidden text. As long as your copy of Word is not configured to print hidden text, your heading will appear inline with your body text, and the TOC will appear just as you expect.

The second option is to use what is called a "style separator." This feature was added beginning with Word 2002. It basically allows a selection of text to have a paragraph style applied to it. The easiest way to use this type of formatting is to type your heading text followed by your body text, in a single paragraph. Make sure the entire paragraph is formatted as body text, then select just the text that will comprise the heading. Apply the level-three heading style to this selected text. The selected text now has your heading formatting and the rest of the paragraph is formatted as body text.

When you format in this manner, Word generates the proper TOC, as you would expect. What it doesn't do well is apply any paragraph features that are different than the paragraph features in your body text format. So, for instance, if your level-three heading is formatted to include a half-inch indent from the left margin, that indent will not be applied to the selected text. Instead, the paragraph attributes of the body text format will be used.

Word also includes an internal command called InsertStyleSeparator, which can be added to a toolbar. This tool allows you to "separate" text so that two paragraph styles are applied to what appears to be a single paragraph. In reality this tool does nothing more than what has already been described. The command is described in this Knowledge Base article:

https://support.microsoft.com/kb/285059

Basically you format your heading using your level-three heading style, use the InsertStyleSeparator command to indicate you want to start a new style, type the rest of the paragraph, and apply the body text style to the rest of the paragraph. The inserted "style separator" keeps the application of the body text style from affecting the application of the heading style before the separator.

For a great write-up of different ways you can set up inline headings, see this page by Word MVP Suzanne Barnhill:

http://wordfaqs.mvps.org/RunInSidehead.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 (3855) 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: Creating an Inline Heading.

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

Creating an AutoText List

The AUTOTEXTLIST field is one of those esoteric fields that you may know nothing about. The cool thing it does is allow ...

Discover More

Checking for Duplicate Rows Based on a Range of Columns

When working with data in Excel, you might want to figure out which rows of data represent duplicates of other rows. If ...

Discover More

Selective Undo

Ever wonder why you can't undo just a single edit you made a few minutes earlier? The short answer is that it could make ...

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)

Changing AutoFormatting Rules

The AutoFormat feature of Word can be configured to make changes to a variety of conditions in your document. Here's how ...

Discover More

Absolutely Getting Rid of Formatting

Need to get rid of the formatting applied to a bunch of text? One of the easiest ways to do this is to use Notepad in ...

Discover More

Copying Formats

Want to copy a format from one place to another without taking your hands off the keyboard? It's easy to do if you apply ...

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 2 + 8?

2019-11-20 19:36:32

Fly

Hello
I am really struggling with this as I'm using APA6th in my thesis. There is no Insertsyleseparator option on my version of word so I am using alt-ctrl-enter. I put this after the level 3 heading hoping the body of the following paragraph (normal style) will move back in line with it. It does but it also moves the entire paragraph to the next page leaving a huge gap on the previous page. Somewhere else online someone said this is to do with the Keep in line or with next formatting but I've experimented with using/changing these and neither fixes the issue.
I would try the first option but you say to select the paragraph mark and hide it. I can't select the paragraph mark it simply does not grey out so I'm stuck.
Can you help at all?


2019-01-04 17:24:06

Kirsty

I cannot thank you enough for your article.

I have struggled with this problem for over a year, and it's given me nightmares while trying to finish my table of contents.

I tried option 1 (seperating the paragraphs, applying the format, and then hiding the paragraph) marks and it worked.

I have been so incredibly frustrated with this problem for so long, and finally, I have a solution. Thank you!


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.