Rules used to "auto-assign" numbers to provisions
The table below sets out how Lawmaker works out the correct number to assign to a new provision when it is inserted, pasted, or moved. This applies to all provisions when auto-renumber is switched off.
Position of inserted element in a series | Rule |
Inserting the first provision in a series/ renumbering the first provision in a series | Assign the starting ‘normal/regular’ number for the element type
NB: if the first element inserted in a quoted structure is a num element, the user will have to specify a value in the num element and this num element will automatically be locked. Users might lock additional numbers in a quoted structure e.g. if the numbered element is section-level or above (group of parts, part, chapter or section) |
Inserting at the beginning of a series (before existing numbers) | scenario 1 If the first element’s number is a ‘normal/regular’ arabic, alphabetical or roman format: Take the first element’s number and add an “A” or “a” before it (dependent on case of the first element’s num)
scenario 2 If the element's first number is a ‘normal/regular’ non-arabic format: Take the first element’s number and add a “Z” or “z” before it (dependent on case of the first element’s num)
|
Inserting at the end of the series/ renumbering sibling elements after a locked element. | scenario 1 If the value of the last element’s num in the series (or the locked element) is 'normal/regular', assign the inserted element with the next number in the sequence
scenario 2 If the value of the last element’s num in the series (or the locked element) is 'irregular/auto-assigned': if the last (set of) characters are arabic: duplicate the 'irregular/auto assigned' value but replace the arabic number(s) with the next number in the sequence if the last character is alphabetical: duplicate the 'irregular/auto assigned' value but replace the last character with the next letter of the alphabet.
scenario 3 If the last character is “Z” or “z”: duplicate the value in the last element's num (or the locked element) and add "1" at the end
scenario 4 If the value of the last element's num in the series (or the locked element) is 'Schedule': Renumber the last element's num (if it is unlocked) to 'Schedule 1'; and Assign the inserted element with 'Schedule 2'.
|
Inserting between two numbers in a series | scenario 1 If both the nums are 'normal/regular' OR if both element nums are 'irregular/auto assigned' with an equal number of characters: Take the leading element’s number and add an “A” or “a” after it (dependent on the case of the leading element’s num
scenario 2 If the leading num element is 'normal/regular' arabic format and the trailing element is 'irregular/auto assigned' and ends with a non-arabic character: Take the trailing element’s number and add a “Z” or “z” immediately before it’s last letter (dependent on the case of the leading element’s num)
scenario 3 If the trailing element’s num is a 'normal/regular' arabic format and the leading num element is 'irregular/auto assigned' and ends with an alphabetical character: Take the leading element’s number and increment the (last) letter to the next letter of the alphabet If the last letter is “Z” or “z”, duplicate the value in the leading element's num and add "1" at the end
scenario 4 If both the nums are 'irregular/auto assigned' and the leading element’s num has more characters than the trailing element’s num: take the leading element’s number and increment the (last) letter to the next letter of the alphabet with the following exception: Miss out “O” in the alphabetical sequence If the last letter is “Z” or “z”, duplicate the value in the leading element's num and add "1" at the end
scenario 5 If both the nums are 'irregular/auto assigned' and the leading element’s num has less characters than the trailing element’s num: take the second element’s number and add a “Z” or “z” immediately before the last letter (dependent on the case of the trailing element’s num)
|