Applying "Not Bold" as character style

W

Willy

I have a paragraph style "Byline" that has Bold as part of its default
paragraph style. I'd like to create a character style called "Start byline"
that removes the bold formatting from the beginning of the byline.

Is this possible? The opposite is no problem as you can easily define a
character style that _adds_ bold to a normal style. And when I manually
change the text to normal, Word detects that it has now "Not Bold" as an
additional property.

But it seems impossible to do this in a character style, even when I try to
update the character style to the selected text.

I use Word 2007 and any tips are appreciated!

Willy
 
P

Pesach Shelnitz

Hi Willy,

When you apply a paragraph style, such as your Byline style, Word applies
the character formatting defined in the style according to the following
rules.

• If the cursor is located anywhere in the paragraph and no text is
selected, the paragraph formatting will be applied to the paragraph, the font
name defined in the style will be applied to the entire paragraph, but no
other character formatting will be applied.
• If text within the paragraph is selected, the character formatting defined
in the style will be applied only to the selected text, and the paragraph
formatting will not be applied at all.
• If the entire paragraph is selected, the paragraph formatting will be
applied to the paragraph, the font name defined in the style will be applied
to the entire paragraph, but no other character formatting will be applied
(as in the case in which no text is selected).

Thus, I think that you can achieve what you want (have the beginning of the
paragraph not bold) by selecting the part of the paragraph that you want to
be bold and then applying your Byline style. This will apply the paragraph
formatting in the Byline style to the enire paragraph, but will apply the
character formatting defined in the Byline style only to the selected text.
 
S

Stefan Blom

If a paragraph of text uses a paragraph style that is defined as bold, you
could just apply a character style that also has bold formatting; the result
will be "not bold."
 
W

Willy

Thanks Stefan, this did the job!

Willy

Stefan Blom said:
If a paragraph of text uses a paragraph style that is defined as bold, you
could just apply a character style that also has bold formatting; the result
will be "not bold."

--
Stefan Blom
Microsoft Word MVP







.
 
W

Willy

Hi Pesach,

Pesach Shelnitz said:
Thus, I think that you can achieve what you want (have the beginning of the
paragraph not bold) by selecting the part of the paragraph that you want to
be bold and then applying your Byline style. This will apply the paragraph
formatting in the Byline style to the enire paragraph, but will apply the
character formatting defined in the Byline style only to the selected text.

Sorry, this doesn't work. The character formatting is applied to the entire
paragraph. (I think the rules you describe concern linked styles, not the
regular paragraph styles.)

In the meantime I've discovered that it is actually possible to set a
character style to Not Bold from VBA. However, that makes no difference - the
selected text still stays bold.

But in any case Stefan supplied a technique that works and thanks to both of
you!

Willy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top