# refcount – Counter operations with label references

Provides commands \setcounterref and \addtocounterref which use the section (or whatever) number from the reference as the value to put into the counter, as in:

      ...\label{sec:foo}
...
\setcounterref{foonum}{sec:foo}

Commands \setcounterpageref and \addtocounterpageref do the corresponding thing with the page reference of the label.

No .ins file is distributed; process the .dtx with plain to create one.

The package is part of the oberdiek bundle.

 Sources /macros/latex/contrib/oberdiek/refcount.dtx Documentation Package documentation Version 3.5 2016-05-16 Licenses The LaTeX Project Public License 1.3 Copyright 1998, 2000, 2006, 2008, 2010, 2011 Heiko Oberdiek Maintainer Heiko Oberdiek TDS archive oberdiek.tds.zip Contained in TeX Live as oberdiekMiKTeX as oberdiek Topics Label and References