You can to create up to 18 levels of numbering, working with the STYLEREF and LISTNUM fields. To do this, set up the built-in Heading styles in the legal number format 1.1., 1.1.1., etc. and use them for levels 1 through 9. Beyond level 9, use the STYLEREF and LISTNUM fields side by side - the first to capture the 9 numeric values at the point of insertion, and the second to number levels 10 to 18.
{ STYLEREF 9 \S }.{ LISTNUM LegalDefault \L 1 \S 1 }
{ STYLEREF 9 \S }.{ LISTNUM LegalDefault \L 2 }
{ STYLEREF 9 \S }.{ LISTNUM LegalDefault \L 3 }
{ STYLEREF 9 \S }.{ LISTNUM LegalDefault \L 4 }
{ STYLEREF 9 \S }.{ LISTNUM LegalDefault \L 5 }
{ STYLEREF 9 \S }.{ LISTNUM LegalDefault \L 6 }
{ STYLEREF 9 \S }.{ LISTNUM LegalDefault \L 7 }
{ STYLEREF 9 \S }.{ LISTNUM LegalDefault \L 8 }
{ STYLEREF 9 \S }.{ LISTNUM LegalDefault \L 9 }
. . . gives you . . .
1.2.3.4.5.6.7.8.9.1.
1.2.3.4.5.6.7.8.9.1.1.
1.2.3.4.5.6.7.8.9.1.1.1.
1.2.3.4.5.6.7.8.9.1.1.1.1.
1.2.3.4.5.6.7.8.9.1.1.1.1.1.
1.2.3.4.5.6.7.8.9.1.1.1.1.1.1.
1.2.3.4.5.6.7.8.9.1.1.1.1.1.1.1.
1.2.3.4.5.6.7.8.9.1.1.1.1.1.1.1.1.
1.2.3.4.5.6.7.8.9.1.1.1.1.1.1.1.1.1.
. . . etc.
You have to be careful about adding the start switch \S 1 to the first level 10 field that follows a Heading 9 number because it re-starts all levels 10 and above. But that’s only the one immediately after a Heading 9; otherwise you don’t want any \S switch at all, just the level switch \L as shown above. Other than that, it’s a pretty straightforward method: Heading styles up to level 9, side-by-side fields after that. If someone absolutely insists that there be no period after the last number, you’re out of luck. The period is part of the LISTNUM LegalDefault style and cannot be removed.
Should your format call for a mix of numbering styles other than straight legal numbering, you could handle that too - by setting up a named list template with outline-numbered styles defined by you, then using that name within the LISTNUM field in place of LegalDefault. In that case, you’d never actually use the styles you create; you’d use the LISTNUM field as a substitute for them.
Setting up the 18 levels is the easy part. After that, how could anyone possibly read them?
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|