##### 30.11.3.2 Inserting spaces between first-line list autonumber and text

You can use macros to insert fixed spaces after the autonumber or bullet to get the first text line to align with subsequent lines. This is not a precise method, because you can adjust space only in nbsp-width increments.

To add fixed spaces after an autonumber or bullet:

[HTMLParaStyles]
; Paragraph format = keywords for functions and properties
ListFormat = CodeAfterAnum

[AnumCodeAfter]
; doc style = HTML code to use after end of autonumber sequence
ListFormat = &nbsp;&nbsp;&nbsp;

You have to determine the proper number of spaces by trial and error. And sadly, it will be different when you get to double digits in numbered lists: then you must reduce the number of nbsps by one. You could maintain a macro-variable counter (see §37.3 Using macro variables), but synchronizing the count with the numbering would be challenging.

Previous Topic: 30.11.3.1 Adjusting the second-line list indent in CSS

Next Topic: 30.11.4 Converting list formats to HTML/XML paragraphs

Parent Topic: 30.11.3 Indenting list items

Sibling Topics:

30.11.3.1 Adjusting the second-line list indent in CSS

Table of Contents • Index