Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

[Writer] Usage of "percent" character sizes, how does it work?

The "Font" tab in paragraph/character style dialog allows character sizes to be defined as a relative percentage, e.g. 80% or 150%.

It the case of paragraph styles, the typical use is to create a consistent size hierarchy among linked styles such as the Heading x family. Here, I understand that the actual size in points can be computed at style definition time from the parent style. When character size is changed in the master style, the change is cascaded in the dependent styles as expected.

The situation is not as clear for character styles.

This is my use case: I write definitions for technical keywords. The definition itself is written in the Default Style character style (i.e. not stylistic variation applied) in the Text Body paragraph. The keywords are styled Source Text so that they are displayed in a monospaced font. Since the x-height of the proportional font for ordinary text and the one of the monospaced font are not the same, visual appearance is not satisfactory. To correct this, font size in character style Source Text is adjusted to 80%. This works fine in Text Body paragraphs.

Sometimes, clarifications are given in footnotes which are obviously styled Footnote. Keywords are also styled Source Text. I expected the 80% correction factor to be applied to the current paragraph style, i.e. Footnote, so that the keyword would "integrate" smoothly in the line. Instead of that, the keyword is displayed with the same absolute size (in points) as in Text Body paragraphs. It looks like the actual size has been computed at style definition time against some (which one? Default Style?) reference.

WG40-WriterGuideLO (latest available) states on page 219 that a character-style %-size is relative to the current paragraph-style size. There is nothing about %-sizes in the on-line help.

This incorrect (in my expectation) behaviour is the same with LO 5.0, 4.4 and even 3.x.

The question is: how can I get the desired result?

If I missed something in LO configuration, please give me the clues to the appropriate parameters.