Ask Your Question

How do list styles work and what is their relation to paragraph styles?

asked 2020-01-17 19:26:32 +0100

Lizat gravatar image

At the risk of being told the read the documentation again - I have and can't quite find the answer - I would like to understand this.

I should explain I am coming from a Word background where this is managed differently. So my Word templates had styles that defined both the paragraph characteristics and the bullet, or numbering, and it's spacing. It seems Writer has a different approach and possibly it is that one applies a paragraph style and then a list style - is that right?

I couldn't find any good explanation of this if anyone does have a refernce to one I'd be greatful.

Thank you

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted

answered 2020-01-18 08:55:16 +0100

ajlittoz gravatar image

Formatting custom lists is the most difficult exercise in Writer. A list item is defined as a paragraph associated with a sequence counter.

As a paragraph, the item is formatted with a paragraph style, nearly as usual. The "nearly" means you must not set the indents in the paragraph style, even the right indent (the right paragraph "margin").

The sequence counter is defined by a so-called list style. Several are provided off-the-shelf (numeric, Roman numeric, alphabetic, etc.). The sequence may be reduced to a set of bullets (no incrementation) but is usually incrementting (numeric or alphabetic). The counter is also multi-level, e.g. 1. 2. 3. at first level and 1.1. 1.2. 2.1. 3.1. 3.2. 3.3. at second level, etc. up to level 10. The list style formatting properties take care of the sequence number/bullet layout and appearance and take over the paragraph left indent. A strange limitation prevents you from changing the right indent (fixed at 0 otherwise you get a real mess).

A fully customised list is then formatted by a paragraph style which has been associated with a list style in the Outline & Numbering attributes. You only need to restart numbering when you begin another list instance. This is the most automatic usage of the feature.

A lighter but more manual method is also possible, but I don't recommend it in a complex and elaborate document maintained over versions and years because you have less specific control over your text.

Any existing paragraph can be converted into a list item without styling it with a dedicated style. You just apply the list attribute with a tool bar button. You retain the base formatting of the paragraph and you add numbering or bullet with the button. The applied list style is the default one which you can customise with Format>Bullets & Numbering. Beware! Modifications will apply to all items formatted like this while you probably needed several different lists.

This method is akin to direct formatting, i.e. formatting without styles, directly from buttons or keyboard shortcuts, which causes insurmountable problems in the long run. It may be acceptable for short one-shot documents but must absolutely be avoided for maintained documents.

From the description above, you can deduce that a list "identity" is defined by the list style. You can of course insert sequentially several distinct occurrences pertaining to the same list (e.g. 1 2 3 then after restarting the counter 1 2). The same counter may be associated with several paragraph styles if you need formatting variants (an example of this is the Heading n family where the various levels have different font sizes -- but Heading n is very special since Writer automatically sets the list level according to the Heading n name).

As long as you don't need two similar independent sequences simultaneously (interleaved or nested lists), the built-in list styles suffice. Otherwise you must "duplicate" the counter and allocate each paragraph style ... (more)

edit flag offensive delete link more


very helpful, thank you!

Lizat gravatar imageLizat ( 2020-01-21 19:03:11 +0100 )edit

answered 2020-01-17 19:31:37 +0100

Lizat gravatar image

Ok found it I think...

I can create a paragraph style for my lists and in the Outline and Numbering tab I specify a previously defind numbering style.

edit flag offensive delete link more


but I notice that the style is categorised as conditional and has the Condition tab added, what have I done to cause this?

Lizat gravatar imageLizat ( 2020-01-17 19:32:39 +0100 )edit

Right. Or you may use list styles independently of paragraph styles - on your discretion.

Mike Kaganski gravatar imageMike Kaganski ( 2020-01-17 19:33:06 +0100 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2020-01-17 19:26:32 +0100

Seen: 55 times

Last updated: Jan 18