6

I need to put some formal statistics on the document itself somewhere in the middle, like "This document contains XXX figures and YYY tables (and may be even ZZZ formulas and PPP theorems)". Is there a common way to output the final value of some counter in the middle of the document?

Edited after answering: I have asked a more specific question before, "How to output the number of bibliographic entries referenced in the document?", which is now deleted because the answer to this one covers also this case.

For the reference, some useful counters, which can be used with totcount:

  • page - page count
  • enumiv - bibliography entries count
  • figure - figures count
  • table - tables count
  • This is a question I had also and I never managed to answer. – Anna Taurogenireva Oct 6 '10 at 20:29
6

Use the totcount package, perhaps?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.