Defining your own numbering sequences
You may want to define your own numbering sequences to use in situations where you do not always want the number at the start of the paragraph or where you want more control than the built-in numbering choices give you.
This topic describes how to create and use a numbering sequence, using a “number range variable” field.
Create a number range variable
To create a number range variable using Arabic (1, 2, 3) numbers:
- Place the insertion point in a blank paragraph in your document.
- Click Insert > Fields > Other and select the Variables tab.
- In the Type list, select Number range. In the Format list, select Arabic (1 2 3). Type whatever you want in the Name field. (I have used Step in this example.)
- Click Insert. The name of the variable (Step) now appears in the Selection list, and a number field (showing 1) appears at the insertion point in your document. The Fields dialog box remains open, so you may need to move it out of the way to see the field in the document.
- Hover the mouse pointer over this number field and you will see the field code of Step = Step+1. If you click several more times on the Insert button in the Fields dialog box, the numbers 2, 3, 4, and so on will appear in the document.
- Now you may want to create another field to restart the Step sequence at 1, so you can use the same sequence name more than once in your document (for example, to begin each set of instructions).
- To create this new field, open the Fields dialog box to the Variables tab. Make sure the variable name Step appears in the Name box. In the Value box, type Step=1, as shown below. Click Insert. Now hover the mouse pointer over the new field in your document and you will see the field code of Step = Step=1.
Use AutoText to insert a number range field
You certainly do not want to go through all of that every time you want to put in a step number. Instead, create two AutoText entries, one for the Step = Step=1 field (call it Step1, for example) and one for the Step = Step+1 field (StepNext). See Using AutoText to insert often-used fields.
You can create similar fields for substeps or other sequences that you want to be numbered with letters (a, b, c), Roman numerals (i, ii, iii), or some other sequence. In the Fields dialog box, choose the required format in the Format list when creating the field codes.
Tip: If a user-defined variable is not in use in the document, the icon next to the Value box is active. You can delete the variable by clicking this icon. To remove a variable that is used in the current document, first delete from the document all fields using that variable, and then remove the variable from the list.
|Content on this page is licensed under the Creative Common Attribution 3.0 license (CC-BY).