Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
AADLPaper_SSR/remreset.sty
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
39 lines (27 sloc)
1.07 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% remreset package | |
%%%%%%%%%%%%%%%%%% | |
% Copyright 1997 David carlisle | |
% This file may be distributed under the terms of the LPPL. | |
% See 00readme.txt for details. | |
% 1997/09/28 David Carlisle | |
% LaTeX includes a command \@addtoreset that is used to declare that | |
% a counter should be reset every time a second counter is incremented. | |
% For example the book class has a line | |
% \@addtoreset{footnote}{chapter} | |
% So that the footnote counter is reset each chapter. | |
% If you wish to bas a new class on book, but without this counter | |
% being reset, then standard LaTeX gives no simple mechanism to do | |
% this. | |
% This package defines |\@removefromreset| which just undoes the effect | |
% of \@addtorest. So for example a class file may be defined by | |
% \LoadClass{book} | |
% \@removefromreset{footnote}{chapter} | |
\def\@removefromreset#1#2{{% | |
\expandafter\let\csname c@#1\endcsname\@removefromreset | |
\def\@elt##1{% | |
\expandafter\ifx\csname c@##1\endcsname\@removefromreset | |
\else | |
\noexpand\@elt{##1}% | |
\fi}% | |
\expandafter\xdef\csname cl@#2\endcsname{% | |
\csname cl@#2\endcsname}}} | |