2009/2/16 Gary Schnabl <[email protected]>

> Three changes were made to the chapter template:
> (1) The tiny 2-pt vertical imbalance in vertical spacing in the
> OOoTableText paragraph style was fixed.
> (2) The OOoHeading paragraph style now inherits from Default instead of
> from OOoTextBody. The OOoTextBody paragraph style now also inherits from
> Default. This change was made to allow leading changes in OOoTextBody to not
> adversely affect the OOoHeading style, as before.
> (3) The chapter's typeface is now introduced by the Default paragraph
> style, instead of OOoTextBody. Minor changes made to Default: language, text
> flow, vertical space below.
>
> In case anything is broken, the former template will stick around for a
> while...
>
> No editing changes yet made to its exposition.
>
> Gary
> --
>
> Gary Schnabl
> 2775 Honorah
> Detroit MI 48209
>
> Hello Gary,

Thanks for the update.
There is still something I do not understand on point 2: what is the benefit
in linking the OOoTextBody and OOoHeading styles to the default style rather
than making them two separate top-level styles?

Also, I have noticed a problem with the size of the headings (partly my
fault).

All the OOoHeading X styles are children of OOoHeading and their size was
calculated according to this table:
OOoHeading 1: 100% of OOoHeading (21pt)
OOoHeading 2: 85% of OOoHeading (17.85pt)
OOoHeading3: 75% of OOoHeading (15.75pt)
OOoHeading4: Fixed at 14pt (should have been 67%, but since we hardly ever
use Heading 4 I just ignored it).

Now, in the old template the size of OOoHeading was linked to OOoTextBody
and in particular it was 150% (that is 21pt since OOoTextBody was set to
size 14pt), however now the size of OOoHeading is linked to the size of the
default paragraph, so instead of 21 it is 18 making all the headings
smaller.

The problems in the new template are:
1. OOoHeading is 150% of Default (that is 150% of 12pt = 18pt) . As a
consequence OOoHeadings 1, 2 and 3 are smaller than what they should be
2. the size of OOoHeading 1, rather than 100% of OOoHeading is fixed to 21.
3. The size of OOoHeading4 is fixed to 14

The simple solution is to set the size of OOoHeading to 21 rather than a
percentage of default and correct then the sizes of OOoHeading 1 (100%) and
OOoHeading 4 (67%).

If you want I can make these changes very quickly and upload a revised
version.

Regards,

Michele

Then OOoHeading 1 for some reason has been changed to a fixed size of 21 pt.
OOoHeading 2 is still 85%

The descendants of OOoHeading had the following size
In the old template the size was calculated on the basis of OOoTextBody,
which was on turn set to 14pt.

Reply via email to