Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
% Locallabel
%
% Copyright (C) 2001, 2002, 2003 Didier Rémy
%
% Author : Didier Remy
% Version : 1.1.1
% Bug Reports : to author
% Web Site : http://pauillac.inria.fr/~remy/latex/
%
% Locallabel is free software; you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation; either version 2, or (at your option)
% any later version.
%
% Locallabel is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU General Public License for more details
% (http://pauillac.inria.fr/~remy/license/GPL).
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% File locallabel.hva (LaTeX macros)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \aname and \ahrefloc are pre-defined in hevea
\newcounter{llb@global}
\newcounter{llb@local}
\def \lbind #1{%
\stepcounter{llb@local}%
\newsavebox{\csname llb@\thellb@global-#1\endcsname}%
\gsbox{\csname llb@\thellb@global-#1\endcsname}{\thellb@local}%
}
\def \lfind #1{%
\aname{llb@\thellb@global-#1}%
{\usebox{\csname llb@\thellb@global-#1\endcsname}}}
\newcommand \llabel [2][!*!]{%
\lbind {#2}%
\ifthenelse{\equal{#1}{!*!}}{}%
{\@saveclosed
\@locname{#1}{}\@auxwrite{#1}{\thellb@local}\@restoreclosed}%
\LlabelTypeset{\lfind {#2}}}
\def\lref #1{%
\LrefTypeset {\ahrefloc{llb@\thellb@global-#1}%
{\usebox{\csname llb@\thellb@global-#1\endcsname}}}}
\def \locallabelreset
{\stepcounter {llb@global}\setcounter {llb@local}{0}}
\usepackage{color}
\newcommand \LlabelTypeset [1] {{\textcolor{Green}{(#1)}}}
\newcommand \LrefTypeset [1] {{\textrm{(#1)}}}