\refstepcounter

\refstepcounter{counter}

The \refstepcounter command works like \stepcounter See section \stepcounter, except it also defines the current \ref value to be the result of \thecounter.

-->LaTeX index