Word.Tips.Net Welcome toWord.Tips.Net

Helpful Links

Tips.Net Home
WordTips Home

Ask a Word Question
Make a Comment

Tips.Net Store

WordTips FAQ
WordTips Premium

Learn Access Now
Free Printable Forms

Beauty Tips
Car Tips
Cleaning Tips
College Tips
Cooking Tips
Excel2007 Tips
ExcelTips
Family Tips
Gardening Tips
Health Tips
Home Tips
Legal Tips
Money Tips
Organizing Tips
Pest Tips
Pet Tips
Wedding Tips
Word2007 Tips
WordTips

Advertise on the
WordTips Site

Newest Tips

Printing On Both Sides of the Paper

Turning Off AutoComplete for Dates

Ordering Search and Replace

Understanding Auto Line Spacing

Adding Comments to Your Document

Conditional Calculations in Word

Determining Word Frequency

 

Creating an Inline Heading

Summary: When settling on an overall design for your document, you need to decide how you want your headings to appear. If you want one of your heading levels to actually be "inline" with the paragraph it precedes, applying the styles and not messing up your Table of Contents can be tricky. (This tip works with Microsoft Word 97, Word 2000, Word 2002, Word 2003, and Word 2007.)

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 or to the Quick Access toolbar (in Word 2007). 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 Kowledge Base article:

http://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.

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

http://sbarnhill.mvps.org/WordFAQs/RunInSidehead.htm

Tip #3855 applies to Microsoft Word versions: 97 | 2000 | 2002 | 2003 | 2007

Find and Replace Almost Anything! An invaluable resource for learning how to harness the full power of Word's search and replace capabilities. You'll discover everything you need in order to master all the intricacies of finding and replacing elements of your document, including the super-powerful "wildcard searches" available in Word.
 
Check out WordTips: Find and Replace today!