At 14:31 13/09/2008 -0400, David Trimboli wrote:
I want to create a character style that changes all-capital abbreviations to small capitals and apply it retroactively, after the abbreviations have already been typed in all capitals. Is there any way to do this?

Example:
   Harriet, an FBI agent, turned on CNN to get the dirt
   on the CIA before going to bed at 9:30 PM.

I want to be able to take text like the example above, select FBI, CNN, CIA, and PM, apply a character style, and see them as small capitals. Is this possible? Without retyping or replacing the abbreviations?

I think you can do this fairly easily as long as you *don't* have the initialisms in capitals to start with. If you do, it may be convenient to convert them using Find & Replace. Replace "PM" with "pm" and so on. To help find the items again later, you may want to apply an easily noticeable format - perhaps a font colour. To do this, in the Find & Replace dialogue, first press the More Options button. With the cursor in the "Replace with" box, go to Format... | Font Effects and set a suitable font colour.

Now create a character style.  Here's an easy way:
o Go to Format | Styles and Formatting (or use the Style and Formatting button in the Formatting toolbar, or press F11).
o  Press the Character Styles button.
o  Put the cursor into text with Default character formatting.
o Select the New Style from Selection button and the New Style from Selection option.
o  Give your style a name.
o  Right-click your new style in the list and select Modify... .
o  On the Font Effects tab, under Effects, select "Small capitals".
o With the new style name selected in the list, press the Fill Format Mode button. The cursor changes to a paint can.
o  Go through your text, clicking once with the paint can on each initialism.
o Press the Fill Format Mode button again (or just press Esc) to cancel this mode.

If you choose to set a font colour in the replace process, you could set it back explicitly using your character style. To achieve this, go to the Font Effects tab in the style and set "Font color" to Black (or whatever) instead of Automatic. Alternatively, it may be easier just to select all the text afterwards and set the font colour to Automatic instead.

I trust this helps.

Brian Barker


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to