CTAN Comprehensive TeX Archive Network

Directory macros/latex/contrib/cntperchap

README
%% LaTeX package cntperchap - version 0.3 (2015/06/01)
%%
%% -------------------------------------------------------------------------------------------
%% Copyright (c) 2015 by Dr. Christian Hupfer <christian dot hupfer at yahoo dot de>
%% ------------------------------------------------------------------------------------------
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
%% of this license or (at your option) any later version.
%% The latest version of this license is in
%%   http://www.latex-project.org/lppl.txt
%% and version 1.3 or later is part of all distributions of LaTeX
%% version 2005/12/01 or later.
%%
%% This work has the LPPL maintenance status `maintained'.
%%
%% This work consists of all files listed in README
%%


The aim of this package is to provide support for a summary in advance how many sections, subsections, etc. or figures, tables, equations there will be in a chapter. The values are stored at the beginning of a new chapter and written to \jobname.cpsfoo files, where foo is shorthand for the relevant counter name.
 


Directory listing:

  cntperchap_doc.pdf     180332   06/01/15   01:49:47
  cntperchap_doc.tex      19613   06/01/15   01:49:30
cntperchap_example.pdf      87225   06/01/15   01:49:41
cntperchap_example.tex       2802   06/01/15   01:49:30
      cntperchap.sty      12155   06/01/15   01:49:47

Download the contents of this package in one zip archive (267.8k).

cntperchap – Store counter values per chapter

This package stores values of counters (which have been registered beforehand) on a per chapter base and provides the values on demand in the 2nd compilation run. In this way it is possible to know how many sections etc. there are lying ahead and to react to these counter values, if needed.

This is a preliminary version that has been tested with book.cls, memoir.cls, and scrbook.cls.

The packages assoccnt (by the same author) and xparse are needed as well.

Packagecntperchap
Version0.3 2015-06-01
LicensesThe Project Public License 1.3
Copyright2015 Dr. Christian Hupfer
MaintainerChristian Hupfer
Contained inTeX Live as cntperchap
MiKTeX as cntperchap
TopicsCounter management
Macro support
See alsoxcntperchap
...
Guest Book Sitemap Contact Contact Author