match up heading and paragraph numbering

G

Guest

I have a problem. I am creating a document with a TOC and lots of numbering something like this:

1. Heading 1
1.1 sub heading
1.1.1 paragraph 1
1.1.2 paragraph 2

2. Heading 2
2.1 paragraph 1
2.2 paragraph 2

I have managed to number the headings properly, but am having troubles numbering the paragraphs as (see above), sometimes there is only 1 heading above and sometimes a heading and a sub-heading. I don't want the paragraph bits on the TOC so I need two level 2's - 1 for subheading, 1 for paragraph...
Can anybody help (I'm not sure I'm even making sense to myself!)
 
S

Stefan Blom

You can use the LISTNUM field to accomplish this type of numbering.
First, use the Modify Style dialog box to remove numbering from the
built-in heading styles. Then insert a LISTNUM field at the beginning
of each paragraph (heading as well as non-heading) that should be
numbered.

In order to insert a LISTNUM field in a document, do the following:
Place the cursor in the desired location, and then press CTRL+F9,
which causes Word to insert field delimiters, {}. Within these
delimiters, type LISTNUM LegalDefault (the name is valid for English
Word versions, only). In other words, you have the following:

{ LISTNUM LegalDefault }

Press F9 to display the result of the field.

You can repeat the above procedure in order to insert additional
fields. Alternatively, you can copy an existing field to multiple
locations.

The field should automatically show the correct level, that is,
Heading 1 style paragraphs should be numbered 1., 2., 3., etc.,
Heading 2 paragraphs should be numbered 1.1., 1.2., etc. And
non-headings should number at a level deeper than that of the previous
heading. Note that this doesn't always work; for example, in table
cells numbering seems to be sequential rather than hierarchical,
regardless of which style is applied.

Fortunately, you can explicitly specify which numbering level should
be used for a LISTNUM field either by adding \l n (where "l" is a
lowercase "L", and n is a digit between 1 and 9, inclusive) to the
field code, or by displaying the context menu for a field (if your
mouse is setup for right-handed users, this means right-clicking) and
selecting "Increase Indent" or "Decrease Indent" (whatever is
appropriate).

Example:

{ LISTNUM LegalDefault \l 1 } Heading 1
{ LISTNUM LegalDefault \l 2 } Body Text (or any style other than the
built-in headings)
{ LISTNUM LegalDefault \l 2 } Heading 2

would produce the following numbering:

1. Heading 1
1.1. Body Text
1.2. Heading 2

Note that if you want to specify a starting number for a LISTNUM list
you can do this by adding the \s switch to the field code.

You can press ALT+F9 to toggle between showing field codes and field
results for all fields. SHIFT+F9 does the same for the field at the
insertion point.

--
Stefan Blom


Jiffy said:
I have a problem. I am creating a document with a TOC and lots of numbering something like this:

1. Heading 1
1.1 sub heading
1.1.1 paragraph 1
1.1.2 paragraph 2

2. Heading 2
2.1 paragraph 1
2.2 paragraph 2

I have managed to number the headings properly, but am having
troubles numbering the paragraphs as (see above), sometimes there is
only 1 heading above and sometimes a heading and a sub-heading. I
don't want the paragraph bits on the TOC so I need two level 2's - 1
for subheading, 1 for paragraph...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top