# Cohesive numbering through a document

Ok - I would have thought this would be simple - but I'm obviously missing something.

I'm trying to set up a document/template/style as follows:

1. Heading
1.1. paragraph of text.....
1.2. paragraph of text...
2.1.1. paragraph of text.....


But each time I get tied up in knots....
I can't seem to link the numbering of the paragraphs of text to follow the heading numbers.
Any pointers out there on how I can achieve this?

edit retag close merge delete

naturally, I could do this manually, but I have several documents of 20 pages plus to put together, so it makes absolute sense to put a Template together, with an appropriate Style.

( 2018-04-25 12:52:10 +0200 )edit

Sort by » oldest newest most voted

Intrinsically there no such thing as a heading in LO Writer. What I mean is "heading" makes sense only for you as a writer, where you usually think of a "heading" as a very short paragraph delimiting some break in the discourse.

In LO Writer, some paragraphs are specifically marked up to optionally receive a generated number and also to be entered into the TOC. This is done with the Heading x paragraph style family. Consequently, you can mark up text paragraphs also with Heading x.

However, "heading" semantics is usually associated with some outstanding formatting, such as larger font size, bold or small capitals, and I assume that you don't desire such formatting for your text paragraph. Unfortunately, it is not possible to have two series of "heading" styles intermixed in your expected way (albeit it is possible to have several series provided they are consecutive, like NUMERIC chapter numbering followed by alphabetical annex numbering).

The work around is to superimpose a character style over the paragraph: define such a character style to have the same font attributes (size, weight, slant) as Text Body. Select the whole to-be-numbered paragraph, apply the character style. Then re-apply the ad-hoc character styles where you want emphasis or other stylistic variations.

Now a problem remains in case you don't want your not-"heading" numbered paragraphs to be entered in the TOC. I have no obvious solution for this case.

If this answer helped you, please accept it by clicking the check mark ✔ to the left and, karma permitting, upvote it. If this resolves your problem, close the question, that will help other people with the same question.

more

## Stats

Seen: 115 times

Last updated: Apr 25 '18