Basic concepts
Styles
Tips for understanding styles in Microsoft Word
Why I don't use Custom Table Styles
Layout
Keep a figure on the same page as its caption
Is your image slipping? How to get your images to stand still
Formatting
How the Styles and Formatting Pane works
Why does text change format when I copy it into another document?
Letters are missing in my watermark when I print
How to tell Word to use Australian English or other non-US form of English
Numbering, bullets, headings, outlines
Number headings and figures in Appendixes
Why use Word's built-in heading styles?
Templates
Relationship between documents and templates
Attaching a template to a document
Word and Excel
How to copy a chart from Excel into a Word document
Insert an Excel chart or worksheet into a landscape page
How to create a hyperlink from a Word document to an Excel workbook
Sharing documents
What happens when I send my document to someone else?
How to use the Reviewing Toolbar in Microsoft Word 2002 and Word 2003
Control how a Word document opens from the internet or an intranet
Tools
Resources
Getting help, asking questions
Home
Quick Reference: Styles and direct formatting
If you apply a style to a paragraph, and less than half the text in the paragraph has direct formatting, then Word retains the direct formatting.
If you apply a style to a paragraph, and more than half the text in the paragraph has direct formatting, then the style overrides the direct formatting.
If you apply a style to a paragraph, and less than half the text in the paragraph has direct formatting, then Word retains the direct formatting.
If you apply a style to a paragraph, and more than half the text in the paragraph has direct formatting, then the style overrides the direct formatting.
All text in Word is formatted according to the style that has been applied to the text.
The fundamental unit of a Word document is a paragraph, and so paragraph styles are the most important styles.
Figure 1: The paragraph style applied to this text has the font defined as Times New Roman, 11pt, not bold and not italics. The words "King Lear" have direct italic formatting applied.
Every paragraph has a paragraph style attached to it, whether you like it or not.
A paragraph style not only stores instructions about paragraphs (indents, line spacing etc). It also stores instructions about font formatting (bold, italics, colour, superscript etc).
On top of the paragraph style, you can apply additional formatting, like bold or italics or pink or small caps to the words that need them (Figure 1).
The general rule is that if you apply a paragraph style to a paragraph then direct formatting (like italic) will be retained where it covers less than half the text in the paragraph, and rejected when it covers more than half (Figures 2 and 3).
This is quite sensible.
If, for example, I had a paragraph in style Heading 1 and the text was "The sinking of the Titanic" and I applied Heading 2 to that paragraph, then you'd expect the Titanic to retain its italics.
If, however, the whole paragraph had been formatted green over the top of Heading 1, and I applied Heading 2, then I'd expect Heading 2 to be applied and the green to disappear.
Figure 2: When a paragraph style is applied to a paragraph and less than half the text has direct formatting, the direct formatting is retained.
Figure 3: When a paragraph style is applied to a paragraph and more than half the text has direct formatting, the direct formatting is lost.
The issue arises, however, as to whether you're applying the paragraph style to a paragraph. In Word 2002 and Word 2003, if you either (a) just click in the paragraph and select nothing or (b) select the whole paragraph including the paragraph marker or (c) select text that spans more than one paragraph, and then apply a paragraph style, then Word applies the paragraph style to the whole paragraph(s).
If you have actually selected some text, then the paragraph style will be applied (well, its font characteristics will be applied) only to the selected characters.
VBA is more forgiving. If you apply a paragraph style to a range using the .Style property of a .Range object, then the style is applied to the paragraph(s). That is, it works like Word pre-2002.