Directory macros/latex/contrib/totcount
README
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= The TotCount package, version 1.2, 2009/07/09 Copyright (c) [2009] Vasileios Koutavas (Vasileios.Koutavas@scss.tcd.ie) This program may be re-distributed and/or modified under the terms of the LaTeX Project Public License version 1.3c, or any later version. The latest version of this license is in CTAN:macros/latex/base/lppl.txt =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= The TotCount package computes and displays the last value of counters inside a document. With this package one may count the total number of elements (e.g. sections, pages, citations, etc.) in a LaTeX document by simply using standard LaTeX counters. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= FILES: - README This file - totcount.ins Installation file - totcount.dtx Source file - totcount.pdf Documentation =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= INSTALLATION: 1. To get the package file run latex totcount.ins then copy the totcount.sty in a directory accessible by (pdf)latex and re-hash the latex tree. 2. To compile the documentation run pdflatex totcount.drv makeindex -s gind.ist totcount.idx makeindex -s gglo.ist -o totcount.gls totcount.glo pdflatex totcount.drv 3. To run the example run pdflatex totcount-ex.tex pdflatex totcount-ex.tex =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Download the contents of this package in one zip archive (283.7k).
totcount – Find the last value of a counter
The package records the value that was last set, for any counter of interest; since most such counters are simply incremented when they are changed, the recorded value will usually be the maximum value.
Package | totcount |
Version | 1.2 |
Licenses | The LaTeX Project Public License |
Maintainer | Vasileios Koutavas |
Contained in | TeX Live as totcount MiKTeX as totcount |
Topics | Macro support Counter management |
See also | totpages lastpage |