summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-01-20 23:00:51 +0000
committerKarl Berry <karl@freefriends.org>2012-01-20 23:00:51 +0000
commit6311db5eab343592f05dd142aa7de2f710b58580 (patch)
tree89a06c600e95f6348b214fc635c562d11623ca78 /Master/texmf-dist/tex/latex
parent605bf1a9665cc95539a294cec5a6805df4c50a04 (diff)
cleveref 0.18.3 (19jan12)
git-svn-id: svn://tug.org/texlive/trunk@25162 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r--Master/texmf-dist/tex/latex/cleveref/cleveref.sty28
1 files changed, 26 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/cleveref/cleveref.sty b/Master/texmf-dist/tex/latex/cleveref/cleveref.sty
index 7b6479f04e4..2c84707b70e 100644
--- a/Master/texmf-dist/tex/latex/cleveref/cleveref.sty
+++ b/Master/texmf-dist/tex/latex/cleveref/cleveref.sty
@@ -11,8 +11,8 @@
%% Copyright (C) 2006 Toby Cubitt
%% See the files README and COPYING.
%%
-\def\packagedate{2012/01/17}
-\def\packageversion{0.18.2}
+\def\packagedate{2012/01/18}
+\def\packageversion{0.18.3}
%% This file may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.2
%% of this license or (at your option) any later version.
@@ -2501,6 +2501,30 @@
\refstepcounter{equation}%
\addtocounter{equation}{-1}%
\cref@orig@@IEEEeqnarray[#1]{#2}}
+ \let\cref@orig@IEEEeqnarrayXCR\@IEEEeqnarrayXCR
+ \def\@IEEEeqnarrayXCR[#1]{%
+ \if@eqnsw%
+ \if@IEEEissubequation%
+ %\addtocounter{equation}{1}%
+ \refstepcounter{IEEEsubequation}%
+ \addtocounter{IEEEsubequation}{-1}%
+ \else%
+ \refstepcounter{equation}%
+ \addtocounter{equation}{-1}%
+ \fi%
+ \fi%
+ \cref@orig@IEEEeqnarrayXCR[#1]}
+ \let\cref@orig@IEEEyessubnumber\IEEEyessubnumber
+ \def\IEEEyessubnumber{%
+ \if@IEEEeqnarrayISinner%
+ \if@IEEElastlinewassubequation\else%
+ \setcounter{IEEEsubequation}{0}%
+ \refstepcounter{IEEEsubequation}%
+ \fi%
+ \fi%
+ \cref@orig@IEEEyessubnumber}
+ \@addtoreset{IEEEsubequation}{equation}%
+ \crefalias{IEEEsubequation}{equation}%
}{}% end of \@ifpackageloaded{IEEEtrantools}
\@ifpackageloaded{amsthm}{%
\PackageInfo{cleveref}{`amsthm' support loaded}