Menu
CTAN
Comprehensive TeX Archive Network
Cover Upload Browse

refcount – Counter operations with label references

Pro­vides com­mands \set­coun­ter­ref and \ad­dto­coun­ter­ref which use the sec­tion (or what­ever) num­ber from the ref­er­ence as the value to put into the counter, as in:

    ...\label{sec:foo}
    ...
    \setcounterref{foonum}{sec:foo}
    
Com­mands \set­coun­ter­pageref and \ad­dto­coun­ter­pageref do the cor­re­spond­ing thing with the page ref­er­ence of the la­bel.

No .ins file is dis­tributed; pro­cess the .dtx with plain TeX to cre­ate one.

The pack­age is part of the oberdiek bun­dle.

Sources/macros/latex/contrib/oberdiek/refcount.dtx
Doc­u­men­ta­tion
Ver­sion3.4
Li­censeThe LaTeX Project Public Li­cense 1.3
Copy­right1998,2000,2006,2008,2010,2011 Heiko Oberdiek
Main­tainerHeiko Oberdiek
TDS archiveoberdiek.tds.zip
Con­tained inTeXlive as oberdiek
MikTeX as oberdiek
Topics la­bel and ref­er­ence sys­tems
Guest Book Sitemap Contact