Skip to main content
1-Visitor
April 4, 2016
Solved

Starting a Counter from 0

  • April 4, 2016
  • 1 reply
  • 2458 views

Hi everyone,

I'm trying to adjust our counters to start from "0" instead of "1". I've set the initial value to "0" for our counters, but the numbering always starts with "1" (see attached).

How do I manipulate our counters to begin with "0"?

    Best answer by SuzanneNapoleon

    Hi Tag,

    If figure numbering should start with 0, code the usetext that outputs the counter before the enumerat that increments it.

    Good luck!

    Suzanne Napoleon

    "WYSIWYG is last-century technology!"

    1 reply

    tgalvin1-VisitorAuthor
    1-Visitor
    April 4, 2016

    For page numbering, I figured out that I could use my Page Layout Sets to setup my first page to have "Page 0" in the page.txt line in the folio. This enables the set to start with Page 0 and then use the counter to count the rest of the pages.

    As for the figure counter, I haven't had to work with this yet because our figures are going to be fixed at "Figure 1" for now.

    12-Amethyst
    April 4, 2016

    Hi Tag,

    If figure numbering should start with 0, code the usetext that outputs the counter before the enumerat that increments it.

    Good luck!

    Suzanne Napoleon

    "WYSIWYG is last-century technology!"

    tgalvin1-VisitorAuthor
    1-Visitor
    April 5, 2016

    Hi Suzanne,

    Thank you for helping me out with this. This fixed the problem perfectly!