iccsa-17-ascheduler

Distributed Data Processing on Microcomputers with Ascheduler and Apache Spark
git clone https://git.igankevich.com/iccsa-17-ascheduler.git
Log | Files | Refs

remreset.sty (1096B)


      1 
      2 % remreset package
      3 %%%%%%%%%%%%%%%%%%
      4 
      5 % Copyright 1997 David carlisle
      6 % This file may be distributed under the terms of the LPPL.
      7 % See 00readme.txt for details.
      8 
      9 % 1997/09/28  David Carlisle
     10 
     11 % LaTeX includes a command \@addtoreset that is used to declare that
     12 % a counter should be reset every time a second counter is incremented.
     13 
     14 % For example the book class has a line
     15 % \@addtoreset{footnote}{chapter}
     16 % So that the footnote counter is reset each chapter.
     17 
     18 % If you wish to bas a new class on book, but without this counter
     19 % being reset, then standard LaTeX gives no simple mechanism to do
     20 % this.
     21 
     22 % This package defines |\@removefromreset| which just undoes the effect
     23 % of \@addtorest. So for example a class file may be defined by
     24 
     25 % \LoadClass{book}
     26 % \@removefromreset{footnote}{chapter}
     27 
     28 
     29 \def\@removefromreset#1#2{{%
     30   \expandafter\let\csname c@#1\endcsname\@removefromreset
     31   \def\@elt##1{%
     32     \expandafter\ifx\csname c@##1\endcsname\@removefromreset
     33     \else
     34       \noexpand\@elt{##1}%
     35     \fi}%
     36   \expandafter\xdef\csname cl@#2\endcsname{%
     37     \csname cl@#2\endcsname}}}
     38 
     39