"Fossies" - the Fresh Open Source Software Archive

Member "hevea-2.35/chngcntr.hva" (16 Jan 2021, 389 Bytes) of package /linux/www/hevea-2.35.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 \ProvidesPackage{chngcntr}
    2 \@primitives{chngcntr}
    3 %%%%%%%%%%%%%%%
    4 \newcommand{\counterwithin*}[2]{\@addtoreset{#1}{#2}}
    5 \newcommand{\counterwithin}[2]
    6 {\@addtoreset{#1}{#2}%
    7 \@namedef{the#1}{\@nameuse{the#2}.\arabic{#1}}}
    8 %%%%%%%%%%%%%%%
    9 \newcommand{\counterwithout*}[2]{\@removefromreset{#1}{#2}}
   10 \newcommand{\counterwithout}[2]
   11 {\@removefromreset{#1}{#2}%
   12 \@namedef{the#1}{\arabic{#1}}}