Hello all
I describe my problem bellow.
In a paragraph that has the “Text Body” style I want to apply some formatting to certain words (e.g. a monospace font). In order to do so, I create my character style by right-clicking the character style “Default style” and setting the desired font (only the font family and not the size; the size is left as it is). Let’s call it “Monospace Style”. Applying it to the desired words it works.
Now comes the interesting part: I want to modify the “Text Body” style and change the font size. It works very well: It changes the font size for the entire paragraph and also for the words having my just created style “Monospace Style”. This is the expected behavior. But it works only when default font size (that proposed by Writer) of the style “Monospace Style” is not modified.
Because if I change the font size for my “Monospace Style” to 80%, then the when changing the font size for “Text body” the words having the style “Monospace Style” do not change their size.
(Here is my reasoning: probably Writer computes the exact size of the font when the font size is changed. However if the font size is not changed then it is able to look at the paragraph font and apply a size provided by it.).
Is it possible to create a character style with a font size expressed in percent relative to the paragraph font? How?
Thank you.
quilx