Discussion:
How to inherit a font from another style?
(too old to reply)
Michael Moser
2004-02-27 15:12:26 UTC
Permalink
Hi all,
I am trying to make my styles a bit more "systematic" so I can easier
apply global changes that then automagically change the entire
document's look. I am e.g. trying to make all "Heading <n>" styles to
inherit from a common ancestor "Heading", the idea being, that I could
then e.g. change the font type (e.g. Arial => Times) just in one style
"Heading" and that effect would then ripple through to all "Heading
<n>" and then ALL headings would use that new font.

But alas, some of the styles in the style I am tweaking have already
defined their own fonts and thus don't adopt the change of the
ancestor. But in the font configuration dialog one can not leave the
font field empty. So, how do I get rid of a style's font setting such
that it inherits the font type but e.g. just changes the size and
maybe some attribute (e.g. bold/italic)?

Ideally, one would of course also be able to change the font size in a
relative manner (i.e. "<based on style size>-2" instead of giving an
absolute size). Is that possible?

Michael
Margaret Aldis
2004-02-27 15:29:15 UTC
Permalink
Hi Michael

Yes, Word is several options short of a stylesheet here, IMO.

However, you can get rid of a style's own font settings by first changing
them to match the parent style (this wipes the '+' settings), and then
modifying again with any changes you want to apply.
--
Margaret Aldis - Microsoft Word MVP
Syntagma partnership site: http://www.syntagma.co.uk
Word MVP FAQ site: http://www.word.mvps.org
Post by Michael Moser
Hi all,
I am trying to make my styles a bit more "systematic" so I can easier
apply global changes that then automagically change the entire
document's look. I am e.g. trying to make all "Heading <n>" styles to
inherit from a common ancestor "Heading", the idea being, that I could
then e.g. change the font type (e.g. Arial => Times) just in one style
"Heading" and that effect would then ripple through to all "Heading
<n>" and then ALL headings would use that new font.
But alas, some of the styles in the style I am tweaking have already
defined their own fonts and thus don't adopt the change of the
ancestor. But in the font configuration dialog one can not leave the
font field empty. So, how do I get rid of a style's font setting such
that it inherits the font type but e.g. just changes the size and
maybe some attribute (e.g. bold/italic)?
Ideally, one would of course also be able to change the font size in a
relative manner (i.e. "<based on style size>-2" instead of giving an
absolute size). Is that possible?
Michael
Michael Moser
2004-03-01 12:05:13 UTC
Permalink
Ah - it does that "automagically" when the "derived" style has the
same attribute as its "ancestor". That's so simple, that I didn't
think about it... :-)

But that means: if I happen to set the ancestor temporarily to match
some attributes of any "derived" style(s) and later to something else
then - as a "sideeffect" - the derived styles might loose some of its
settings. That's truely ingeniuos! ||-(

Michael
Post by Margaret Aldis
Hi Michael
Yes, Word is several options short of a stylesheet here, IMO.
However, you can get rid of a style's own font settings by first changing
them to match the parent style (this wipes the '+' settings), and then
modifying again with any changes you want to apply.
--
Margaret Aldis - Microsoft Word MVP
Syntagma partnership site: http://www.syntagma.co.uk
Word MVP FAQ site: http://www.word.mvps.org
Post by Michael Moser
Hi all,
I am trying to make my styles a bit more "systematic" so I can easier
apply global changes that then automagically change the entire
document's look. I am e.g. trying to make all "Heading <n>" styles to
inherit from a common ancestor "Heading", the idea being, that I could
then e.g. change the font type (e.g. Arial => Times) just in one style
"Heading" and that effect would then ripple through to all
"Heading
Post by Margaret Aldis
Post by Michael Moser
<n>" and then ALL headings would use that new font.
But alas, some of the styles in the style I am tweaking have
already
Post by Margaret Aldis
Post by Michael Moser
defined their own fonts and thus don't adopt the change of the
ancestor. But in the font configuration dialog one can not leave the
font field empty. So, how do I get rid of a style's font setting such
that it inherits the font type but e.g. just changes the size and
maybe some attribute (e.g. bold/italic)?
Ideally, one would of course also be able to change the font size in a
relative manner (i.e. "<based on style size>-2" instead of giving an
absolute size). Is that possible?
Michael
Margaret Aldis
2004-03-01 14:28:15 UTC
Permalink
Post by Michael Moser
But that means: if I happen to set the ancestor temporarily to match
some attributes of any "derived" style(s) and later to something else
then - as a "sideeffect" - the derived styles might loose some of its
settings. That's truely ingeniuos! ||-(
You got it. Actually, I'm fairly sure at one time long ago the reverse was
true - the '+ ' formatting would disappear on the description, but remained
hard-wired under the surface so you could no longer cascade. The current
behaviour is marginally more usable, but it means you need to be careful to
have a separate 'body base' and 'head base' if you want the option of
sometimes using the same and sometimes different fonts.

As I said, MS miss a stylesheet trick here - there should be a specific
setting (FrameMaker calls it 'As Is') to show derivation, as opposed to
accidental matching.
--
Margaret Aldis - Microsoft Word MVP
Syntagma partnership site: http://www.syntagma.co.uk
Word MVP FAQ site: http://www.word.mvps.org
j***@gmail.com
2018-07-04 20:34:33 UTC
Permalink
2018 Update: On Word 2016 for Mac, this method still works for defining a style without specifying a font and allowing the font to be inherited via whatever magical mechanisms that exist!
Charles K. Kenyon
2018-07-09 17:56:16 UTC
Permalink
Post by j***@gmail.com
2018 Update: On Word 2016 for Mac, this method still works for definin
a style without specifying a font and allowing the font to be inherite
via whatever magical mechanisms that exist!
I am unsure whether you have a question.

To have a style inherit the font setting from another style, base th
style on the other style and don't change the style. I would start it b
having the cursor in the base style.

http://www.addbalance.com/usersguide/styles.ht


--
Charles K. Kenyon

Continue reading on narkive:
Loading...