Please Note: This article is written for users of the following Microsoft Word versions: 2007, 2010, 2013, 2016, 2019, and Word in Microsoft 365. 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: Creating an Inline Heading.

Creating an Inline Heading

Written by Allen Wyatt (last updated February 12, 2024)
This tip applies to Word 2007, 2010, 2013, 2016, 2019, and Word in Microsoft 365


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 three 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." 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. 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 the Quick Access 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/?kbid=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.

The third way is to use TC fields to display the text for the inline heading. For a good write-up of this method and the other different methods you can use to set up inline headings, see this page by Word MVP Suzanne Barnhill:

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

Printing and Exiting Word in a Macro

When you print a document, Word remains busy in the background until the printing is done. If you try to end the program ...

Discover More

Using Multiple Print Settings

Do you have a worksheet from which you need to print only portions of the data available? There are two ways you can ...

Discover More

Turning Off Window Drop-Shadows

Windows adds its own bells and whistles to what you see on your desktop. One of those flourishes is a drop-shadow added ...

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 (ribbon)

Getting the Expected Space Before a Heading

If your heading styles are designed to add extra space before the heading, you may be surprised when that extra space is ...

Discover More

Sharing Headings with Others

Headings form the outline of your document and hopefully give it an easy-to-follow organization. If you want to share ...

Discover More

Formatting All Headings At Once

If you need to apply a common formatting change to all the headings in your document, a quick way to do it is to use the ...

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 7 + 0?

2023-05-02 23:00:06

Lisa

I am using MSWord 365 on a Mac, so is this why neither of these methods work, or is there another explanation or method to try?

1: "... format the paragraph mark as hidden text."
This option seems to do nothing. It remains as the style dictates and doesn't make the heading fall into the body text paragraph below it. This option would be my choice since I am formatting a book of over 200 pages and need the TOC function to work seamlessly, as well as needing the styles to automatically update to the inline heading format.

2: "The second option is to use what is called a "style separator." 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."

his does not work either. Instead, as soon as you highlight the text and call it a different style, it changes the entire paragraph to that style.

Is this issue unique to mac users?


2020-04-04 05:26:11

Michael Hoffman

This should read APA level 4. Level 3, text starts new paragraph.
See, https://apastyle.apa.org/style-grammar-guidelines/paper-format/headings


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.