Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Retain italics/bold/underline when applying style?
I have some text that includes basic character formatting such as italics,
bold, and underlining. When I apply a paragraph style, the italics/bold/underlining is removed. Is there any way to apply a style (which includes a font and some paragraph formatting) and to retain the italics/bold/underlining from the original text? I'm using Word 2003. Thanks. |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Retain italics/bold/underline when applying style?
P.S. What I'm seeing is a little strange. In some cases the original
character formatting (italics/bold/underline) is retained when I apply the new paragraph style, and in other cases it's not. Apparently it depends on the amount of the italics/bold/underlining in the original. If there's a lot, it's all removed when the style is applied; if there's only a little, it's retained. I'd like to retain the original italics/bold/underlining in every case. I don't want to have to carefully proofread each paragraph. Any suggestions? Thanks. "Eric" wrote: I have some text that includes basic character formatting such as italics, bold, and underlining. When I apply a paragraph style, the italics/bold/underlining is removed. Is there any way to apply a style (which includes a font and some paragraph formatting) and to retain the italics/bold/underlining from the original text? I'm using Word 2003. Thanks. |
#3
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Retain italics/bold/underline when applying style?
What you have observed is correct: If more than half the text in the
paragraph has been applied bold, italics, underline or other types of direct formatting, this formatting is overridden when you apply a style, otherwise the direct formatting is preserved. See: http://www.shaunakelly.com/word/styl...ing/index.html You could do as follows: Highlight color is not overridden when you apply a style no matter the amount of text highlighted in a paragraph. You can take advantage of this: 1. In the highlight icon, select a color that has not been used in the document. 2. In the Find and Replace dialog (Ctrl+H), make sure the €śFind what€ť and €śReplace with€ť fields are empty. 3. Click in the €śFind what€ť field and press Ctrl+B (shortcut for Bold) €“ make sure that €śFont: Bold€ť is shown as the only format below the field. 3. Click in the €śReplace with€ť field. Click the €śMore€ť button. Then select Format Highlight €“ make sure that €śFont: Highlight€ť is shown as the only format below the field. 4. Click €śReplace All€ť. Now all your bold text should be formatted with the selected highlight color (the bold formatting has not been removed). Repeat the steps above for italic and underline (first select a unique highlight color for each). Now you can reformat your document. The highlight colors will remain. When finished, use the €śFind and Replace€ť dialog box to find the highlighted text one bit at a time: You could split the replacement in two steps: If the bold, italic or underline is still there (because less than half the paragraph had direct formatting or because of a bold style), you could start searching for text that is €śFont: Bold, Highlight€ť. Replace with €śFont Bold, Not Highlight€ť (select Highlight twice to display €śNot Highlight€ť €“ first click €śNo Formatting€ť to clear all formatting if needed). Click €śReplace All€ť. Repeat for italic and underline. Now you must apply bold, italic and underline to the text that is still highlighted. In Find and Replace, you must find €śHighlight€ť format and replace with format €śFont: Bold, Not Highlight€ť. Since the dialog box does not distinguish between different highlight colors, you need to step through the highlighted pieces one by one using the €śFind Next€ť button and determine whether to replace the found formatting with bold or not. Repeat for the other two colors. Note that it would be possible to write two macros that could do all the above automatically €“ one for the preparation and one to reapply the formatting. Also note that if part of the text has e.g. both bold and italic applied, you would need more variations of the highlight colors to keep track of this. -- Regards Lene Fredborg - Microsoft MVP (Word) DocTools - Denmark www.thedoctools.com Document automation - add-ins, macros and templates for Microsoft Word "Eric" wrote: P.S. What I'm seeing is a little strange. In some cases the original character formatting (italics/bold/underline) is retained when I apply the new paragraph style, and in other cases it's not. Apparently it depends on the amount of the italics/bold/underlining in the original. If there's a lot, it's all removed when the style is applied; if there's only a little, it's retained. I'd like to retain the original italics/bold/underlining in every case. I don't want to have to carefully proofread each paragraph. Any suggestions? Thanks. "Eric" wrote: I have some text that includes basic character formatting such as italics, bold, and underlining. When I apply a paragraph style, the italics/bold/underlining is removed. Is there any way to apply a style (which includes a font and some paragraph formatting) and to retain the italics/bold/underlining from the original text? I'm using Word 2003. Thanks. |
#4
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Retain italics/bold/underline when applying style?
Hi Eric, Lene,
If it's just the problem of applying another paragraph style without touching the manual font formatting (... no matter if it's applied to more or less than half the characters), you can replace with the style you want to apply. In "Find what", you could use the paragraph mark ^p. Or if you want to replace some style throughout the document, you could use that style in "Find what". For heavy-duty clean-up tasks, I use a method similar to Lene's, but apply tags for bbold/b, iitalics/i ... instead of different highlight colors. Later, I can strip these tags out again and reapply the manual formatting with wildcard replacements (Find what: \b\(*)\/b\ Replace with: \1 [+ bold] ...). One difficulty is that it's not easy to differentiate between, say, bold that is applied manually and bold that's applied through a [paragraph/character/table] style. I use a macro that creates a new doc, in which all paragraph styles look just like the "Normal" paragraph style, and all character styles look just like the "Default Paragraph Font". If I copy/paste the text into that new document, all formatting that's done through styles disappears, and just manual formatting remains visible. Now it's much easier to clean up, and if I later copy/paste all the text back into the original document, the formatting that was done through styles reappears. Regards, Klaus "Lene Fredborg" wrote: What you have observed is correct: If more than half the text in the paragraph has been applied bold, italics, underline or other types of direct formatting, this formatting is overridden when you apply a style, otherwise the direct formatting is preserved. See: http://www.shaunakelly.com/word/styl...ing/index.html You could do as follows: Highlight color is not overridden when you apply a style no matter the amount of text highlighted in a paragraph. You can take advantage of this: 1. In the highlight icon, select a color that has not been used in the document. 2. In the Find and Replace dialog (Ctrl+H), make sure the €śFind what€ť and €śReplace with€ť fields are empty. 3. Click in the €śFind what€ť field and press Ctrl+B (shortcut for Bold) €“ make sure that €śFont: Bold€ť is shown as the only format below the field. 3. Click in the €śReplace with€ť field. Click the €śMore€ť button. Then select Format Highlight €“ make sure that €śFont: Highlight€ť is shown as the only format below the field. 4. Click €śReplace All€ť. Now all your bold text should be formatted with the selected highlight color (the bold formatting has not been removed). Repeat the steps above for italic and underline (first select a unique highlight color for each). Now you can reformat your document. The highlight colors will remain. When finished, use the €śFind and Replace€ť dialog box to find the highlighted text one bit at a time: You could split the replacement in two steps: If the bold, italic or underline is still there (because less than half the paragraph had direct formatting or because of a bold style), you could start searching for text that is €śFont: Bold, Highlight€ť. Replace with €śFont Bold, Not Highlight€ť (select Highlight twice to display €śNot Highlight€ť €“ first click €śNo Formatting€ť to clear all formatting if needed). Click €śReplace All€ť. Repeat for italic and underline. Now you must apply bold, italic and underline to the text that is still highlighted. In Find and Replace, you must find €śHighlight€ť format and replace with format €śFont: Bold, Not Highlight€ť. Since the dialog box does not distinguish between different highlight colors, you need to step through the highlighted pieces one by one using the €śFind Next€ť button and determine whether to replace the found formatting with bold or not. Repeat for the other two colors. Note that it would be possible to write two macros that could do all the above automatically €“ one for the preparation and one to reapply the formatting. Also note that if part of the text has e.g. both bold and italic applied, you would need more variations of the highlight colors to keep track of this. -- Regards Lene Fredborg - Microsoft MVP (Word) DocTools - Denmark www.thedoctools.com Document automation - add-ins, macros and templates for Microsoft Word "Eric" wrote: P.S. What I'm seeing is a little strange. In some cases the original character formatting (italics/bold/underline) is retained when I apply the new paragraph style, and in other cases it's not. Apparently it depends on the amount of the italics/bold/underlining in the original. If there's a lot, it's all removed when the style is applied; if there's only a little, it's retained. I'd like to retain the original italics/bold/underlining in every case. I don't want to have to carefully proofread each paragraph. Any suggestions? Thanks. "Eric" wrote: I have some text that includes basic character formatting such as italics, bold, and underlining. When I apply a paragraph style, the italics/bold/underlining is removed. Is there any way to apply a style (which includes a font and some paragraph formatting) and to retain the italics/bold/underlining from the original text? I'm using Word 2003. Thanks. |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
replace underline with italics | Microsoft Word Help | |||
"Applying a style turns off bold, etc." What can I do? | Microsoft Word Help | |||
Bold, Italics and Underline not turning on | Microsoft Word Help | |||
short underline for signature..press enter..get a bold underline | Microsoft Word Help | |||
font and bold, underline and italics can''t be changed on documen. | Page Layout |