This function has not been fully integrated into the long-term Mathematica system, and is subject to change.

is an option for selections that sets the value of a specified counter.


  • CounterAssignments->{{"Counter1", "m"}, {"Counter2", "n"}}} assigns the values m and n to and , respectively.
  • CounterAssignments is usually defined for particular cell styles in the stylesheet, but it can also be defined for an individual cell.
New in 4.0
New to Mathematica? Find your learning path »
Have a question? Ask support »