Documate is now Gavel! Read more about why we’re excited about this rebrand.

Adding Custom Numbering

You can add custom numbering within the text of your documents without using Word's form fields to have your numbers readjust.  

For example, if you have a document that has several articles, like this:

alt text here

These numbers are within the text of the document, so they are not typically updated when you delete a paragraph.  Gavel's Number Iterator function allows you to create custom numbers within text that will automatically adjust and renumber when paragraphs are removed based on conditional logic.  Like this:

alt text here
Three Options: Written Number, Ordinal Number, or Numerical

The number iterator can be a regular number (One), an ordinal (First), numeric (1), or roman numeral (I), by using the following syntax throughout your document in every place where you want the sequential number to appear:

  • A regular number (one, two, three):

{{ number_iterator() }}

  • An ordinal number (first, second, third):

{{ number_iterator_ordinal() }}

  • A numeric number (1, 2, 3):

{{ number_iterator_numeric() }}

  • A roman numeral (I, II, III):

{{ number_iterator_roman() }}

Of course, you can also use Word's functionality for all numbering and fields, but these functions may be easier for inter-paragraph numbering.  

For example, if you have several section headers like the below, if the second paragraph is removed due to conditional logic, the third paragraph will then say Section Three:

Section {{ number_iterator() }}Some Text Here

Section {{ number_iterator() }}Some Text Here

Section {{ number_iterator() }}Some Text Here