summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/cleveref
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-12-30 23:35:45 +0000
committerKarl Berry <karl@freefriends.org>2013-12-30 23:35:45 +0000
commit2279674bbd8d121f3242f7d30dbb469770bfc646 (patch)
treedccccb52caa33ceca60b24bc86e654dc87f231d8 /Master/texmf-dist/tex/latex/cleveref
parentca7bdd33e60da44f422f24d19dfbfe49826b465d (diff)
cleveref (28dec)
git-svn-id: svn://tug.org/texlive/trunk@32513 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/cleveref')
-rw-r--r--Master/texmf-dist/tex/latex/cleveref/cleveref.sty2419
1 files changed, 1293 insertions, 1126 deletions
diff --git a/Master/texmf-dist/tex/latex/cleveref/cleveref.sty b/Master/texmf-dist/tex/latex/cleveref/cleveref.sty
index ed5aa2abe9c..0522c48433c 100644
--- a/Master/texmf-dist/tex/latex/cleveref/cleveref.sty
+++ b/Master/texmf-dist/tex/latex/cleveref/cleveref.sty
@@ -8,11 +8,11 @@
%%
%% LaTeX package for intelligent cross-referencing.
%%
-%% Copyright (C) 2006--2012 Toby Cubitt
+%% Copyright (C) 2006--2013 Toby Cubitt
%% See the files README and COPYING.
%%
-\def\packagedate{2013/03/22}
-\def\packageversion{0.18.9}
+\def\packagedate{2013/12/28}
+\def\packageversion{0.19}
%% 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.
@@ -40,11 +40,11 @@
%% Right bracket \] Circumflex \^ Underscore \_
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
-\def\cref@currentlabel{}
-\let\cref@old@refstepcounter\refstepcounter
+\def\cref@currentlabel{}%
+\let\cref@old@refstepcounter\refstepcounter%
\def\refstepcounter{%
\@ifnextchar[{\refstepcounter@optarg}{\refstepcounter@noarg}%]
-}
+}%
\def\refstepcounter@noarg#1{%
\cref@old@refstepcounter{#1}%
\cref@constructprefix{#1}{\cref@result}%
@@ -53,17 +53,20 @@
{\def\@tempa{\csname cref@#1@alias\endcsname}}%
\protected@edef\cref@currentlabel{%
[\@tempa][\arabic{#1}][\cref@result]%
- \csname p@#1\endcsname\csname the#1\endcsname}}
+ \csname p@#1\endcsname\csname the#1\endcsname}}%
\def\refstepcounter@optarg[#1]#2{%
\cref@old@refstepcounter{#2}%
\cref@constructprefix{#2}{\cref@result}%
+ \@ifundefined{cref@#1@alias}%
+ {\def\@tempa{#1}}%
+ {\def\@tempa{\csname cref@#1@alias\endcsname}}%
\protected@edef\cref@currentlabel{%
- [#1][\arabic{#2}][\cref@result]%
- \csname p@#2\endcsname\csname the#2\endcsname}}
+ [\@tempa][\arabic{#2}][\cref@result]%
+ \csname p@#2\endcsname\csname the#2\endcsname}}%
\AtBeginDocument{%
- \let\cref@old@label\label
+ \let\cref@old@label\label%
\def\label{\@ifnextchar[\label@optarg\label@noarg}%]
- \let\cref@label\label
+ \let\cref@label\label%
\def\label@noarg#1{%
\@bsphack%
\cref@old@label{#1}%
@@ -78,16 +81,16 @@
\cref@currentlabel\@nil{#1}}%
\protected@write\@auxout{}%
{\string\newlabel{#2@cref}{{\cref@currentlabel}{\thepage}}}%
- \@esphack}
+ \@esphack}%
}% end of AtBeginDocument
-\let\cref@old@makefntext\@makefntext
+\let\cref@old@makefntext\@makefntext%
\long\def\@makefntext{%
\cref@constructprefix{footnote}{\cref@result}%
\protected@edef\cref@currentlabel{%
[footnote][\arabic{footnote}][\cref@result]%
\p@footnote\@thefnmark}%
- \cref@old@makefntext}
-\let\cref@old@othm\@othm
+ \cref@old@makefntext}%
+\let\cref@old@othm\@othm%
\def\@othm#1[#2]#3{%
\edef\@tempa{\expandafter\noexpand%
\csname cref@#1@name@preamble\endcsname}%
@@ -109,8 +112,8 @@
\@tempb\expandafter{\MakeUppercase #3}%
\fi%
\cref@stack@add{#1}{\cref@label@types}%
- \cref@old@othm{#1}[#2]{#3}}
-\let\cref@old@xnthm\@xnthm
+ \cref@old@othm{#1}[#2]{#3}}%
+\let\cref@old@xnthm\@xnthm%
\def\@xnthm#1#2[#3]{%
\edef\@tempa{\expandafter\noexpand%
\csname cref@#1@name@preamble\endcsname}%
@@ -132,8 +135,8 @@
\@tempb\expandafter{\MakeUppercase #2}%
\fi%
\cref@stack@add{#1}{\cref@label@types}%
- \cref@old@xnthm{#1}{#2}[#3]}
-\let\cref@old@ynthm\@ynthm
+ \cref@old@xnthm{#1}{#2}[#3]}%
+\let\cref@old@ynthm\@ynthm%
\def\@ynthm#1#2{%
\edef\@tempa{\expandafter\noexpand%
\csname cref@#1@name@preamble\endcsname}%
@@ -155,7 +158,7 @@
\@tempb\expandafter{\MakeUppercase #2}%
\fi%
\cref@stack@add{#1}{\cref@label@types}%
- \cref@old@ynthm{#1}{#2}}
+ \cref@old@ynthm{#1}{#2}}%
\@ifundefined{appendix}{}{%
\g@addto@macro\appendix{%
\@ifundefined{chapter}{%
@@ -193,7 +196,7 @@
{\def\@tempa{\csname cref@#1@alias\endcsname}}%
\protected@edef\cref@currentlabel{%
[\@tempa][\arabic{#1}][\cref@result]%
- \csname p@#1\endcsname\csname the#1\endcsname}
+ \csname p@#1\endcsname\csname the#1\endcsname}%
\fi%
\fi%
\fi}%
@@ -239,7 +242,7 @@
{\def\@tempa{\csname cref@#1@alias\endcsname}}%
\protected@edef\cref@currentlabel{%
[\@tempa][\arabic{#1}][\cref@result]%
- \csname p@#1\endcsname\csname the#1\endcsname}
+ \csname p@#1\endcsname\csname the#1\endcsname}%
\fi%
\fi%
\fi%
@@ -248,8 +251,8 @@
}%
}% end of \@ifundefined{appendix}
\def\@gobble@optarg{\@ifnextchar[\@@gobble@optarg\@gobble@orig}%]
-\def\@gobble@orig#1{}
-\def\@@gobble@optarg[#1]#2{}
+\def\@gobble@orig#1{}%
+\def\@@gobble@optarg[#1]#2{}%
\def\cref@append@toks#1#2{\toks0={#2}%
\edef\act{\noexpand#1={\the#1\the\toks0}}%
\act}%
@@ -258,45 +261,45 @@
\expandafter\expandafter\expandafter\def%
\expandafter\expandafter\expandafter#2%
\expandafter\expandafter\expandafter{%
- \expandafter\@firstoftwo#2}}
+ \expandafter\@firstoftwo#2}}%
\def\cref@getpageref#1#2{%
\expandafter\let\expandafter#2\csname r@#1@cref\endcsname%
\expandafter\expandafter\expandafter\def%
\expandafter\expandafter\expandafter#2%
\expandafter\expandafter\expandafter{%
- \expandafter\@secondoftwo#2}}
+ \expandafter\@secondoftwo#2}}%
\def\cref@getlabel#1#2{%
\cref@getref{#1}{\@tempa}%
\expandafter\@cref@getlabel\@tempa\@nil#2}%
\def\@cref@getlabel{\@ifnextchar[%]
- \@@cref@getlabel{\@@cref@getlabel[][][]}}
-\def\@@cref@getlabel[#1][#2][#3]#4\@nil#5{\def#5{#4}}
+ \@@cref@getlabel{\@@cref@getlabel[][][]}}%
+\def\@@cref@getlabel[#1][#2][#3]#4\@nil#5{\def#5{#4}}%
\def\cref@gettype#1#2{%
\cref@getref{#1}{\@tempa}%
\expandafter\@cref@gettype\@tempa\@nil#2}%
\def\@cref@gettype{\@ifnextchar[%]
- \@@cref@gettype{\@@cref@gettype[][][]}}
-\def\@@cref@gettype[#1][#2][#3]#4\@nil#5{\def#5{#1}}
+ \@@cref@gettype{\@@cref@gettype[][][]}}%
+\def\@@cref@gettype[#1][#2][#3]#4\@nil#5{\def#5{#1}}%
\def\cref@getcounter#1#2{%
\cref@getref{#1}{\@tempa}%
- \expandafter\@cref@getcounter\@tempa\@nil#2}
+ \expandafter\@cref@getcounter\@tempa\@nil#2}%
\def\@cref@getcounter{\@ifnextchar[%]
- \@@cref@getcounter{\@@cref@getcounter[][][]}}
-\def\@@cref@getcounter[#1][#2][#3]#4\@nil#5{\def#5{#2}}
+ \@@cref@getcounter{\@@cref@getcounter[][][]}}%
+\def\@@cref@getcounter[#1][#2][#3]#4\@nil#5{\def#5{#2}}%
\def\cref@getprefix#1#2{%
\cref@getref{#1}{\@tempa}%
- \expandafter\@cref@getprefix\@tempa\@nil#2}
+ \expandafter\@cref@getprefix\@tempa\@nil#2}%
\def\@cref@getprefix{\@ifnextchar[%]
- \@@cref@getprefix{\@@cref@getprefix[][][]}}
-\def\@@cref@getprefix[#1][#2][#3]#4\@nil#5{\def#5{#3}}
-\def\cref@override@label@type[#1][#2][#3]#4\@nil#5{[#5][#2][#3]#4}
+ \@@cref@getprefix{\@@cref@getprefix[][][]}}%
+\def\@@cref@getprefix[#1][#2][#3]#4\@nil#5{\def#5{#3}}%
+\def\cref@override@label@type[#1][#2][#3]#4\@nil#5{[#5][#2][#3]#4}%
\def\cref@constructprefix#1#2{%
\cref@stack@init{\@tempstack}%
\edef\@tempa{\noexpand{#1\noexpand}}%
\expandafter\def\expandafter\@tempa\expandafter{\@tempa{#2}}%
\expandafter\@cref@constructprefix\@tempa%
\cref@stack@to@list{\@tempstack}{\@tempa}%
- \expandafter\def\expandafter#2\expandafter{\@tempa}}
+ \expandafter\def\expandafter#2\expandafter{\@tempa}}%
\def\@cref@constructprefix#1#2{%
\cref@resetby{#1}{#2}%
\ifx#2\relax%
@@ -306,17 +309,17 @@
\edef\@tempa{{#2}}%
\expandafter\expandafter\expandafter\@cref@constructprefix%
\expandafter\@tempa\expandafter{\expandafter#2\expandafter}%
- \fi}
-\def\cref@stack@init#1{\def#1{\@nil}}
-\def\cref@stack@top#1{\expandafter\@cref@stack@top#1}
-\def\@cref@stack@top#1,#2\@nil{#1}
-\def\cref@stack@pop#1{\expandafter\@cref@stack@pop#1#1}
-\def\@cref@stack@pop#1,#2\@nil#3{\def#3{#2\@nil}}
+ \fi}%
+\def\cref@stack@init#1{\def#1{\@nil}}%
+\def\cref@stack@top#1{\expandafter\@cref@stack@top#1}%
+\def\@cref@stack@top#1,#2\@nil{#1}%
+\def\cref@stack@pop#1{\expandafter\@cref@stack@pop#1#1}%
+\def\@cref@stack@pop#1,#2\@nil#3{\def#3{#2\@nil}}%
\def\cref@stack@push#1#2{%
- \expandafter\@cref@stack@push\expandafter{#2}{#1}{#2}}
-\def\@cref@stack@push#1#2#3{\def#3{#2,#1}}
-\def\cref@stack@pull#1#2{\expandafter\@cref@stack@pull#2{#1}{#2}}
-\def\@cref@stack@pull#1\@nil#2#3{\def#3{#1#2,\@nil}}
+ \expandafter\@cref@stack@push\expandafter{#2}{#1}{#2}}%
+\def\@cref@stack@push#1#2#3{\def#3{#2,#1}}%
+\def\cref@stack@pull#1#2{\expandafter\@cref@stack@pull#2{#1}{#2}}%
+\def\@cref@stack@pull#1\@nil#2#3{\def#3{#1#2,\@nil}}%
\def\cref@stack@to@list#1#2{%
\cref@isstackfull{#1}%
\if@cref@stackfull%
@@ -326,8 +329,8 @@
\expandafter\@cref@stack@to@list#1}%
\else%
\def#2{}%
- \fi}
-\def\@cref@stack@to@list#1,\@nil{#1}
+ \fi}%
+\def\@cref@stack@to@list#1,\@nil{#1}%
\def\cref@stack@topandbottom#1#2#3{%
\def#2{}%
\def#3{}%
@@ -340,7 +343,7 @@
\edef#3{\cref@stack@top{#1}}%
\cref@stack@pop{#1}%
\cref@isstackfull{#1}}%
- \fi}
+ \fi}%
\def\cref@stack@add#1#2{%
\begingroup%
\def\@arg1{#1}%
@@ -359,17 +362,17 @@
\cref@isstackfull{\@tempstack}%
\fi}%
\expandafter\endgroup%
- \if@notthere\cref@stack@push{#1}{#2}\fi}
-\newif\if@cref@stackempty
-\newif\if@cref@stackfull
+ \if@notthere\cref@stack@push{#1}{#2}\fi}%
+\newif\if@cref@stackempty%
+\newif\if@cref@stackfull%
\def\cref@isstackempty#1{%
\def\@tempa{\@nil}%
\ifx#1\@tempa\@cref@stackemptytrue%
- \else\@cref@stackemptyfalse\fi}
+ \else\@cref@stackemptyfalse\fi}%
\def\cref@isstackfull#1{%
\def\@tempa{\@nil}%
\ifx#1\@tempa\@cref@stackfullfalse%
- \else\@cref@stackfulltrue\fi}
+ \else\@cref@stackfulltrue\fi}%
\def\cref@stack@sort#1#2{%
\begingroup%
\cref@stack@init{\@sortstack}%
@@ -413,11 +416,11 @@
\expandafter\cref@stack@insert\@tempa%
\cref@isstackfull{#1}}%
\expandafter\endgroup\expandafter%
- \def\expandafter#1\expandafter{\@sortstack}}
+ \def\expandafter#1\expandafter{\@sortstack}}%
\def\cref@stack@insert#1#2#3#4{%
\let\@cmp#4%
\@cref@stack@insert{}{#1}{#2}{#3}%
- \cref@stack@pop{#3}}
+ \cref@stack@pop{#3}}%
\def\@cref@stack@insert#1#2#3#4{%
\let\cref@iterate\relax%
\cref@isstackempty{#4}%
@@ -436,9 +439,9 @@
{\expandafter\@cref@stack@insert\cref@elem}%
\fi%
\fi%
- \cref@iterate}
-\def\cref@counter@first#1#2\@nil{#1}
-\def\cref@counter@rest#1#2\@nil{#2}
+ \cref@iterate}%
+\def\cref@counter@first#1#2\@nil{#1}%
+\def\cref@counter@rest#1#2\@nil{#2}%
\def\cref@countercmp#1#2#3{%
\begingroup%
\def\@tempa{#1}%
@@ -479,7 +482,7 @@
\fi%
\fi%
\expandafter\endgroup\expandafter%
- \chardef\expandafter#3\expandafter=\cref@result\relax}
+ \chardef\expandafter#3\expandafter=\cref@result\relax}%
\def\@cref@countercmp{%
\let\@iterate\relax%
\cref@isstackempty{\@countstacka}%
@@ -510,7 +513,7 @@
\fi%
\fi%
\fi%
- \@iterate}
+ \@iterate}%
\def\cref@pagecmp#1#2#3{%
\begingroup%
\def\@tempa{#1}%
@@ -543,8 +546,8 @@
\fi%
\fi%
\expandafter\endgroup\expandafter%
- \chardef\expandafter#3\expandafter=\cref@result\relax}
-\newif\if@cref@inresetlist
+ \chardef\expandafter#3\expandafter=\cref@result\relax}%
+\newif\if@cref@inresetlist%
\def\cref@isinresetlist#1#2{%
\begingroup%
\def\@counter{#1}%
@@ -572,7 +575,7 @@
\fi%
\expandafter%
\endgroup%
- \@next}
+ \@next}%
\def\cref@resetby#1#2{%
\let#2\relax%
\def\@tempa{#1}%
@@ -680,7 +683,7 @@
\fi%
\fi%
\fi%
- \fi}
+ \fi}%
\newif\if@cref@refconsecutive%
\def\cref@isrefconsecutive#1#2{%
\begingroup%
@@ -703,7 +706,7 @@
\fi%
\fi%
\fi%
- \expandafter\endgroup\@after}
+ \expandafter\endgroup\@after}%
\def\cref@ispagerefconsecutive#1#2{%
\begingroup%
\countdef\refa@counter=0%
@@ -721,7 +724,7 @@
\def\@after{\@cref@refconsecutivetrue}%
\fi%
\fi%
- \expandafter\endgroup\@after}
+ \expandafter\endgroup\@after}%
\def\cref@processgroup#1#2{%
\edef\@nextref{\cref@stack@top{#1}}%
\expandafter\ifx\csname r@\@nextref @cref\endcsname\relax%
@@ -769,7 +772,7 @@
\fi%
\fi%
\fi}%
-}
+}%
\def\cref@processgroupall#1#2{%
\cref@stack@init{\@tempstack}%
\edef\@nextref{\cref@stack@top{#1}}%
@@ -825,7 +828,7 @@
\let\@lasttype\@nexttype%
\let\@lastformat\@nextformat%
\cref@isstackfull{#1}}%
- \let#1\@tempstack}
+ \let#1\@tempstack}%
\def\cref@processconsecutive#1#2#3#4#5{%
#4=0%
\edef\@nextref{\cref@stack@top{#1}}%
@@ -890,13 +893,70 @@
\fi%
\fi%
\fi}%
- \fi}
-\DeclareRobustCommand{\cref}[1]{\@cref{cref}{#1}}
-\DeclareRobustCommand{\Cref}[1]{\@cref{Cref}{#1}}
-\DeclareRobustCommand{\crefrange}[2]{\@setcrefrange{#1}{#2}{cref}{}}
-\DeclareRobustCommand{\Crefrange}[2]{\@setcrefrange{#1}{#2}{Cref}{}}
+ \fi}%
+\newcommand\crefstripprefix[2]{%
+ \begingroup%
+ \edef\@toksa{#1}%
+ \edef\@toksb{#2}%
+ \let\cref@acc\@empty%
+ \@crefstripprefix%
+ \cref@result%
+ \endgroup}
+\def\@crefstripprefix{%
+ \let\@iterate\relax%
+ \def\accum@flag{0}%
+ \let\@tempc\@tempb%
+ \cref@poptok{\@toksa}{\@tempa}%
+ \cref@poptok{\@toksb}{\@tempb}%
+ \ifx\@tempa\@tempb\relax%
+ \def\@iterate{\@crefstripprefix}%
+ \ifx\cref@acc\@empty\relax%
+ \let\cref@acc\@tempb%
+ \else%
+ \ifcat\@tempb\@tempc\relax%
+ \ifcat\@tempb a\relax%
+ \def\accum@flag{1}%
+ \else%
+ \expandafter\chardef\expandafter\@tempa%
+ \expandafter=\expandafter`\@tempb\relax%
+ \ifnum\@tempa>`/\relax%
+ \expandafter\ifnum\@tempb<`:\relax%
+ \def\accum@flag{1}%
+ \fi%
+ \fi%
+ \fi%
+ \fi%
+ \def\@tempa{1}%
+ \ifx\accum@flag\@tempa%
+ \edef\cref@acc{\cref@acc\@tempb}%
+ \else%
+ \let\cref@acc\@empty%
+ \fi%
+ \fi%
+ \else%
+ \ifcat\@tempb\@tempc\relax\else%
+ \let\cref@acc\@empty%
+ \fi%
+ \edef\cref@result{\cref@acc\@tempb\@toksb}%
+ \fi%
+ \@iterate}
+\def\cref@poptok#1#2{%
+ \expandafter\expandafter\expandafter\def%
+ \expandafter\expandafter\expandafter#2%
+ \expandafter\expandafter\expandafter{%
+ \expandafter\@cref@firsttok#1\@nil}%
+ \expandafter\expandafter\expandafter\def%
+ \expandafter\expandafter\expandafter#1%
+ \expandafter\expandafter\expandafter{%
+ \expandafter\@cref@poptok#1\@nil}}
+\def\@cref@firsttok#1#2\@nil{#1}
+\def\@cref@poptok#1#2\@nil{#2}
+\DeclareRobustCommand{\cref}[1]{\@cref{cref}{#1}}%
+\DeclareRobustCommand{\Cref}[1]{\@cref{Cref}{#1}}%
+\DeclareRobustCommand{\crefrange}[2]{\@setcrefrange{#1}{#2}{cref}{}}%
+\DeclareRobustCommand{\Crefrange}[2]{\@setcrefrange{#1}{#2}{Cref}{}}%
\@ifpackageloaded{hyperref}{\newif\if@crefstarred}{%
- \@ifpackageloaded{varioref}{\newif\if@crefstarred}{}}
+ \@ifpackageloaded{varioref}{\newif\if@crefstarred}{}}%
\let\if@crefstarred\iffalse%
\def\@cref#1#2{%
\leavevmode%
@@ -1036,7 +1096,7 @@
\fi%
\fi%
}% end loop over main reference stack
- \endgroup}
+ \endgroup}%
\def\@setcref#1#2#3{%
\expandafter\ifx\csname r@#1@cref\endcsname\relax%
\protect\G@refundefinedtrue%
@@ -1060,8 +1120,8 @@
\expandafter\@@setcref\expandafter%
{\csname #2@\@temptype @format#3\endcsname}{#1}%
\fi%
- \fi}
-\def\@@setcref#1#2{\cref@getlabel{#2}{\@templabel}#1{\@templabel}{}{}}
+ \fi}%
+\def\@@setcref#1#2{\cref@getlabel{#2}{\@templabel}#1{\@templabel}{}{}}%
\def\@setcrefrange#1#2#3#4{%
\begingroup%
\expandafter\ifx\csname r@#1@cref\endcsname\relax%
@@ -1111,32 +1171,33 @@
\protect\G@refundefinedtrue%
\nfss@text{\reset@font\bfseries ??}~\@labela--\@labelb%
\@latex@warning{References `#1' and `#2' in reference range
- on page \thepage have different types}%
+ on page \thepage \space have different types
+ `\@typea' and `\@typeb'}%
\fi%
\fi%
\fi%
\fi%
- \endgroup}
+ \endgroup}%
\def\@@setcrefrange#1#2#3{%
\cref@getlabel{#2}{\@labela}%
\cref@getlabel{#3}{\@labelb}%
- #1{\@labela}{\@labelb}{}{}{}{}}
-\def\@setcref@pairgroupconjunction{\crefpairgroupconjunction}
-\def\@setcref@middlegroupconjunction{\crefmiddlegroupconjunction}
-\def\@setcref@lastgroupconjunction{\creflastgroupconjunction}
-\DeclareRobustCommand{\labelcref}[1]{\@cref{labelcref}{#1}}
+ #1{\@labela}{\@labelb}{}{}{}{}}%
+\def\@setcref@pairgroupconjunction{\crefpairgroupconjunction}%
+\def\@setcref@middlegroupconjunction{\crefmiddlegroupconjunction}%
+\def\@setcref@lastgroupconjunction{\creflastgroupconjunction}%
+\DeclareRobustCommand{\labelcref}[1]{\@cref{labelcref}{#1}}%
\DeclareRobustCommand{\namecref}[1]{%
- \@setnamecref{cref}{#1}{}{}}
+ \@setnamecref{cref}{#1}{}{}}%
\DeclareRobustCommand{\nameCref}[1]{%
- \@setnamecref{Cref}{#1}{}{}}
+ \@setnamecref{Cref}{#1}{}{}}%
\DeclareRobustCommand{\lcnamecref}[1]{%
- \@setnamecref{Cref}{#1}{}{\MakeLowercase}}
+ \@setnamecref{Cref}{#1}{}{\MakeLowercase}}%
\DeclareRobustCommand{\namecrefs}[1]{%
- \@setnamecref{cref}{#1}{@plural}{}}
+ \@setnamecref{cref}{#1}{@plural}{}}%
\DeclareRobustCommand{\nameCrefs}[1]{%
- \@setnamecref{Cref}{#1}{@plural}{}}
+ \@setnamecref{Cref}{#1}{@plural}{}}%
\DeclareRobustCommand{\lcnamecrefs}[1]{%
- \@setnamecref{Cref}{#1}{@plural}{\MakeLowercase}}
+ \@setnamecref{Cref}{#1}{@plural}{\MakeLowercase}}%
\def\@setnamecref#1#2#3#4{%
\expandafter\ifx\csname r@#2@cref\endcsname\relax%
\protect\G@refundefinedtrue%
@@ -1145,29 +1206,28 @@
\else%
\cref@gettype{#2}{\@tempa}%
\@ifundefined{#1@\@tempa @name#3}{%
- \protect\G@refundefinedtrue%``
+ \protect\G@refundefinedtrue%
\nfss@text{\reset@font\bfseries ??}%
- \@latex@warning{Reference name for
- label type `\@tempa' undefined}%
+ \@latex@warning{Reference name forlabel type `\@tempa' undefined}%
}{%
\edef\@tempa{%
\expandafter\noexpand\csname #1@\@tempa @name#3\endcsname}%
\expandafter\@@setnamecref\expandafter{\@tempa}{#4}%
}%
- \fi}
+ \fi}%
\def\@@setnamecref#1#2{%
\expandafter\def\expandafter\@tempa\expandafter{#1}%
- \expandafter#2\@tempa}
+ \expandafter#2\@tempa}%
\DeclareRobustCommand{\cpageref}[1]{%
- \@cpageref{cref}{#1}{\@setcpageref}{\@setcpagerefrange}}
+ \@cpageref{cref}{#1}{\@setcpageref}{\@setcpagerefrange}}%
\DeclareRobustCommand{\Cpageref}[1]{%
- \@cpageref{Cref}{#1}{\@setcpageref}{\@setcpagerefrange}}
+ \@cpageref{Cref}{#1}{\@setcpageref}{\@setcpagerefrange}}%
\DeclareRobustCommand{\cpagerefrange}[2]{%
- \@setcpagerefrange{#1}{#2}{cref}{}}
+ \@setcpagerefrange{#1}{#2}{cref}{}}%
\DeclareRobustCommand{\Cpagerefrange}[2]{%
- \@setcpagerefrange{#1}{#2}{Cref}{}}
+ \@setcpagerefrange{#1}{#2}{Cref}{}}%
\DeclareRobustCommand{\labelcpageref}[1]{%
- \@cpageref{labelcref}{#1}{\@setcpageref}{\@setcpagerefrange}}
+ \@cpageref{labelcref}{#1}{\@setcpageref}{\@setcpagerefrange}}%
\def\@cpageref#1#2#3#4{%
\leavevmode%
\begingroup%
@@ -1265,7 +1325,7 @@
\advance\count@group 1%
\cref@isstackfull{\@refstack}%
}% end loop over reference stack
- \endgroup}
+ \endgroup}%
\def\@setcpageref#1#2#3{%
\expandafter\ifx\csname r@#1@cref\endcsname\relax%
\protect\G@refundefinedtrue%
@@ -1288,9 +1348,9 @@
\expandafter\@@setcpageref\expandafter%
{\csname #2@page@format#3\endcsname}{#1}%
\fi%
- \fi}
+ \fi}%
\def\@@setcpageref#1#2{%
- \cref@getpageref{#2}{\@temppage}#1{\@temppage}{}{}}
+ \cref@getpageref{#2}{\@temppage}#1{\@temppage}{}{}}%
\def\@setcpagerefrange#1#2#3#4{%
\begingroup%
\expandafter\ifx\csname r@#1@cref\endcsname\relax%
@@ -1334,32 +1394,32 @@
\fi%
\fi%
\fi%
- \endgroup}
+ \endgroup}%
\def\@@setcpagerefrange#1#2#3{%
\cref@getpageref{#2}{\@pagea}%
\cref@getpageref{#3}{\@pageb}%
- #1{\@pagea}{\@pageb}{}{}{}{}}
-\cref@stack@init{\cref@label@types}
-\newcommand{\crefdefaultlabelformat}[1]{%
- \def\cref@default@label##1##2##3{#1}}
-\newcommand{\crefname}[3]{%
- \@crefname{cref}{#1}{#2}{#3}{}}
-\newcommand{\Crefname}[3]{%
- \@crefname{Cref}{#1}{#2}{#3}{}}
-\newcommand{\creflabelformat}[2]{%
+ #1{\@pagea}{\@pageb}{}{}{}{}}%
+\cref@stack@init{\cref@label@types}%
+\newcommand\crefdefaultlabelformat[1]{%
+ \def\cref@default@label##1##2##3{#1}}%
+\newcommand\crefname[3]{%
+ \@crefname{cref}{#1}{#2}{#3}{}}%
+\newcommand\Crefname[3]{%
+ \@crefname{Cref}{#1}{#2}{#3}{}}%
+\newcommand\creflabelformat[2]{%
\expandafter\def\csname cref@#1@label\endcsname##1##2##3{#2}%
- \cref@stack@add{#1}{\cref@label@types}}
-\newcommand{\crefrangelabelformat}[2]{%
+ \cref@stack@add{#1}{\cref@label@types}}%
+\newcommand\crefrangelabelformat[2]{%
\expandafter\def\csname cref@#1@rangelabel\endcsname%
##1##2##3##4##5##6{#2}%
- \cref@stack@add{#1}{\cref@label@types}}
-\newcommand{\crefalias}[2]{%
- \expandafter\def\csname cref@#1@alias\endcsname{#2}}
-\newcommand{\crefname@preamble}[3]{%
- \@crefname{cref}{#1}{#2}{#3}{@preamble}}
-\newcommand{\Crefname@preamble}[3]{%
- \@crefname{Cref}{#1}{#2}{#3}{@preamble}}
-\def\cref@othervariant#1#2#3{\cref@@othervariant#1\@nil#2#3}
+ \cref@stack@add{#1}{\cref@label@types}}%
+\newcommand\crefalias[2]{%
+ \expandafter\def\csname cref@#1@alias\endcsname{#2}}%
+\newcommand\crefname@preamble[3]{%
+ \@crefname{cref}{#1}{#2}{#3}{@preamble}}%
+\newcommand\Crefname@preamble[3]{%
+ \@crefname{Cref}{#1}{#2}{#3}{@preamble}}%
+\def\cref@othervariant#1#2#3{\cref@@othervariant#1\@nil#2#3}%
\def\cref@@othervariant#1#2\@nil#3#4{%
\if#1c%
\def#3{C#2}%
@@ -1371,7 +1431,7 @@
\else%
\def#4{\MakeLowercase}%
\fi%
- \fi}
+ \fi}%
\def\@crefname#1#2#3#4#5{%
\expandafter\def\csname #1@#2@name#5\endcsname{#3}%
\expandafter\def\csname #1@#2@name@plural#5\endcsname{#4}%
@@ -1403,7 +1463,7 @@
\expandafter\def\csname\@tempc @#2@name@plural#5\endcsname}%
\expandafter\the\expandafter\@toksa\expandafter{\@tempb}%
}{}%
- \cref@stack@add{#2}{\cref@label@types}}
+ \cref@stack@add{#2}{\cref@label@types}}%
\def\@crefconstructcomponents#1{%
\@ifundefined{cref@#1@label}{%
\let\@templabel\cref@default@label%
@@ -1488,7 +1548,7 @@
\let\@tempnameplural@range\@tempnameplural%
\let\@tempNameplural@range\@tempNameplural%
\fi%
-}
+}%
\def\@crefdefineformat#1{%
\begingroup%
\@crefconstructcomponents{#1}%
@@ -1517,7 +1577,7 @@
\@ifundefined{cref@#1@label}{}{%
\@toksa={\labelcrefformat{#1}}%
\expandafter\the\expandafter\@toksa\expandafter{\@templabel}}%
- \endgroup}
+ \endgroup}%
\def\@crefrangedefineformat#1{%
\begingroup%
\@crefconstructcomponents{#1}%
@@ -1556,7 +1616,7 @@
\expandafter\the\expandafter\@toksa\expandafter{%
\@temprangelabel}%
\fi%
- \endgroup}
+ \endgroup}%
\def\@crefdefinemultiformat#1{%
\begingroup%
\@crefconstructcomponents{#1}%
@@ -1623,7 +1683,7 @@
\expandafter{\@templast}}%
\@toksa={\labelcrefmultiformat{#1}}%
\expandafter\the\expandafter\@toksa\the\@toksb}%
- \endgroup}
+ \endgroup}%
\def\@crefrangedefinemultiformat#1{%
\begingroup%
\@crefconstructcomponents{#1}%
@@ -1695,7 +1755,7 @@
\@toksa={\labelcrefrangemultiformat{#1}}%
\expandafter\the\expandafter\@toksa\the\@toksb%
\fi%
- \endgroup}
+ \endgroup}%
\def\@labelcrefdefinedefaultformats{%
\begingroup%
\toksdef\@toksa=0%
@@ -1758,30 +1818,30 @@
\expandafter{\@temprangelast}}%
\@toksa={\labelcrefrangemultiformat{default}}%
\expandafter\the\expandafter\@toksa\the\@toksb%
- \endgroup}
+ \endgroup}%
\def\@crefdefineallformats#1{%
\@crefdefineformat{#1}%
\@crefrangedefineformat{#1}%
\@crefdefinemultiformat{#1}%
- \@crefrangedefinemultiformat{#1}}
-\newcommand{\crefformat}[2]{\@crefformat{cref}{#1}{#2}}
-\newcommand{\Crefformat}[2]{\@crefformat{Cref}{#1}{#2}}
-\newcommand{\crefrangeformat}[2]{\@crefrangeformat{crefrange}{#1}{#2}}
-\newcommand{\Crefrangeformat}[2]{\@crefrangeformat{Crefrange}{#1}{#2}}
-\newcommand{\crefmultiformat}[5]{%
- \@crefmultiformat{cref}{#1}{#2}{#3}{#4}{#5}}
-\newcommand{\Crefmultiformat}[5]{%
- \@crefmultiformat{Cref}{#1}{#2}{#3}{#4}{#5}}
-\newcommand{\crefrangemultiformat}[5]{%
- \@crefrangemultiformat{crefrange}{#1}{#2}{#3}{#4}{#5}}
-\newcommand{\Crefrangemultiformat}[5]{%
- \@crefrangemultiformat{Crefrange}{#1}{#2}{#3}{#4}{#5}}
-\newcommand{\labelcrefformat}[2]{%
- \expandafter\gdef\csname labelcref@#1@format\endcsname##1##2##3{#2}}
-\newcommand{\labelcrefrangeformat}[2]{%
+ \@crefrangedefinemultiformat{#1}}%
+\newcommand\crefformat[2]{\@crefformat{cref}{#1}{#2}}%
+\newcommand\Crefformat[2]{\@crefformat{Cref}{#1}{#2}}%
+\newcommand\crefrangeformat[2]{\@crefrangeformat{crefrange}{#1}{#2}}%
+\newcommand\Crefrangeformat[2]{\@crefrangeformat{Crefrange}{#1}{#2}}%
+\newcommand\crefmultiformat[5]{%
+ \@crefmultiformat{cref}{#1}{#2}{#3}{#4}{#5}}%
+\newcommand\Crefmultiformat[5]{%
+ \@crefmultiformat{Cref}{#1}{#2}{#3}{#4}{#5}}%
+\newcommand\crefrangemultiformat[5]{%
+ \@crefrangemultiformat{crefrange}{#1}{#2}{#3}{#4}{#5}}%
+\newcommand\Crefrangemultiformat[5]{%
+ \@crefrangemultiformat{Crefrange}{#1}{#2}{#3}{#4}{#5}}%
+\newcommand\labelcrefformat[2]{%
+ \expandafter\gdef\csname labelcref@#1@format\endcsname##1##2##3{#2}}%
+\newcommand\labelcrefrangeformat[2]{%
\expandafter\gdef\csname labelcrefrange@#1@format\endcsname%
- ##1##2##3##4##5##6{#2}}
-\newcommand{\labelcrefmultiformat}[5]{%
+ ##1##2##3##4##5##6{#2}}%
+\newcommand\labelcrefmultiformat[5]{%
\expandafter\gdef\csname labelcref@#1@format@first\endcsname%
##1##2##3{#2}%
\expandafter\gdef\csname labelcref@#1@format@second\endcsname%
@@ -1789,8 +1849,8 @@
\expandafter\gdef\csname labelcref@#1@format@middle\endcsname%
##1##2##3{#4}%
\expandafter\gdef\csname labelcref@#1@format@last\endcsname%
- ##1##2##3{#5}}
-\newcommand{\labelcrefrangemultiformat}[5]{%
+ ##1##2##3{#5}}%
+\newcommand\labelcrefrangemultiformat[5]{%
\expandafter\gdef\csname labelcrefrange@#1@format@first\endcsname%
##1##2##3##4##5##6{#2}%
\expandafter\gdef\csname labelcrefrange@#1@format@second\endcsname%
@@ -1798,7 +1858,7 @@
\expandafter\gdef\csname labelcrefrange@#1@format@middle\endcsname%
##1##2##3##4##5##6{#4}%
\expandafter\gdef\csname labelcrefrange@#1@format@last\endcsname%
- ##1##2##3##4##5##6{#5}}
+ ##1##2##3##4##5##6{#5}}%
\def\@crefformat#1#2#3{%
\begingroup%
\expandafter\gdef\csname #1@#2@format\endcsname##1##2##3{#3}%
@@ -1819,7 +1879,7 @@
\expandafter\the\expandafter\@toksa\expandafter{%
\@tempa{##1}{##2}{##3}}%
}{}%
- \endgroup}
+ \endgroup}%
\def\@crefrangeformat#1#2#3{%
\begingroup%
\expandafter\gdef\csname #1@#2@format\endcsname%
@@ -1841,7 +1901,7 @@
\expandafter\the\expandafter\@toksa\expandafter{%
\@tempa{##1}{##2}{##3}{##4}{##5}{##6}}%
}{}%
- \endgroup}
+ \endgroup}%
\def\@crefmultiformat#1#2#3#4#5#6{%
\begingroup%
\expandafter\gdef\csname #1@#2@format@first\endcsname##1##2##3{#3}%
@@ -1887,7 +1947,7 @@
\expandafter\the\expandafter\@toksa%
\csname #1@#2@format@last\endcsname%
}{}%
- \endgroup}
+ \endgroup}%
\def\@crefrangemultiformat#1#2#3#4#5#6{%
\begingroup%
\expandafter\gdef\csname #1@#2@format@first\endcsname%
@@ -1938,15 +1998,18 @@
\expandafter\the\expandafter\@toksa%
\csname #1@#2@format@last\endcsname%
}{}%
- \endgroup}
-\let\if@cref@hyperrefloaded\iffalse
+ \endgroup}%
+\let\if@cref@hyperrefloaded\iffalse%
\@ifpackageloaded{hyperref}{%
\@ifpackagewith{hyperref}{implicit=false}{}{%
\let\if@cref@hyperrefloaded\iftrue%
\PackageInfo{cleveref}{`hyperref' support loaded}%
- \def\cref@hyperref#1{\expandafter\expandafter\expandafter%
- \@fourthoffive\csname r@#1\endcsname}
- \let\cref@old@H@refstepcounter\H@refstepcounter
+ \def\cref@hyperlinkname#1{\expandafter\expandafter\expandafter%
+ \@fourthoffive\csname r@#1\endcsname}%
+ \def\cref@hyperlinkurl#1{\expandafter\expandafter\expandafter%
+ \@fifthoffive\csname r@#1\endcsname}%
+ \def\cref@hyperlink#1#2#3\@nil{\hyper@@link[link]{#1}{#2}{#3}}
+ \let\cref@old@H@refstepcounter\H@refstepcounter%
\def\H@refstepcounter#1{%
\cref@old@H@refstepcounter{#1}%
\cref@constructprefix{#1}{\cref@result}%
@@ -1955,13 +2018,13 @@
{\def\@tempa{\csname cref@#1@alias\endcsname}}%
\protected@edef\cref@currentlabel{%
[\@tempa][\arabic{#1}][\cref@result]%
- \csname p@#1\endcsname\csname the#1\endcsname}}
+ \csname p@#1\endcsname\csname the#1\endcsname}}%
\let\refstepcounter@noarg\cref@old@refstepcounter%
\def\refstepcounter@optarg[#1]#2{%
\cref@old@refstepcounter{#2}%
\protected@edef\cref@currentlabel{%
\expandafter\cref@override@label@type%
- \cref@currentlabel\@nil{#1}}}
+ \cref@currentlabel\@nil{#1}}}%
\@ifundefined{appendix}{}{%
\g@addto@macro\appendix{%
\@ifundefined{chapter}{%
@@ -1999,7 +2062,7 @@
{\def\@tempa{\csname cref@#1@alias\endcsname}}%
\protected@edef\cref@currentlabel{%
[\@tempa][\arabic{#1}][\cref@result]%
- \csname p@#1\endcsname\csname the#1\endcsname}
+ \csname p@#1\endcsname\csname the#1\endcsname}%
\fi%
\fi%
\fi}%
@@ -2045,7 +2108,7 @@
{\def\@tempa{\csname cref@#1@alias\endcsname}}%
\protected@edef\cref@currentlabel{%
[\@tempa][\arabic{#1}][\cref@result]%
- \csname p@#1\endcsname\csname the#1\endcsname}
+ \csname p@#1\endcsname\csname the#1\endcsname}%
\fi%
\fi%
\fi%
@@ -2054,94 +2117,98 @@
}%
}% end of \@ifundefined{appendix}
\DeclareRobustCommand{\cref}{%
- \@ifstar{\@crefstar{cref}}{\@crefnostar{cref}}}
+ \@ifstar{\@crefstar{cref}}{\@crefnostar{cref}}}%
\DeclareRobustCommand{\Cref}{%
- \@ifstar{\@crefstar{Cref}}{\@crefnostar{Cref}}}
- \def\@crefnostar#1#2{\@cref{#1}{#2}}
+ \@ifstar{\@crefstar{Cref}}{\@crefnostar{Cref}}}%
+ \def\@crefnostar#1#2{\@cref{#1}{#2}}%
\def\@crefstar#1#2{%
- \@crefstarredtrue\@cref{#1}{#2}\@crefstarredfalse}
+ \@crefstarredtrue\@cref{#1}{#2}\@crefstarredfalse}%
\DeclareRobustCommand{\crefrange}{%
- \@ifstar{\@crefrangestar{cref}}{\@crefrangenostar{cref}}}
+ \@ifstar{\@crefrangestar{cref}}{\@crefrangenostar{cref}}}%
\DeclareRobustCommand{\Crefrange}{%
- \@ifstar{\@crefrangestar{Cref}}{\@crefrangenostar{Cref}}}
- \def\@crefrangenostar#1#2#3{\@setcrefrange{#2}{#3}{#1}{}}
+ \@ifstar{\@crefrangestar{Cref}}{\@crefrangenostar{Cref}}}%
+ \def\@crefrangenostar#1#2#3{\@setcrefrange{#2}{#3}{#1}{}}%
\def\@crefrangestar#1#2#3{%
- \@crefstarredtrue\@setcrefrange{#2}{#3}{#1}{}\@crefstarredfalse}
+ \@crefstarredtrue\@setcrefrange{#2}{#3}{#1}{}\@crefstarredfalse}%
\DeclareRobustCommand{\cpageref}{%
- \@ifstar{\@cpagerefstar{cref}}{\@cpagerefnostar{cref}}}
+ \@ifstar{\@cpagerefstar{cref}}{\@cpagerefnostar{cref}}}%
\DeclareRobustCommand{\Cpageref}{%
- \@ifstar{\@cpagerefstar{Cref}}{\@cpagerefnostar{Cref}}}
+ \@ifstar{\@cpagerefstar{Cref}}{\@cpagerefnostar{Cref}}}%
\def\@cpagerefnostar#1#2{%
- \@cpageref{#1}{#2}{\@setcpageref}{\@setcpagerefrange}}
+ \@cpageref{#1}{#2}{\@setcpageref}{\@setcpagerefrange}}%
\def\@cpagerefstar#1#2{%
\@crefstarredtrue%
\@cpageref{#1}{#2}{\@setcpageref}{\@setcpagerefrange}%
- \@crefstarredfalse}
+ \@crefstarredfalse}%
\DeclareRobustCommand{\cpagerefrange}{%
- \@ifstar{\@cpagerefrangestar{cref}}{\@cpagerefrangenostar{cref}}}
+ \@ifstar{\@cpagerefrangestar{cref}}{\@cpagerefrangenostar{cref}}}%
\DeclareRobustCommand{\Cpagerefrange}{%
- \@ifstar{\@cpagerefrangestar{Cref}}{\@cpagerefrangenostar{Cref}}}
- \def\@cpagerefrangenostar#1#2#3{\@setcpagerefrange{#2}{#3}{#1}{}}
+ \@ifstar{\@cpagerefrangestar{Cref}}{\@cpagerefrangenostar{Cref}}}%
+ \def\@cpagerefrangenostar#1#2#3{\@setcpagerefrange{#2}{#3}{#1}{}}%
\def\@cpagerefrangestar#1#2#3{%
\@crefstarredtrue%
\@setcpagerefrange{#2}{#3}{#1}{}%
- \@crefstarredfalse}
+ \@crefstarredfalse}%
\DeclareRobustCommand{\labelcref}{%
- \@ifstar{\@labelcrefstar}{\@labelcrefnostar}}
- \def\@labelcrefnostar#1{\@cref{labelcref}{#1}}
+ \@ifstar{\@labelcrefstar}{\@labelcrefnostar}}%
+ \def\@labelcrefnostar#1{\@cref{labelcref}{#1}}%
\def\@labelcrefstar#1{%
\@crefstarredtrue%
\@cref{labelcref}{#1}%
- \@crefstarredfalse}
+ \@crefstarredfalse}%
\DeclareRobustCommand{\labelcpageref}{%
- \@ifstar{\@labelcpagerefstar}{\@labelcpagerefnostar}}
+ \@ifstar{\@labelcpagerefstar}{\@labelcpagerefnostar}}%
\def\@labelcpagerefnostar#1{%
- \@cpageref{labelcref}{#1}{\@setcpageref}{\@setcpagerefrange}}
+ \@cpageref{labelcref}{#1}{\@setcpageref}{\@setcpagerefrange}}%
\def\@labelcpagerefstar#1{%
\@crefstarredtrue%
\@cpageref{labelcref}{#1}{\@setcpageref}{\@setcpagerefrange}%
- \@crefstarredfalse}
+ \@crefstarredfalse}%
\def\@@setcref#1#2{%
\cref@getlabel{#2}{\@templabel}%
\if@crefstarred%
#1{\@templabel}{}{}%
\else%
- \edef\@templink{\cref@hyperref{#2}}%
- #1{\@templabel}{\hyper@linkstart{link}{\@templink}}%
- {\hyper@linkend}%
- \fi}
+ \edef\@tempname{\cref@hyperlinkname{#2}}%
+ \edef\@tempurl{\cref@hyperlinkurl{#2}}%
+ #1{\@templabel}{\cref@hyperlink{\@tempurl}{\@tempname}}{\@nil}%
+ \fi}%
\def\@@setcrefrange#1#2#3{%
\cref@getlabel{#2}{\@labela}%
\cref@getlabel{#3}{\@labelb}%
\if@crefstarred%
#1{\@labela}{\@labelb}{}{}{}{}%
\else%
- \edef\@linka{\cref@hyperref{#2}}%
- \edef\@linkb{\cref@hyperref{#3}}%
+ \edef\@tempnamea{\cref@hyperlinkname{#2}}%
+ \edef\@tempurlb{\cref@hyperlinkurl{#3}}%
+ \edef\@tempnameb{\cref@hyperlinkname{#3}}%
+ \edef\@tempurla{\cref@hyperlinkurl{#2}}%
#1{\@labela}{\@labelb}%
- {\hyper@linkstart{link}{\@linka}}{\hyper@linkend}%
- {\hyper@linkstart{link}{\@linkb}}{\hyper@linkend}%
+ {\cref@hyperlink{\@tempurla}{\@tempnamea}}{\@nil}%
+ {\cref@hyperlink{\@tempurlb}{\@tempnameb}}{\@nil}%
\fi}%
\def\@@setcpageref#1#2{%
\cref@getpageref{#2}{\@temppage}%
\if@crefstarred%
#1{\@temppage}{}{}%
\else%
- \edef\@templink{\cref@hyperref{#2}}%
- #1{\@temppage}{\hyper@linkstart{link}{\@templink}}%
- {\hyper@linkend}%
- \fi}
+ \edef\@tempname{\cref@hyperlinkname{#2}}%
+ \edef\@tempurl{\cref@hyperlinkurl{#2}}%
+ #1{\@temppage}{\cref@hyperlink{\@tempurl}{\@tempname}}{\@nil}%
+ \fi}%
\def\@@setcpagerefrange#1#2#3{%
\cref@getpageref{#2}{\@pagea}%
\cref@getpageref{#3}{\@pageb}%
\if@crefstarred%
#1{\@pagea}{\@pageb}{}{}{}{}%
\else%
- \edef\@linka{\cref@hyperref{#2}}%
- \edef\@linkb{\cref@hyperref{#3}}%
+ \edef\@tempnamea{\cref@hyperlinkname{#2}}%
+ \edef\@tempurlb{\cref@hyperlinkurl{#3}}%
+ \edef\@tempnameb{\cref@hyperlinkname{#3}}%
+ \edef\@tempurla{\cref@hyperlinkurl{#2}}%
#1{\@pagea}{\@pageb}%
- {\hyper@linkstart{link}{\@linka}}{\hyper@linkend}%
- {\hyper@linkstart{link}{\@linkb}}{\hyper@linkend}%
+ {\cref@hyperlink{\@tempurla}{\@tempnamea}}{\@nil}%
+ {\cref@hyperlink{\@tempurlb}{\@tempnameb}}{\@nil}%
\fi}%
}% end of false case of \@ifpackagewith{hyperref}{implicit=false}
}{% false case of \@ifpackageloaded{hyperref}
@@ -2161,474 +2228,25 @@
\fi%
\let\if@cref@hyperrefloaded\iffalse%
}% end of \@ifpackageloaded{hyperref}
-\@ifpackageloaded{amsmath}{%
- \AtBeginDocument{
- \let\cref@old@label@in@display\label@in@display
- \def\label@in@display{%
- \@ifnextchar[\label@in@display@optarg\label@in@display@noarg}%]
- \def\label@in@display@noarg#1{\cref@old@label@in@display{{#1}}}
- \def\label@in@display@optarg[#1]#2{%
- \cref@old@label@in@display{[#1]{#2}}}
- \def\ltx@label#1{\cref@label#1}
- }% end of AtBeginDocument
- \def\measure@#1{%
- \begingroup
- \measuring@true
- \global\eqnshift@\z@
- \global\alignsep@\z@
- \global\let\tag@lengths\@empty
- \global\let\field@lengths\@empty
- \savecounters@
- \global\setbox0\vbox{%
- \let\math@cr@@@\math@cr@@@align@measure
- \everycr{\noalign{\global\tag@false
- \global\let\raise@tag\@empty \global\column@\z@}}%
- \let\label\@gobble@optarg% <<< cleveref modification
- \global\row@\z@
- \tabskip\z@
- \halign{\span\align@preamble\crcr
- #1%
- \math@cr@@@
- \global\column@\z@
- \add@amps\maxfields@\cr
- }%
- }%
- \restorecounters@
- \ifodd\maxfields@
- \global\advance\maxfields@\@ne
- \fi
- \ifnum\xatlevel@=\tw@
- \ifnum\maxfields@<\thr@@
- \let\xatlevel@\z@
- \fi
- \fi
- \setbox\z@\vbox{%
- \unvbox\z@ \unpenalty \global\setbox\@ne\lastbox
- }%
- \global\totwidth@\wd\@ne
- \if@fleqn \global\advance\totwidth@\@mathmargin \fi
- \global\let\maxcolumn@widths\@empty
- \begingroup
- \let\or\relax
- \loop
- \global\setbox\@ne\hbox{%
- \unhbox\@ne \unskip \global\setbox\thr@@\lastbox
- }%
- \ifhbox\thr@@
- \xdef\maxcolumn@widths{ \or \the\wd\thr@@ \maxcolumn@widths}%
- \repeat
- \endgroup
- \dimen@\displaywidth
- \advance\dimen@-\totwidth@
- \ifcase\xatlevel@
- \global\alignsep@\z@
- \let\minalignsep\z@
- \@tempcntb\z@
- \if@fleqn
- \@tempcnta\@ne
- \global\eqnshift@\@mathmargin
- \else
- \@tempcnta\tw@
- \global\eqnshift@\dimen@
- \global\divide\eqnshift@\@tempcnta
- \fi
- \or
- \@tempcntb\maxfields@
- \divide\@tempcntb\tw@
- \@tempcnta\@tempcntb
- \advance\@tempcntb\m@ne
- \if@fleqn
- \global\eqnshift@\@mathmargin
- \global\alignsep@\dimen@
- \global\divide\alignsep@\@tempcnta
- \else
- \global\advance\@tempcnta\@ne
- \global\eqnshift@\dimen@
- \global\divide\eqnshift@\@tempcnta
- \global\alignsep@\eqnshift@
- \fi
- \or
- \@tempcntb\maxfields@
- \divide\@tempcntb\tw@
- \global\advance\@tempcntb\m@ne
- \global\@tempcnta\@tempcntb
- \global\eqnshift@\z@
- \global\alignsep@\dimen@
- \if@fleqn
- \global\advance\alignsep@\@mathmargin\relax
- \fi
- \global\divide\alignsep@\@tempcntb
- \fi
- \ifdim\alignsep@<\minalignsep\relax
- \global\alignsep@\minalignsep\relax
- \ifdim\eqnshift@>\z@
- \if@fleqn\else
- \global\eqnshift@\displaywidth
- \global\advance\eqnshift@-\totwidth@
- \global\advance\eqnshift@-\@tempcntb\alignsep@
- \global\divide\eqnshift@\tw@
- \fi
- \fi
- \fi
- \ifdim\eqnshift@<\z@
- \global\eqnshift@\z@
- \fi
- \calc@shift@align
- \global\tagshift@\totwidth@
- \global\advance\tagshift@\@tempcntb\alignsep@
- \if@fleqn
- \ifnum\xatlevel@=\tw@
- \global\advance\tagshift@-\@mathmargin\relax
- \fi
- \else
- \global\advance\tagshift@\eqnshift@
- \fi
- \iftagsleft@ \else
- \global\advance\tagshift@-\displaywidth
- \fi
- \dimen@\minalignsep\relax
- \global\advance\totwidth@\@tempcntb\dimen@
- \ifdim\totwidth@>\displaywidth
- \global\let\displaywidth@\totwidth@
- \else
- \global\let\displaywidth@\displaywidth
- \fi
- \endgroup
- }
- \def\gmeasure@#1{%
- \begingroup
- \measuring@true
- \totwidth@\z@
- \global\let\tag@lengths\@empty
- \savecounters@
- \setbox\@ne\vbox{%
- \everycr{\noalign{\global\tag@false
- \global\let\raise@tag\@empty \global\column@\z@}}%
- \let\label\@gobble% <<< cleveref modification
- \halign{%
- \setboxz@h{$\m@th\displaystyle{##}$}%
- \ifdim\wdz@>\totwidth@
- \global\totwidth@\wdz@
- \fi
- &\setboxz@h{\strut@{##}}%
- \savetaglength@
- \crcr
- #1%
- \math@cr@@@
- }%
- }%
- \restorecounters@
- \if@fleqn
- \global\advance\totwidth@\@mathmargin
- \fi
- \iftagsleft@
- \ifdim\totwidth@>\displaywidth
- \global\let\gdisplaywidth@\totwidth@
- \else
- \global\let\gdisplaywidth@\displaywidth
- \fi
- \fi
- \endgroup
-}
- \def\multline@#1{%
- \Let@
- \@display@init{\global\advance\row@\@ne \global\dspbrk@lvl\m@ne}%
- \chardef\dspbrk@context\z@
- \restore@math@cr
- \let\tag\tag@in@align
- \global\tag@false \global\let\raise@tag\@empty
- \mmeasure@{#1}%
- \let\tag\gobble@tag \let\label\@gobble@optarg% <<< cleveref modification
- \tabskip \if@fleqn \@mathmargin \else \z@skip \fi
- \totwidth@\displaywidth
- \if@fleqn
- \advance\totwidth@-\@mathmargin
- \fi
- \halign\bgroup
- \hbox to\totwidth@{%
- \if@fleqn
- \hskip \@centering \relax
- \else
- \hfil
- \fi
- \strut@
- $\m@th\displaystyle{}##\endmultline@math
- \hfil
- }% $
- \crcr
- \if@fleqn
- \hskip-\@mathmargin
- \def\multline@indent{\hskip\@mathmargin}%
- \else
- \hfilneg
- \def\multline@indent{\hskip\multlinegap}%
- \fi
- \iftagsleft@
- \iftag@
- \begingroup
- \ifshifttag@
- \rlap{\vbox{%
- \normalbaselines
- \hbox{%
- \strut@
- \make@display@tag
- }%
- \vbox to\lineht@{}%
- \raise@tag
- }}%
- \multline@indent
- \else
- \setbox\z@\hbox{\make@display@tag}%
- \dimen@\@mathmargin \advance\dimen@-\wd\z@
- \ifdim\dimen@<\multlinetaggap
- \dimen@\multlinetaggap
- \fi
- \box\z@ \hskip\dimen@\relax
- \fi
- \endgroup
- \else
- \multline@indent
- \fi
- \else
- \multline@indent
- \fi
- #1%
- }
- \def\mmeasure@#1{%
- \begingroup
- \measuring@true
- \def\label{% <<< cleveref modification
- \@ifnextchar[\label@in@mmeasure@optarg%]
- \label@in@mmeasure@noarg}%
- \def\math@cr@@@{\cr}%
- \let\shoveleft\@iden \let\shoveright\@iden
- \savecounters@
- \global\row@\z@
- \setbox\@ne\vbox{%
- \global\let\df@tag\@empty
- \halign{%
- \setboxz@h{\@lign$\m@th\displaystyle{}##$}%
- \iftagsleft@
- \ifnum\row@=\@ne
- \global\totwidth@\wdz@
- \global\lineht@\ht\z@
- \fi
- \else
- \global\totwidth@\wdz@
- \global\lineht@\dp\z@
- \fi
- \crcr
- #1%
- \crcr
- }%
- }%
- \ifx\df@tag\@empty\else\global\tag@true\fi
- \if@eqnsw\global\tag@true\fi
- \iftag@
- \setboxz@h{%
- \if@eqnsw
- \stepcounter{equation}%
- \tagform@\theequation
- \else
- \df@tag
- \fi
- }%
- \global\tagwidth@\wdz@
- \dimen@\totwidth@
- \advance\dimen@\tagwidth@
- \advance\dimen@\multlinetaggap
- \iftagsleft@\else
- \if@fleqn
- \advance\dimen@\@mathmargin
- \fi
- \fi
- \ifdim\dimen@>\displaywidth
- \global\shifttag@true
- \else
- \global\shifttag@false
- \fi
- \fi
- \restorecounters@
- \endgroup
- }
- \def\label@in@mmeasure@noarg#1{%
- \begingroup%
- \measuring@false%
- \cref@old@label@in@display{{#1}}%
- \endgroup}
- \def\label@in@mmeasure@optarg[#1]#2{%
- \begingroup%
- \measuring@false%
- \cref@old@label@in@display{[#1]{#2}}%
- \endgroup}
- \let\cref@old@subequations\subequations%
- \let\cref@old@endsubequations\endsubequations%
- \cref@resetby{equation}{\cref@result}%
- \ifx\cref@result\relax\else%
- \@addtoreset{parentequation}{\cref@result}%
- \fi%
- \renewenvironment{subequations}{%
- \@addtoreset{equation}{parentequation}%
- \cref@old@subequations%
- }{%
- \gdef\cl@parentequation{}%
- \cref@old@endsubequations%
- \setcounter{parentequation}{0}%
- }%
- \def\make@df@tag@@#1{%
- \gdef\df@tag{\maketag@@@{#1}\def\@currentlabel{#1}%
- \def\cref@currentlabel{[equation][2147483647][]#1}}}
- \def\make@df@tag@@@#1{%
- \gdef\df@tag{\tagform@{#1}%
- \toks@\@xp{\p@equation{#1}}%
- \edef\@currentlabel{\the\toks@}%
- \edef\cref@currentlabel{[equation][2147483647][]\the\toks@}}}
-}{}% end of \@ifpackageloaded{amsmath}
-\@ifpackageloaded{IEEEtrantools}{%
- \PackageInfo{cleveref}{`IEEEtrantools' support loaded}%
- \let\cref@orig@@IEEEeqnarray\@@IEEEeqnarray
- \def\@@IEEEeqnarray[#1]#2{%
- \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}%
-\let\cref@thmnoarg\@thm
-\def\@thm{\@ifnextchar[{\cref@thmoptarg}{\cref@thmnoarg}}%]
-\def\cref@thmoptarg[#1]#2#3#4{%
- \ifhmode\unskip\unskip\par\fi%
- \normalfont%
- \trivlist%
- \let\thmheadnl\relax%
- \let\thm@swap\@gobble%
- \thm@notefont{\fontseries\mddefault\upshape}%
- \thm@headpunct{.}% add period after heading
- \thm@headsep 5\p@ plus\p@ minus\p@\relax%
- \thm@space@setup%
- #2% style overrides
- \@topsep \thm@preskip % used by thm head
- \@topsepadd \thm@postskip % used by \@endparenv
- \def\@tempa{#3}\ifx\@empty\@tempa%
- \def\@tempa{\@oparg{\@begintheorem{#4}{}}[]}%
- \else%
- \refstepcounter[#1]{#3}% <<< cleveref modification
- \def\@tempa{\@oparg{\@begintheorem{#4}{\csname the#3\endcsname}}[]}%
- \fi%
- \@tempa}
-\def\@ynthm#1[#2]#3{%
- \edef\@tempa{\expandafter\noexpand%
- \csname cref@#1@name@preamble\endcsname}%
- \edef\@tempb{\expandafter\noexpand%
- \csname Cref@#1@name@preamble\endcsname}%
- \def\@tempc{#3}%
- \ifx\@tempc\@empty\relax%
- \expandafter\gdef\@tempa{}%
- \expandafter\gdef\@tempb{}%
- \else%
- \if@cref@capitalise%
- \expandafter\expandafter\expandafter\gdef\expandafter%
- \@tempa\expandafter{\MakeUppercase #3}%
- \else%
- \expandafter\expandafter\expandafter\gdef\expandafter%
- \@tempa\expandafter{\MakeLowercase #3}%
- \fi%
- \expandafter\expandafter\expandafter\gdef\expandafter%
- \@tempb\expandafter{\MakeUppercase #3}%
- \fi%
- \cref@stack@add{#1}{\cref@label@types}%
- \ifx\relax#2\relax%
- \def\@tempa{\@oparg{\@xthm{#1}{#3}}[]}%
- \else%
- \@ifundefined{c@#2}{%
- \def\@tempa{\@nocounterr{#2}}%
- }{%
- \@xp\xdef\csname the#1\endcsname{\@xp\@nx\csname the#2\endcsname}%
- \toks@{#3}%
- \@xp\xdef\csname#1\endcsname{%
- \@nx\@thm[#1]{% <<< new optional argument for theorem name
- \let\@nx\thm@swap%
- \if S\thm@swap\@nx\@firstoftwo\else\@nx\@gobble\fi%
- \@xp\@nx\csname th@\the\thm@style\endcsname}%
- {#2}{\the\toks@}}%
- \let\@tempa\relax%
- }%
- \fi%
- \@tempa}
- \let\@xnthm\cref@old@xnthm
- }{}% end of \@ifpackageloaded{amsthm}
- \@ifpackageloaded{ntheorem}{%
- \PackageInfo{cleveref}{`ntheorem' support loaded}%
- \@ifpackagewith{ntheorem}{thref}{%
- \PackageWarning{cleveref}{`cleveref' supersedes `ntheorem's `thref'
- option}%
- \renewcommand{\thref}{\cref}}{}
- \@ifundefined{theorem@prework}{\let\theorem@prework\relax}{}
- \gdef\@thm#1#2#3{%
- \if@thmmarks%
- \stepcounter{end\InTheoType ctr}%
- \fi%
- \renewcommand{\InTheoType}{#1}%
- \if@thmmarks%
- \stepcounter{curr#1ctr}%
- \setcounter{end#1ctr}{0}%
- \fi%
- \refstepcounter[#1]{#2}% <<< cleveref modification
- \theorem@prework%
- \thm@topsepadd \theorempostskipamount%
- \ifvmode \advance\thm@topsepadd\partopsep\fi%
- \trivlist%
- \@topsep \theorempreskipamount%
- \@topsepadd \thm@topsepadd%
- \advance\linewidth -\theorem@indent%
- \advance\@totalleftmargin \theorem@indent%
- \parshape \@ne \@totalleftmargin \linewidth%
- \@ifnextchar[{\@ythm{#1}{#2}{#3}}{\@xthm{#1}{#2}{#3}}%]
- }
- }{}% end of \@ifpackageloaded{ntheorem}
\@ifpackageloaded{varioref}{%
\PackageInfo{cleveref}{`varioref' support loaded}%
\PackageInfo{cleveref}{`cleveref' supersedes `varioref's
\string\labelformat command}%
\def\cref@@vpageref#1[#2]#3{%
\@cpageref{cref}{#3}%
- {\@setvpageref[#1][\vref@space]}{\@setvpagerefrange[#1]}}
+ {\@setvpageref[#1][\vref@space]}{\@setvpagerefrange[#1]}}%
\def\cref@vref#1#2{%
\leavevmode%
\begingroup%
\def\reftextcurrent{}%
\@cref{#1}{#2}\@setcref@space%
\cref@@vpageref{\reftextcurrent}[]{#2}%
- \endgroup}
+ \endgroup}%
\def\cref@vrefrange#1#2#3{%
- \@setcrefrange{#2}{#3}{#1}{}\@setcref@space\vpagerefrange{#2}{#3}}
+ \@setcrefrange{#2}{#3}{#1}{}\@setcref@space\vpagerefrange{#2}{#3}}%
\def\cref@fullref#1#2{%
\@cref{#1}{#2}\@setcref@space%
- \@cpageref{cref}{#2}{\@setfullpageref}{\@setfullpagerefrange}}
+ \@cpageref{cref}{#2}{\@setfullpageref}{\@setfullpagerefrange}}%
\def\cref@vpagerefconjunction#1{%
\def\@tempa{#1}%
\def\@tempb{@second}%
@@ -2644,112 +2262,112 @@
\@setcref@lastconjunction%
\fi%
\fi%
- \fi}
- \def\@setcref@space{ }
+ \fi}%
+ \def\@setcref@space{ }%
\def\@setvpageref[#1][#2]#3#4#5{%
\cref@vpagerefconjunction{#5}%
\def\vref@space{}%
\begingroup%
\cref@patchreftexts{#5}%
\@@setvpageref{#1}[#2]{#3}%
- \endgroup}
- \def\@@setvpageref#1[#2]#3{\cref@old@@vpageref{#1}[#2]{#3}}
+ \endgroup}%
+ \def\@@setvpageref#1[#2]#3{\cref@old@@vpageref{#1}[#2]{#3}}%
\def\@setvpagerefrange[#1]#2#3#4#5{%
\cref@vpagerefconjunction{#5}%
\let\vref@space\relax%
\begingroup%
\cref@patchreftexts{#5}%
\@@setvpagerefrange[#1]{#2}{#3}%
- \endgroup}
- \def\@@setvpagerefrange[#1]#2#3{\vpagerefrange[#1]{#2}{#3}}
+ \endgroup}%
+ \def\@@setvpagerefrange[#1]#2#3{\vpagerefrange[#1]{#2}{#3}}%
\def\@setfullpageref#1#2#3{%
\cref@vpagerefconjunction{#3}%
\begingroup%
\cref@patchreftexts{#3}%
\@@setfullpageref{#1}%
- \endgroup}
- \def\@@setfullpageref#1{\reftextfaraway{#1}}
+ \endgroup}%
+ \def\@@setfullpageref#1{\reftextfaraway{#1}}%
\def\@setfullpagerefrange#1#2#3#4{%
\cref@vpagerefconjunction{#4}%
\begingroup%
\cref@patchreftexts{#4}%
\@@setfullpagerefrange{#1}{#2}%
- \endgroup}
- \def\@@setfullpagerefrange#1#2{\reftextpagerange{#1}{#2}}
+ \endgroup}%
+ \def\@@setfullpagerefrange#1#2{\reftextpagerange{#1}{#2}}%
\def\cref@old@@vpageref#1[#2]#3{%
\leavevmode%\unskip <<<
- \global\advance\c@vrcnt\@ne
+ \global\advance\c@vrcnt\@ne%
\vref@pagenum\@tempa{\the\c@vrcnt @vr}%
\vref@pagenum\@tempb{\the\c@vrcnt @xvr}%
%\vref@label{\the\c@vrcnt @xvr}% <<<
- \ifx\@tempa\@tempb\else
+ \ifx\@tempa\@tempb\else%
\vref@err{\noexpand\vref or \noexpand\vpageref at page boundary
\@tempb-\@tempa\space (may loop)%
}%
- \fi
+ \fi%
\vrefpagenum\thevpagerefnum{#3}%
- \vref@space
- \ifx\@tempa\thevpagerefnum
+ \vref@space%
+ \ifx\@tempa\thevpagerefnum%
\def\@tempc{#1}%
- \ifx\@tempc\@empty
- \unskip
- \else
+ \ifx\@tempc\@empty%
+ \unskip%
+ \else%
#1%
- \fi
- \else
+ \fi%
+ \else%
#2%
- \is@pos@number\thevpagerefnum
+ \is@pos@number\thevpagerefnum%
{%
- \is@pos@number\@tempa
- {\@tempcnta\@tempa
- \advance\@tempcnta\@ne
+ \is@pos@number\@tempa%
+ {\@tempcnta\@tempa%
+ \advance\@tempcnta\@ne%
}%
{\@tempcnta\maxdimen}%
- \ifnum \thevpagerefnum =\@tempcnta
- \ifodd\@tempcnta
- \if@twoside
- \reftextfaceafter
- \else
- \reftextafter
- \fi
- \else
- \reftextafter
- \fi
- \else
- \advance\@tempcnta-2
- \ifnum \thevpagerefnum =\@tempcnta
- \ifodd\@tempcnta
- \reftextbefore
- \else
- \if@twoside
- \reftextfacebefore
- \else
- \reftextbefore
- \fi
- \fi
- \else
+ \ifnum \thevpagerefnum =\@tempcnta%
+ \ifodd\@tempcnta%
+ \if@twoside%
+ \reftextfaceafter%
+ \else%
+ \reftextafter%
+ \fi%
+ \else%
+ \reftextafter%
+ \fi%
+ \else%
+ \advance\@tempcnta-2%
+ \ifnum \thevpagerefnum =\@tempcnta%
+ \ifodd\@tempcnta%
+ \reftextbefore%
+ \else%
+ \if@twoside%
+ \reftextfacebefore%
+ \else%
+ \reftextbefore%
+ \fi%
+ \fi%
+ \else%
\reftextfaraway{#3}%
- \fi
- \fi
+ \fi%
+ \fi%
}%
{\reftextfaraway{#3}}%
- \fi
+ \fi%
\vref@label{\the\c@vrcnt @xvr}% <<<
\vref@label{\the\c@vrcnt @vr}%
- }
- \let\creftextcurrent\reftextcurrent
- \let\creftextfaceafter\reftextfaceafter
- \let\creftextfacebefore\reftextfacebefore
- \let\creftextafter\reftextafter
- \let\creftextbefore\reftextbefore
- \let\creftextfaraway\reftextfaraway
- \let\creftextpagerange\reftextpagerange
+ }%
+ \let\creftextcurrent\reftextcurrent%
+ \let\creftextfaceafter\reftextfaceafter%
+ \let\creftextfacebefore\reftextfacebefore%
+ \let\creftextafter\reftextafter%
+ \let\creftextbefore\reftextbefore%
+ \let\creftextfaraway\reftextfaraway%
+ \let\creftextpagerange\reftextpagerange%
\def\cref@patchreftexts#1{%
\cref@patchreftext{reftextcurrent}{#1}%
\cref@patchreftext{reftextfaceafter}{#1}%
\cref@patchreftext{reftextfacebefore}{#1}%
\cref@patchreftext{reftextafter}{#1}%
- \cref@patchreftext{reftextbefore}{#1}}
+ \cref@patchreftext{reftextbefore}{#1}}%
\def\cref@patchreftext#1#2{%
\def\@tempa{#2}%
\ifx\@tempa\@empty%
@@ -2792,57 +2410,532 @@
\fi%
\fi%
\fi%
- \fi}
- \def\@setcref@pairconjunction{\crefpairconjunction}
- \def\@setcref@middleconjunction{\crefmiddleconjunction}
- \def\@setcref@lastconjunction{\creflastconjunction}
+ \fi}%
+ \def\@setcref@pairconjunction{\crefpairconjunction}%
+ \def\@setcref@middleconjunction{\crefmiddleconjunction}%
+ \def\@setcref@lastconjunction{\creflastconjunction}%
\AtBeginDocument{%
- \def\@@vpageref#1[#2]#3{\cref@@vpageref{#1}[#2]{#3}}
- }
- \if@cref@hyperrefloaded\relax% hyperref loaded
+ \def\@@vpageref#1[#2]#3{\cref@@vpageref{#1}[#2]{#3}}%
+ }%
+ \if@cref@hyperrefloaded\relax% hyperref loaded%
\DeclareRobustCommand{\vref}{%
- \@ifstar{\cref@vrefstar{cref}}{\cref@vref{cref}}}
+ \@ifstar{\cref@vrefstar{cref}}{\cref@vref{cref}}}%
\DeclareRobustCommand{\Vref}{%
- \@ifstar{\cref@vrefstar{Cref}}{\cref@vref{Cref}}}
+ \@ifstar{\cref@vrefstar{Cref}}{\cref@vref{Cref}}}%
\DeclareRobustCommand{\vrefrange}{%
- \@ifstar{\cref@vrefrangestar{cref}}{\cref@vrefrange{cref}}}
+ \@ifstar{\cref@vrefrangestar{cref}}{\cref@vrefrange{cref}}}%
\DeclareRobustCommand{\Vrefrange}{%
- \@ifstar{\cref@vrefrangestar{Cref}}{\cref@vrefrange{Cref}}}
+ \@ifstar{\cref@vrefrangestar{Cref}}{\cref@vrefrange{Cref}}}%
\DeclareRobustCommand{\fullref}{%
- \@ifstar{\cref@fullrefstar{cref}}{\cref@fullref{cref}}}
+ \@ifstar{\cref@fullrefstar{cref}}{\cref@fullref{cref}}}%
\DeclareRobustCommand{\Fullref}{%
- \@ifstar{\cref@fullrefstar{Cref}}{\cref@fullref{Cref}}}
+ \@ifstar{\cref@fullrefstar{Cref}}{\cref@fullref{Cref}}}%
\def\cref@vrefstar#1#2{%
\@crefstarredtrue%
\cref@vref{#1}{#2}%
- \@crefstarredfalse}
+ \@crefstarredfalse}%
\def\cref@vrefrangestar#1#2#3{%
\@crefstarredtrue%
\cref@vrefrange{#1}{#2}{#3}%
- \@crefstarredfalse}
+ \@crefstarredfalse}%
\def\cref@fullrefstar#1#2{%
\@crefstarredtrue%
\cref@fullref{#1}{#2}%
- \@crefstarredfalse}
+ \@crefstarredfalse}%
\else%
- \DeclareRobustCommand{\vref}{\cref@vref{cref}}
- \DeclareRobustCommand{\Vref}{\cref@vref{Cref}}
- \DeclareRobustCommand{\vrefrange}{\cref@vrefrange{cref}}
- \DeclareRobustCommand{\Vrefrange}{\cref@vrefrange{Cref}}
- \DeclareRobustCommand{\fullref}{\cref@fullref{cref}}
- \DeclareRobustCommand{\Fullref}{\cref@fullref{Cref}}
+ \DeclareRobustCommand{\vref}{\cref@vref{cref}}%
+ \DeclareRobustCommand{\Vref}{\cref@vref{Cref}}%
+ \DeclareRobustCommand{\vrefrange}{\cref@vrefrange{cref}}%
+ \DeclareRobustCommand{\Vrefrange}{\cref@vrefrange{Cref}}%
+ \DeclareRobustCommand{\fullref}{\cref@fullref{cref}}%
+ \DeclareRobustCommand{\Fullref}{\cref@fullref{Cref}}%
\fi% end of test for hyperref
}{}% end of \@ifpackageloaded{varioref}
+\@ifpackageloaded{amsmath}{%
+ \AtBeginDocument{%
+ \let\cref@old@label@in@display\label@in@display%
+ \def\label@in@display{%
+ \@ifnextchar[\label@in@display@optarg\label@in@display@noarg}%]
+ \def\label@in@display@noarg#1{\cref@old@label@in@display{{#1}}}%
+ \def\label@in@display@optarg[#1]#2{%
+ \cref@old@label@in@display{[#1]{#2}}}%
+ \def\ltx@label#1{\cref@label#1}%
+ }% end of AtBeginDocument
+ \def\measure@#1{%
+ \begingroup%
+ \measuring@true%
+ \global\eqnshift@\z@%
+ \global\alignsep@\z@%
+ \global\let\tag@lengths\@empty%
+ \global\let\field@lengths\@empty%
+ \savecounters@%
+ \global\setbox0\vbox{%
+ \let\math@cr@@@\math@cr@@@align@measure%
+ \everycr{\noalign{\global\tag@false%
+ \global\let\raise@tag\@empty \global\column@\z@}}%
+ \let\label\@gobble@optarg% <<< cleveref modification
+ \global\row@\z@%
+ \tabskip\z@%
+ \halign{\span\align@preamble\crcr%
+ #1%
+ \math@cr@@@%
+ \global\column@\z@%
+ \add@amps\maxfields@\cr%
+ }%
+ }%
+ \restorecounters@%
+ \ifodd\maxfields@%
+ \global\advance\maxfields@\@ne%
+ \fi%
+ \ifnum\xatlevel@=\tw@%
+ \ifnum\maxfields@<\thr@@%
+ \let\xatlevel@\z@%
+ \fi%
+ \fi%
+ \setbox\z@\vbox{%
+ \unvbox\z@ \unpenalty \global\setbox\@ne\lastbox%
+ }%
+ \global\totwidth@\wd\@ne%
+ \if@fleqn \global\advance\totwidth@\@mathmargin \fi%
+ \global\let\maxcolumn@widths\@empty%
+ \begingroup%
+ \let\or\relax%
+ \loop%
+ \global\setbox\@ne\hbox{%
+ \unhbox\@ne \unskip \global\setbox\thr@@\lastbox%
+ }%
+ \ifhbox\thr@@%
+ \xdef\maxcolumn@widths{ \or \the\wd\thr@@ \maxcolumn@widths}%
+ \repeat%
+ \endgroup%
+ \dimen@\displaywidth%
+ \advance\dimen@-\totwidth@%
+ \ifcase\xatlevel@%
+ \global\alignsep@\z@%
+ \let\minalignsep\z@%
+ \@tempcntb\z@%
+ \if@fleqn%
+ \@tempcnta\@ne%
+ \global\eqnshift@\@mathmargin%
+ \else%
+ \@tempcnta\tw@%
+ \global\eqnshift@\dimen@%
+ \global\divide\eqnshift@\@tempcnta%
+ \fi%
+ \or%
+ \@tempcntb\maxfields@%
+ \divide\@tempcntb\tw@%
+ \@tempcnta\@tempcntb%
+ \advance\@tempcntb\m@ne%
+ \if@fleqn%
+ \global\eqnshift@\@mathmargin%
+ \global\alignsep@\dimen@%
+ \global\divide\alignsep@\@tempcnta%
+ \else%
+ \global\advance\@tempcnta\@ne%
+ \global\eqnshift@\dimen@%
+ \global\divide\eqnshift@\@tempcnta%
+ \global\alignsep@\eqnshift@%
+ \fi%
+ \or%
+ \@tempcntb\maxfields@%
+ \divide\@tempcntb\tw@%
+ \global\advance\@tempcntb\m@ne%
+ \global\@tempcnta\@tempcntb%
+ \global\eqnshift@\z@%
+ \global\alignsep@\dimen@%
+ \if@fleqn%
+ \global\advance\alignsep@\@mathmargin\relax%
+ \fi%
+ \global\divide\alignsep@\@tempcntb%
+ \fi%
+ \ifdim\alignsep@<\minalignsep\relax%
+ \global\alignsep@\minalignsep\relax%
+ \ifdim\eqnshift@>\z@%
+ \if@fleqn\else%
+ \global\eqnshift@\displaywidth%
+ \global\advance\eqnshift@-\totwidth@%
+ \global\advance\eqnshift@-\@tempcntb\alignsep@%
+ \global\divide\eqnshift@\tw@%
+ \fi%
+ \fi%
+ \fi%
+ \ifdim\eqnshift@<\z@%
+ \global\eqnshift@\z@%
+ \fi%
+ \calc@shift@align%
+ \global\tagshift@\totwidth@%
+ \global\advance\tagshift@\@tempcntb\alignsep@%
+ \if@fleqn%
+ \ifnum\xatlevel@=\tw@%
+ \global\advance\tagshift@-\@mathmargin\relax%
+ \fi%
+ \else%
+ \global\advance\tagshift@\eqnshift@%
+ \fi%
+ \iftagsleft@ \else%
+ \global\advance\tagshift@-\displaywidth%
+ \fi%
+ \dimen@\minalignsep\relax%
+ \global\advance\totwidth@\@tempcntb\dimen@%
+ \ifdim\totwidth@>\displaywidth%
+ \global\let\displaywidth@\totwidth@%
+ \else%
+ \global\let\displaywidth@\displaywidth%
+ \fi%
+ \endgroup%
+ }%
+ \def\gmeasure@#1{%
+ \begingroup%
+ \measuring@true%
+ \totwidth@\z@%
+ \global\let\tag@lengths\@empty%
+ \savecounters@%
+ \setbox\@ne\vbox{%
+ \everycr{\noalign{\global\tag@false%
+ \global\let\raise@tag\@empty \global\column@\z@}}%
+ \let\label\@gobble% <<< cleveref modification
+ \halign{%
+ \setboxz@h{$\m@th\displaystyle{##}$}%
+ \ifdim\wdz@>\totwidth@%
+ \global\totwidth@\wdz@%
+ \fi%
+ &\setboxz@h{\strut@{##}}%
+ \savetaglength@%
+ \crcr%
+ #1%
+ \math@cr@@@%
+ }%
+ }%
+ \restorecounters@%
+ \if@fleqn%
+ \global\advance\totwidth@\@mathmargin%
+ \fi%
+ \iftagsleft@%
+ \ifdim\totwidth@>\displaywidth%
+ \global\let\gdisplaywidth@\totwidth@%
+ \else%
+ \global\let\gdisplaywidth@\displaywidth%
+ \fi%
+ \fi%
+ \endgroup%
+}%
+ \def\multline@#1{%
+ \Let@%
+ \@display@init{\global\advance\row@\@ne \global\dspbrk@lvl\m@ne}%
+ \chardef\dspbrk@context\z@%
+ \restore@math@cr%
+ \let\tag\tag@in@align%
+ \global\tag@false \global\let\raise@tag\@empty%
+ \mmeasure@{#1}%
+ \let\tag\gobble@tag \let\label\@gobble@optarg% <<< cleveref modification
+ \tabskip \if@fleqn \@mathmargin \else \z@skip \fi%
+ \totwidth@\displaywidth%
+ \if@fleqn%
+ \advance\totwidth@-\@mathmargin%
+ \fi%
+ \halign\bgroup%
+ \hbox to\totwidth@{%
+ \if@fleqn%
+ \hskip \@centering \relax%
+ \else%
+ \hfil%
+ \fi%
+ \strut@%
+ $\m@th\displaystyle{}##\endmultline@math%
+ \hfil%
+ }% $
+ \crcr%
+ \if@fleqn%
+ \hskip-\@mathmargin%
+ \def\multline@indent{\hskip\@mathmargin}%
+ \else%
+ \hfilneg%
+ \def\multline@indent{\hskip\multlinegap}%
+ \fi%
+ \iftagsleft@%
+ \iftag@%
+ \begingroup%
+ \ifshifttag@%
+ \rlap{\vbox{%
+ \normalbaselines%
+ \hbox{%
+ \strut@%
+ \make@display@tag%
+ }%
+ \vbox to\lineht@{}%
+ \raise@tag%
+ }}%
+ \multline@indent%
+ \else%
+ \setbox\z@\hbox{\make@display@tag}%
+ \dimen@\@mathmargin \advance\dimen@-\wd\z@%
+ \ifdim\dimen@<\multlinetaggap%
+ \dimen@\multlinetaggap%
+ \fi%
+ \box\z@ \hskip\dimen@\relax%
+ \fi%
+ \endgroup%
+ \else%
+ \multline@indent%
+ \fi%
+ \else%
+ \multline@indent%
+ \fi%
+ #1%
+ }%
+ \def\mmeasure@#1{%
+ \begingroup%
+ \measuring@true%
+ \def\label{% <<< cleveref modification
+ \@ifnextchar[\label@in@mmeasure@optarg%]
+ \label@in@mmeasure@noarg}%
+ \def\math@cr@@@{\cr}%
+ \let\shoveleft\@iden \let\shoveright\@iden%
+ \savecounters@%
+ \global\row@\z@%
+ \setbox\@ne\vbox{%
+ \global\let\df@tag\@empty%
+ \halign{%
+ \setboxz@h{\@lign$\m@th\displaystyle{}##$}%
+ \iftagsleft@%
+ \ifnum\row@=\@ne%
+ \global\totwidth@\wdz@%
+ \global\lineht@\ht\z@%
+ \fi%
+ \else%
+ \global\totwidth@\wdz@%
+ \global\lineht@\dp\z@%
+ \fi%
+ \crcr%
+ #1%
+ \crcr%
+ }%
+ }%
+ \ifx\df@tag\@empty\else\global\tag@true\fi%
+ \if@eqnsw\global\tag@true\fi%
+ \iftag@%
+ \setboxz@h{%
+ \if@eqnsw%
+ \stepcounter{equation}%
+ \tagform@\theequation%
+ \else%
+ \df@tag%
+ \fi%
+ }%
+ \global\tagwidth@\wdz@%
+ \dimen@\totwidth@%
+ \advance\dimen@\tagwidth@%
+ \advance\dimen@\multlinetaggap%
+ \iftagsleft@\else%
+ \if@fleqn%
+ \advance\dimen@\@mathmargin%
+ \fi%
+ \fi%
+ \ifdim\dimen@>\displaywidth%
+ \global\shifttag@true%
+ \else%
+ \global\shifttag@false%
+ \fi%
+ \fi%
+ \restorecounters@%
+ \endgroup%
+ }%
+ \def\label@in@mmeasure@noarg#1{%
+ \begingroup%
+ \measuring@false%
+ \cref@old@label@in@display{{#1}}%
+ \endgroup}%
+ \def\label@in@mmeasure@optarg[#1]#2{%
+ \begingroup%
+ \measuring@false%
+ \cref@old@label@in@display{[#1]{#2}}%
+ \endgroup}%
+ \let\cref@old@subequations\subequations%
+ \let\cref@old@endsubequations\endsubequations%
+ \cref@resetby{equation}{\cref@result}%
+ \ifx\cref@result\relax\else%
+ \@addtoreset{parentequation}{\cref@result}%
+ \fi%
+ \renewenvironment{subequations}{%
+ \@addtoreset{equation}{parentequation}%
+ \let\cref@orig@equation@alias\cref@equation@alias%
+ \@ifundefined{cref@subequation@alias}%
+ {\crefalias{equation}{subequation}}%
+ {\def\@tempa{{equation}}%
+ \expandafter\expandafter\expandafter\crefalias%
+ \expandafter\@tempa\expandafter{\cref@subequation@alias}}%
+ \cref@old@subequations%
+ }{%
+ \gdef\cl@parentequation{}%
+ \cref@old@endsubequations%
+ \setcounter{parentequation}{0}%
+ \@ifundefined{cref@orig@cref@equation@alias}%
+ {\let\cref@equation@alias\relax}%
+ {\let\cref@equation@alias\cref@orig@equation@alias\relax}%
+ \let\cref@orig@equation@alias\relax%
+ }%
+ \let\cref@old@make@df@tag@@\make@df@tag@@%
+ \def\make@df@tag@@#1{%
+ \cref@old@make@df@tag@@{#1}%
+ \let\cref@old@df@tag\df@tag%
+ \expandafter\gdef\expandafter\df@tag\expandafter{%
+ \cref@old@df@tag%
+ \def\cref@currentlabel{[equation][2147483647][]#1}}}%
+ \let\cref@old@make@df@tag@@@\make@df@tag@@@%
+ \def\make@df@tag@@@#1{%
+ \cref@old@make@df@tag@@@{#1}%
+ \let\cref@old@df@tag\df@tag%
+ \expandafter\gdef\expandafter\df@tag\expandafter{%
+ \cref@old@df@tag%
+ \toks@\@xp{\p@equation{#1}}%
+ \edef\cref@currentlabel{[equation][2147483647][]\the\toks@}}}%
+}{}% end of \@ifpackageloaded{amsmath}
+\@ifpackageloaded{amsthm}{%
+ \PackageInfo{cleveref}{`amsthm' support loaded}%
+ \let\cref@thmnoarg\@thm%
+ \def\@thm{\@ifnextchar[{\cref@thmoptarg}{\cref@thmnoarg}}%]
+ \def\cref@thmoptarg[#1]#2#3#4{%
+ \ifhmode\unskip\unskip\par\fi%
+ \normalfont%
+ \trivlist%
+ \let\thmheadnl\relax%
+ \let\thm@swap\@gobble%
+ \thm@notefont{\fontseries\mddefault\upshape}%
+ \thm@headpunct{.}% add period after heading
+ \thm@headsep 5\p@ plus\p@ minus\p@\relax%
+ \thm@space@setup%
+ #2% style overrides
+ \@topsep \thm@preskip % used by thm head
+ \@topsepadd \thm@postskip % used by \@endparenv
+ \def\@tempa{#3}\ifx\@empty\@tempa%
+ \def\@tempa{\@oparg{\@begintheorem{#4}{}}[]}%
+ \else%
+ \refstepcounter[#1]{#3}% <<< cleveref modification
+ \def\@tempa{\@oparg{\@begintheorem{#4}{\csname the#3\endcsname}}[]}%
+ \fi%
+ \@tempa}%
+ \def\@ynthm#1[#2]#3{%
+ \edef\@tempa{\expandafter\noexpand%
+ \csname cref@#1@name@preamble\endcsname}%
+ \edef\@tempb{\expandafter\noexpand%
+ \csname Cref@#1@name@preamble\endcsname}%
+ \def\@tempc{#3}%
+ \ifx\@tempc\@empty\relax%
+ \expandafter\gdef\@tempa{}%
+ \expandafter\gdef\@tempb{}%
+ \else%
+ \if@cref@capitalise%
+ \expandafter\expandafter\expandafter\gdef\expandafter%
+ \@tempa\expandafter{\MakeUppercase #3}%
+ \else%
+ \expandafter\expandafter\expandafter\gdef\expandafter%
+ \@tempa\expandafter{\MakeLowercase #3}%
+ \fi%
+ \expandafter\expandafter\expandafter\gdef\expandafter%
+ \@tempb\expandafter{\MakeUppercase #3}%
+ \fi%
+ \cref@stack@add{#1}{\cref@label@types}%
+ \ifx\relax#2\relax%
+ \def\@tempa{\@oparg{\@xthm{#1}{#3}}[]}%
+ \else%
+ \@ifundefined{c@#2}{%
+ \def\@tempa{\@nocounterr{#2}}%
+ }{%
+ \@xp\xdef\csname the#1\endcsname{\@xp\@nx\csname the#2\endcsname}%
+ \toks@{#3}%
+ \@xp\xdef\csname#1\endcsname{%
+ \@nx\@thm[#1]{% <<< new optional argument for theorem name
+ \let\@nx\thm@swap%
+ \if S\thm@swap\@nx\@firstoftwo\else\@nx\@gobble\fi%
+ \@xp\@nx\csname th@\the\thm@style\endcsname}%
+ {#2}{\the\toks@}}%
+ \let\@tempa\relax%
+ }%
+ \fi%
+ \@tempa}%
+ \let\@xnthm\cref@old@xnthm%
+}{}% end of \@ifpackageloaded{amsthm}
+\@ifpackageloaded{ntheorem}{%
+ \PackageInfo{cleveref}{`ntheorem' support loaded}%
+ \@ifpackagewith{ntheorem}{thref}{%
+ \PackageWarning{cleveref}{`cleveref' supersedes `ntheorem's `thref'
+ option}%
+ \renewcommand{\thref}{\cref}}{}%
+ \@ifundefined{theorem@prework}{\let\theorem@prework\relax}{}%
+ \gdef\@thm#1#2#3{%
+ \if@thmmarks%
+ \stepcounter{end\InTheoType ctr}%
+ \fi%
+ \renewcommand{\InTheoType}{#1}%
+ \if@thmmarks%
+ \stepcounter{curr#1ctr}%
+ \setcounter{end#1ctr}{0}%
+ \fi%
+ \refstepcounter[#1]{#2}% <<< cleveref modification
+ \theorem@prework%
+ \thm@topsepadd \theorempostskipamount%
+ \ifvmode \advance\thm@topsepadd\partopsep\fi%
+ \trivlist%
+ \@topsep \theorempreskipamount%
+ \@topsepadd \thm@topsepadd%
+ \advance\linewidth -\theorem@indent%
+ \advance\@totalleftmargin \theorem@indent%
+ \parshape \@ne \@totalleftmargin \linewidth%
+ \@ifnextchar[{\@ythm{#1}{#2}{#3}}{\@xthm{#1}{#2}{#3}}%]
+ }%
+}{}% end of \@ifpackageloaded{ntheorem}
+\@ifpackageloaded{IEEEtrantools}{%
+ \PackageInfo{cleveref}{`IEEEtrantools' support loaded}%
+ \let\cref@orig@@IEEEeqnarray\@@IEEEeqnarray%
+ \def\@@IEEEeqnarray[#1]#2{%
+ \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{breqn}{%
+ \PackageInfo{cleveref}{`breqn' support loaded}%
+ \let\cref@old@eq@setnumber\eq@setnumber%
+ \def\eq@setnumber{%
+ \cref@old@eq@setnumber%
+ \cref@constructprefix{equation}{\cref@result}%
+ \protected@xdef\cref@currentlabel{%
+ [equation][\arabic{equation}][\cref@result]\p@equation\theequation}}%
+}{}% end of \@ifpackageloaded{breqn}
\@ifpackageloaded{algorithmicx}{%
\PackageInfo{cleveref}{`algorithmicx' support loaded}%
\g@addto@macro\ALG@step{%
\addtocounter{ALG@line}{-1}%
\refstepcounter{ALG@line}%
\expandafter\@cref@getprefix\cref@currentlabel\@nil\cref@currentprefix%
- \xdef\cref@currentprefix{\cref@currentprefix}}
+ \xdef\cref@currentprefix{\cref@currentprefix}}%
\g@addto@macro\ALG@beginalgorithmic{%
\def\cref@currentlabel{%
- [line][\arabic{ALG@line}][\cref@currentprefix]\theALG@line}}
+ [line][\arabic{ALG@line}][\cref@currentprefix]\theALG@line}}%
}{}% end of \@ifpackageloaded{algorithmicx}
\@ifpackageloaded{listings}{%
\PackageInfo{cleveref}{`listings' support loaded}%
@@ -2850,10 +2943,10 @@
\crefalias{lstnumber}{line}%
\lst@AddToHook{Init}{%
\def\cref@currentlabel{%
- [line][\arabic{lstnumber}][\cref@currentprefix]\thelstnumber}}
+ [line][\arabic{lstnumber}][\cref@currentprefix]\thelstnumber}}%
\lst@AddToHook{EveryPar}{%
\expandafter\@cref@getprefix\cref@currentlabel\@nil\cref@currentprefix%
- \xdef\cref@currentprefix{\cref@currentprefix}}
+ \xdef\cref@currentprefix{\cref@currentprefix}}%
}{}% end of \@ifpackageloaded{listings}
\@ifpackageloaded{algorithm2e}{%
\PackageInfo{cleveref}{`algorithm2e' support loaded}%
@@ -2873,14 +2966,14 @@
}{}% end of \@ifpackageloaded{algorithm2e}
\@ifpackageloaded{subfig}{%
\PackageInfo{cleveref}{`subfig' support loaded}%
- \AtBeginDocument{
- \let\cref@old@refsteponlycounter\refsteponlycounter
+ \AtBeginDocument{%
+ \let\cref@old@refsteponlycounter\refsteponlycounter%
\def\refsteponlycounter{%
\@ifnextchar[\refstepcounter@optarg%
\cref@old@refsteponlycounter%]
- }}
+ }}%
\def\sf@sub@label(#1){%
- \ifhyperrefloaded
+ \ifhyperrefloaded%
\protected@edef\@currentlabelname{%
\expandafter\strip@period #1\relax.\relax\@@@}%
\fi%
@@ -2889,17 +2982,17 @@
\cref@label}%
}{}% end of \@ifpackageloaded{subfig}
\@ifclassloaded{memoir}{%
- \AtBeginDocument{
+ \AtBeginDocument{%
\def\sf@memsub@label(#1){%
\protected@edef\mem@currentlabelname{#1}%
\let\@memoldlabel\cref@old@label%
\let\cref@old@label\sf@@memsub@label%
- \cref@label}}
-}{}
+ \cref@label}}%
+}{}%
\@ifpackageloaded{caption}{%
\@ifpackagelater{caption}{2011/08/19}{}{%
\PackageInfo{cleveref}{`caption' support loaded}%
- \let\cref@old@caption@xlabel\caption@xlabel
+ \let\cref@old@caption@xlabel\caption@xlabel%
\def\caption@xlabel{%
\let\cref@ORI@label\cref@old@label%
\let\cref@old@label\cref@old@caption@xlabel%
@@ -2909,39 +3002,39 @@
}{}% end of \@ifpackageloaded{caption}
\@ifpackageloaded{aliascnt}{%
\PackageInfo{cleveref}{`aliascnt' support loaded}%
- \let\cref@old@newaliascnt\newaliascnt
+ \let\cref@old@newaliascnt\newaliascnt%
\renewcommand*{\newaliascnt}[2]{%
\cref@old@newaliascnt{#1}{#2}%
\cref@resetby{#2}{\cref@result}%
\ifx\cref@result\relax\else%
\@addtoreset{#1}{\cref@result}%
- \fi}
+ \fi}%
}{}% end of \@ifpackageloaded{aliascnt}
\DeclareOption{poorman}{%
\PackageInfo{cleveref}{option `poorman' loaded}%
- \gdef\cref@poorman@text{}
+ \gdef\cref@poorman@text{}%
\AtBeginDocument{%
\newwrite\@crefscript%
- \immediate\openout\@crefscript=\jobname.sed}
- \newif\if@cref@switched@language
+ \immediate\openout\@crefscript=\jobname.sed}%
+ \newif\if@cref@switched@language%
\@ifpackageloaded{babel}{%
\AtBeginDocument{%
- \let\cref@old@select@language\select@language
+ \let\cref@old@select@language\select@language%
\def\select@language{%
\@cref@switched@languagetrue%
\cref@writelanguagerules%
- \cref@old@select@language}
- \let\cref@old@foreign@language\foreign@language
+ \cref@old@select@language}%
+ \let\cref@old@foreign@language\foreign@language%
\def\foreign@language{%
\@cref@switched@languagetrue%
\cref@writelanguagerules%
- \cref@old@foreign@language}
+ \cref@old@foreign@language}%
\edef\cref@inputlineno{\the\inputlineno}}%
- }{}
+ }{}%
\AtEndDocument{%
\let\select@language\cref@old@select@language%
\let\foreign@language\cref@old@foreign@language%
- \cref@writelanguagerules}
+ \cref@writelanguagerules}%
\def\cref@writelanguagerules{%
\begingroup%
\if@cref@switched@language%
@@ -3066,12 +3159,12 @@
\begingroup%
\newif\if@not@eof%
\def\@eof{\par }%
- \catcode`.=13 \catcode`*=13
- \catcode`[=13 \catcode`]=13
+ \catcode`.=13 \catcode`*=13%
+ \catcode`[=13 \catcode`]=13%
\catcode`^=13 \catcode`$=13 %$
- \catcode`\=0 \catcode`<=1 \catcode`>=2
- \catcode`\\=13 \catcode`\{=12 \catcode`\}=12 \catcode`_=12
- \lccode`/=92
+ \catcode`\=0 \catcode`<=1 \catcode`>=2%
+ \catcode`\\=13 \catcode`\{=12 \catcode`\}=12 \catcode`_=12%
+ \lccode`/=92%
\lccode`~=92\lowercase{\def~{\string/\string/}}%
\lccode`~=42\lowercase{\def~{\string/\string*}}%
\lccode`~=46\lowercase{\def~{\string/\string.}}%
@@ -3079,7 +3172,7 @@
\lccode`~=93\lowercase{\def~{\string/\string]}}%
\lccode`~=94\lowercase{\def~{\string/\string^}}%
\lccode`~=36\lowercase{\def~{\string/\string$}}% $
- \lccode`~=0 \lccode`/=0 \catcode`~=12
+ \lccode`~=0 \lccode`/=0 \catcode`~=12%
\def\cref@poorman@text{}%
\immediate\read\@crefscript to \@tempa%
\ifx\@tempa\@eof%
@@ -3101,9 +3194,9 @@
\endgroup%
\immediate\closein\@crefscript%
\begingroup%
- \lccode`|=92 \lccode`<=123 \lccode`>=125 \lccode`C=67
+ \lccode`|=92 \lccode`<=123 \lccode`>=125 \lccode`C=67%
\lowercase{\def\@tempa{%[|
- s/||label|[[^]]*|]/||label/g}}
+ s/||label|[[^]]*|]/||label/g}}%
\expandafter\g@addto@macro\expandafter%
\cref@poorman@text\expandafter{\@tempa^^J}%
\lowercase{\edef\@tempa{s/||usepackage|(|[.*|]|)|<0,1|><cleveref>//g}}%
@@ -3170,11 +3263,11 @@
\immediate\write\@crefscript{\cref@poorman@text}%
\immediate\closeout\@crefscript%
}% end of \AtEndDocument
- \def\cref@getmeaning#1{\expandafter\@cref@getmeaning\meaning#1\@nil}
- \def\@cref@getmeaning#1->#2\@nil{#2}
+ \def\cref@getmeaning#1{\expandafter\@cref@getmeaning\meaning#1\@nil}%
+ \def\@cref@getmeaning#1->#2\@nil{#2}%
\def\cref@writescript#1#2{%
\edef\@tempa{\cref@getmeaning{\cref@poorman@text}}%
- \immediate\write\@crefscript{#1 s/#2/\@tempa/g}}
+ \immediate\write\@crefscript{#1 s/#2/\@tempa/g}}%
\if@cref@hyperrefloaded\relax% hyperref loaded
\def\@crefnostar#1#2{%
\gdef\cref@poorman@text{}%
@@ -3185,7 +3278,7 @@
\else%
\cref@writescript{}{\string\Cref\string{#2\string}}%
\fi}%
- \@tempa#1\@nil}
+ \@tempa#1\@nil}%
\def\@crefstar#1#2{%
\gdef\cref@poorman@text{}%
\@crefstarredtrue\@cref{#1}{#2}\@crefstarredfalse%
@@ -3195,7 +3288,7 @@
\else%
\cref@writescript{}{\string\Cref*\string{#2\string}}%
\fi}%
- \@tempa#1\@nil}
+ \@tempa#1\@nil}%
\def\@crefrangenostar#1#2#3{%
\gdef\cref@poorman@text{}%
\@setcrefrange{#2}{#3}{#1}{}%
@@ -3207,7 +3300,7 @@
\cref@writescript{}{%
\string\Crefrange\string{#2\string}\string{#3\string}}%
\fi}%
- \@tempa#1\@nil}
+ \@tempa#1\@nil}%
\def\@crefrangestar#1#2#3{%
\gdef\cref@poorman@text{}%
\@crefstarredtrue\@setcrefrange{#2}{#3}{#1}{}\@crefstarredfalse%
@@ -3219,7 +3312,7 @@
\cref@writescript{}{%
\string\Crefrange*\string{#2\string}\string{#3\string}}%
\fi}%
- \@tempa#1\@nil}
+ \@tempa#1\@nil}%
\def\@cpagerefnostar#1#2{%
\gdef\cref@poorman@text{}%
\@cpageref{#1}{#2}{\@setcpageref}{\@setcpagerefrange}%
@@ -3229,7 +3322,7 @@
\else%
\cref@writescript{}{\string\Cpageref\string{#2\string}}%
\fi}%
- \@tempa#1\@nil}
+ \@tempa#1\@nil}%
\def\@cpagerefstar#1#2{%
\gdef\cref@poorman@text{}%
\@crefstarredtrue%
@@ -3241,7 +3334,7 @@
\else%
\cref@writescript{}{\string\Cpageref*\string{#2\string}}%
\fi}%
- \@tempa#1\@nil}
+ \@tempa#1\@nil}%
\def\@cpagerefrangenostar#1#2#3{%
\gdef\cref@poorman@text{}%
\@setcpagerefrange{#2}{#3}{#1}{}%
@@ -3253,7 +3346,7 @@
\cref@writescript{}{%
\string\Cpagerefrange\string{#2\string}\string{#3\string}}%
\fi}%
- \@tempa#1\@nil}
+ \@tempa#1\@nil}%
\def\@cpagerefrangestar#1#2#3{%
\gdef\cref@poorman@text{}%
\@crefstarredtrue%
@@ -3267,113 +3360,113 @@
\cref@writescript{}{%
\string\Cpagerefrange*\string{#2\string}\string{#3\string}}%
\fi}%
- \@tempa#1\@nil}
+ \@tempa#1\@nil}%
\def\@labelcrefnostar#1{%
\gdef\cref@poorman@text{}%
\@cref{labelcref}{#1}%
- \cref@writescript{}{\string\labelcref\string{#1\string}}}
+ \cref@writescript{}{\string\labelcref\string{#1\string}}}%
\def\@labelcrefstar#1{%
\gdef\cref@poorman@text{}%
\@crefstarredtrue%
\@cref{labelcref}{#1}%
\@crefstarredfalse%
- \cref@writescript{}{\string\labelcref*\string{#1\string}}}
+ \cref@writescript{}{\string\labelcref*\string{#1\string}}}%
\def\@labelcpagerefnostar#1{%
\gdef\cref@poorman@text{}%
\@cpageref{labelcref}{#1}{\@setcpageref}{\@setcpagerefrange}%
- \cref@writescript{}{\string\labelcpageref\string{#1\string}}}
+ \cref@writescript{}{\string\labelcpageref\string{#1\string}}}%
\def\@labelcpagerefstar#1{%
\gdef\cref@poorman@text{}%
\@crefstarredtrue%
\@cpageref{labelcref}{#1}{\@setcpageref}{\@setcpagerefrange}%
\@crefstarredfalse%
- \cref@writescript{}{\string\labelcpageref*\string{#1\string}}}
+ \cref@writescript{}{\string\labelcpageref*\string{#1\string}}}%
\else% hyperref not loaded
\DeclareRobustCommand{\cref}[1]{%
\gdef\cref@poorman@text{}%
\@cref{cref}{#1}%
- \cref@writescript{}{\string\cref\string{#1\string}}}
+ \cref@writescript{}{\string\cref\string{#1\string}}}%
\DeclareRobustCommand{\Cref}[1]{%
\gdef\cref@poorman@text{}%
\@cref{Cref}{#1}%
- \cref@writescript{}{\string\Cref\string{#1\string}}}
+ \cref@writescript{}{\string\Cref\string{#1\string}}}%
\DeclareRobustCommand{\crefrange}[2]{%
\gdef\cref@poorman@text{}%
\@setcrefrange{#1}{#2}{cref}{}%
\cref@writescript{}{%
- \string\crefrange\string{#1\string}\string{#2\string}}}
+ \string\crefrange\string{#1\string}\string{#2\string}}}%
\DeclareRobustCommand{\Crefrange}[2]{%
\gdef\cref@poorman@text{}%
\@setcrefrange{#1}{#2}{Cref}{}%
\cref@writescript{}{%
- \string\Crefrange\string{#1\string}\string{#2\string}}}
+ \string\Crefrange\string{#1\string}\string{#2\string}}}%
\DeclareRobustCommand{\cpageref}[1]{%
\gdef\cref@poorman@text{}%
\@cpageref{cref}{#1}{\@setcpageref}{\@setcpagerefrange}%
- \cref@writescript{}{\string\cpageref\string{#1\string}}}
+ \cref@writescript{}{\string\cpageref\string{#1\string}}}%
\DeclareRobustCommand{\Cpageref}[1]{%
\gdef\cref@poorman@text{}%
\@cpageref{Cref}{#1}{\@setcpageref}{\@setcpagerefrange}%
- \cref@writescript{}{\string\Cpageref\string{#1\string}}}
+ \cref@writescript{}{\string\Cpageref\string{#1\string}}}%
\DeclareRobustCommand{\cpagerefrange}[2]{%
\gdef\cref@poorman@text{}%
\@setcpagerefrange{#1}{#2}{cref}{}%
\cref@writescript{}{%
- \string\cpagerefrange\string{#1\string}\string{#2\string}}}
+ \string\cpagerefrange\string{#1\string}\string{#2\string}}}%
\DeclareRobustCommand{\Cpagerefrange}[2]{%
\gdef\cref@poorman@text{}%
\@setcpagerefrange{#1}{#2}{Cref}{}%
\cref@writescript{}{%
- \string\Cpagerefrange\string{#1\string}\string{#2\string}}}
+ \string\Cpagerefrange\string{#1\string}\string{#2\string}}}%
\DeclareRobustCommand{\labelcref}[1]{%
\gdef\cref@poorman@text{}%
\@cref{labelcref}{#1}%
- \cref@writescript{}{\string\labelcref\string{#1\string}}}
+ \cref@writescript{}{\string\labelcref\string{#1\string}}}%
\DeclareRobustCommand{\labelcpageref}[1]{%
\gdef\cref@poorman@text{}%
\@cpageref{labelcref}{#1}{\@setcpageref}{\@setcpagerefrange}%
- \cref@writescript{}{\string\labelcpageref\string{#1\string}}}
+ \cref@writescript{}{\string\labelcpageref\string{#1\string}}}%
\fi% end of test for hyperref
\DeclareRobustCommand{\namecref}[1]{%
\gdef\cref@poorman@text{}%
\@setnamecref{cref}{#1}{}{}%
- \cref@writescript{}{\string\namecref\string{#1\string}}}
+ \cref@writescript{}{\string\namecref\string{#1\string}}}%
\DeclareRobustCommand{\nameCref}[1]{%
\gdef\cref@poorman@text{}%
\@setnamecref{Cref}{#1}{}{}%
- \cref@writescript{}{\string\nameCref\string{#1\string}}}
+ \cref@writescript{}{\string\nameCref\string{#1\string}}}%
\DeclareRobustCommand{\lcnamecref}[1]{%
\gdef\cref@poorman@text{}%
\@setnamecref{Cref}{#1}{}{\MakeLowercase}%
- \cref@writescript{}{\string\lcnamecref\string{#1\string}}}
+ \cref@writescript{}{\string\lcnamecref\string{#1\string}}}%
\DeclareRobustCommand{\namecrefs}[1]{%
\gdef\cref@poorman@text{}%
\@setnamecref{cref}{#1}{@plural}{}%
- \cref@writescript{}{\string\namecrefs\string{#1\string}}}
+ \cref@writescript{}{\string\namecrefs\string{#1\string}}}%
\DeclareRobustCommand{\nameCrefs}[1]{%
\gdef\cref@poorman@text{}%
\@setnamecref{Cref}{#1}{@plural}{}%
- \cref@writescript{}{\string\nameCrefs\string{#1\string}}}
+ \cref@writescript{}{\string\nameCrefs\string{#1\string}}}%
\DeclareRobustCommand{\lcnamecrefs}[1]{%
\gdef\cref@poorman@text{}%
\@setnamecref{Cref}{#1}{@plural}{\MakeLowercase}%
- \cref@writescript{}{\string\lcnamecrefs\string{#1\string}}}
+ \cref@writescript{}{\string\lcnamecrefs\string{#1\string}}}%
\def\@setcref@pairgroupconjunction{%
\crefpairgroupconjunction%
\expandafter\g@addto@macro\expandafter\cref@poorman@text%
- \expandafter{\crefpairgroupconjunction}}
+ \expandafter{\crefpairgroupconjunction}}%
\def\@setcref@middlegroupconjunction{%
\crefmiddlegroupconjunction%
\expandafter\g@addto@macro\expandafter\cref@poorman@text%
- \expandafter{\crefmiddlegroupconjunction}}
+ \expandafter{\crefmiddlegroupconjunction}}%
\def\@setcref@lastgroupconjunction{%
\creflastgroupconjunction%
\expandafter\g@addto@macro\expandafter\cref@poorman@text%
- \expandafter{\creflastgroupconjunction}}
- \let\old@@setcref\@@setcref
- \let\old@@setcrefrange\@@setcrefrange
- \let\old@@setcpageref\@@setcpageref
- \let\old@@setcpagerefrange\@@setcpagerefrange
+ \expandafter{\creflastgroupconjunction}}%
+ \let\old@@setcref\@@setcref%
+ \let\old@@setcrefrange\@@setcrefrange%
+ \let\old@@setcpageref\@@setcpageref%
+ \let\old@@setcpagerefrange\@@setcpagerefrange%
\if@cref@hyperrefloaded\relax% hyperref loaded
\def\@@setcref#1#2{%
\old@@setcref{#1}{#2}%
@@ -3383,7 +3476,7 @@
\else%
\expandafter\g@addto@macro\expandafter\cref@poorman@text%
\expandafter{#1{\ref{#2}}{}{}}%
- \fi}
+ \fi}%
\def\@@setcrefrange#1#2#3{%
\old@@setcrefrange{#1}{#2}{#3}%
\if@crefstarred%
@@ -3392,7 +3485,7 @@
\else%
\expandafter\g@addto@macro\expandafter\cref@poorman@text%
\expandafter{#1{\ref{#2}}{\ref{#3}}{}{}{}{}}%
- \fi}
+ \fi}%
\def\@@setcpageref#1#2{%
\old@@setcpageref{#1}{#2}%
\if@crefstarred%
@@ -3401,7 +3494,7 @@
\else%
\expandafter\g@addto@macro\expandafter\cref@poorman@text%
\expandafter{#1{\pageref{#2}}{}{}}%
- \fi}
+ \fi}%
\def\@@setcpagerefrange#1#2#3{%
\old@@setcpagerefrange{#1}{#2}{#3}%
\if@crefstarred%
@@ -3410,30 +3503,30 @@
\else%
\expandafter\g@addto@macro\expandafter\cref@poorman@text%
\expandafter{#1{\pageref{#2}}{\pageref{#3}}{}{}{}{}}%
- \fi}
+ \fi}%
\else% hyperref not loaded
\def\@@setcref#1#2{%
\old@@setcref{#1}{#2}%
\expandafter\g@addto@macro\expandafter{%
\expandafter\cref@poorman@text\expandafter}%
- \expandafter{#1{\ref{#2}}{}{}}}
+ \expandafter{#1{\ref{#2}}{}{}}}%
\def\@@setcrefrange#1#2#3{%
\old@@setcrefrange{#1}{#2}{#3}%
\expandafter\g@addto@macro%
\expandafter{\expandafter\cref@poorman@text\expandafter}%
- \expandafter{#1{\ref{#2}}{\ref{#3}}{}{}{}{}}}
+ \expandafter{#1{\ref{#2}}{\ref{#3}}{}{}{}{}}}%
\def\@@setcpageref#1#2{%
\old@@setcpageref{#1}{#2}%
\expandafter\g@addto@macro\expandafter{%
\expandafter\cref@poorman@text\expandafter}%
- \expandafter{#1{\pageref{#2}}{}{}}}
+ \expandafter{#1{\pageref{#2}}{}{}}}%
\def\@@setcpagerefrange#1#2#3{%
\old@@setcpagerefrange{#1}{#2}{#3}%
\expandafter\g@addto@macro%
\expandafter{\expandafter\cref@poorman@text\expandafter}%
- \expandafter{#1{\pageref{#2}}{\pageref{#3}}{}{}{}{}}}
+ \expandafter{#1{\pageref{#2}}{\pageref{#3}}{}{}{}{}}}%
\fi% end of hyperref test
- \let\old@@setnamecref\@@setnamecref
+ \let\old@@setnamecref\@@setnamecref%
\def\@@setnamecref#1#2{%
\old@@setnamecref{#1}{#2}%
\expandafter\def\expandafter\@tempa\expandafter{#1}%
@@ -3442,14 +3535,14 @@
\expandafter\expandafter\expandafter{%
\expandafter\expandafter\expandafter\cref@poorman@text%
\expandafter\expandafter\expandafter}%
- \expandafter\expandafter\expandafter{\expandafter\@tempb\@tempa}}
+ \expandafter\expandafter\expandafter{\expandafter\@tempb\@tempa}}%
\@ifpackageloaded{varioref}{%
\AtBeginDocument{%
\def\@@vpageref#1[#2]#3{%
\gdef\cref@poorman@text{}%
\cref@@vpageref{#1}[#2]{#3}%
- \cref@writescript{}{\string\vpageref\string{#3\string}}}
- \let\old@cref@vref\cref@vref
+ \cref@writescript{}{\string\vpageref\string{#3\string}}}%
+ \let\old@cref@vref\cref@vref%
\def\cref@vref#1#2{%
\gdef\cref@poorman@text{}%
\old@cref@vref{#1}{#2}%
@@ -3467,8 +3560,8 @@
\cref@writescript{}{\string\Vref\string{#2\string}}%
\fi%
\fi}%
- \@tempa#1\@nil}
- \let\old@cref@fullref\cref@fullref
+ \@tempa#1\@nil}%
+ \let\old@cref@fullref\cref@fullref%
\def\cref@fullref#1#2{%
\gdef\cref@poorman@text{}%
\old@cref@fullref{#1}{#2}%
@@ -3486,8 +3579,8 @@
\cref@writescript{}{\string\Fullref\string{#2\string}}%
\fi%
\fi}%
- \@tempa#1\@nil}
- \let\old@cref@vrefrange\cref@vrefrange
+ \@tempa#1\@nil}%
+ \let\old@cref@vrefrange\cref@vrefrange%
\def\cref@vrefrange#1#2#3{%
\gdef\cref@poorman@text{}%
\old@cref@vrefrange{#1}{#2}{#3}%
@@ -3509,74 +3602,74 @@
\string\Vrefrange\string{#2\string}\string{#3\string}}%
\fi%
\fi}%
- \@tempa#1\@nil}
+ \@tempa#1\@nil}%
\def\@@setvpageref#1[#2]#3{%
\cref@old@@vpageref{#1}[#2]{#3}%
- \g@addto@macro\cref@poorman@text{\vpageref{#3}}}
+ \g@addto@macro\cref@poorman@text{\vpageref{#3}}}%
\def\@@setvpagerefrange[#1]#2#3{%
\vpagerefrange[#1]{#2}{#3}%
- \g@addto@macro\cref@poorman@text{\vpagerefrange{#2}{#3}}}
+ \g@addto@macro\cref@poorman@text{\vpagerefrange{#2}{#3}}}%
\def\@@setfullpageref#1{%
\reftextfaraway{#1}%
- \g@addto@macro\cref@poorman@text{\reftextfaraway{#1}}}
+ \g@addto@macro\cref@poorman@text{\reftextfaraway{#1}}}%
\def\@@setfullpagerefrange#1#2{%
\reftextpagerange{#1}{#2}%
- \g@addto@macro\cref@poorman@text{\reftextpagerange{#1}{#2}}}
+ \g@addto@macro\cref@poorman@text{\reftextpagerange{#1}{#2}}}%
\def\@setcref@space{ % space here is deliberate
- \g@addto@macro\cref@poorman@text{ }}
+ \g@addto@macro\cref@poorman@text{ }}%
\def\@setcref@pairconjunction{%
\crefpairconjunction%
\expandafter\g@addto@macro\expandafter\cref@poorman@text%
- \expandafter{\crefpairconjunction}}
+ \expandafter{\crefpairconjunction}}%
\def\@setcref@middleconjunction{%
\crefmiddleconjunction%
\expandafter\g@addto@macro\expandafter\cref@poorman@text%
- \expandafter{\crefmiddleconjunction}}
+ \expandafter{\crefmiddleconjunction}}%
\def\@setcref@lastconjunction{%
\creflastconjunction%
\expandafter\g@addto@macro\expandafter\cref@poorman@text%
- \expandafter{\creflastconjunction}}
+ \expandafter{\creflastconjunction}}%
}% end of \AtBeginDocument
}{}% end of \@ifpackageloaded{varioref}
}% end of poorman option
-\newif\if@cref@sort
-\newif\if@cref@compress
-\@cref@sorttrue
-\@cref@compresstrue
+\newif\if@cref@sort%
+\newif\if@cref@compress%
+\@cref@sorttrue%
+\@cref@compresstrue%
\DeclareOption{sort}{%
\PackageInfo{cleveref}{sorting but not compressing references}%
\@cref@sorttrue%
- \@cref@compressfalse}
+ \@cref@compressfalse}%
\DeclareOption{compress}{%
\PackageInfo{cleveref}{compressing but not sorting references}%
\@cref@sortfalse%
- \@cref@compresstrue}
+ \@cref@compresstrue}%
\DeclareOption{sort&compress}{%
\PackageInfo{cleveref}{sorting and compressing references}%
\@cref@sorttrue%
- \@cref@compresstrue}
+ \@cref@compresstrue}%
\DeclareOption{nosort}{%
\PackageInfo{cleveref}{neither sorting nor compressing references}%
\@cref@sortfalse%
- \@cref@compressfalse}
-\newif\if@cref@capitalise
-\@cref@capitalisefalse
+ \@cref@compressfalse}%
+\newif\if@cref@capitalise%
+\@cref@capitalisefalse%
\DeclareOption{capitalise}{%
\PackageInfo{cleveref}{always capitalise cross-reference names}%
- \@cref@capitalisetrue}
+ \@cref@capitalisetrue}%
\DeclareOption{capitalize}{%
\PackageInfo{cleveref}{always capitalise cross-reference names}%
- \@cref@capitalisetrue}
-\newif\if@cref@nameinlink
-\@cref@nameinlinkfalse
+ \@cref@capitalisetrue}%
+\newif\if@cref@nameinlink%
+\@cref@nameinlinkfalse%
\DeclareOption{nameinlink}{%
\PackageInfo{cleveref}{include cross-reference names in hyperlinks}%
- \@cref@nameinlinktrue}
-\newif\if@cref@abbrev
-\@cref@abbrevtrue
+ \@cref@nameinlinktrue}%
+\newif\if@cref@abbrev%
+\@cref@abbrevtrue%
\DeclareOption{noabbrev}{%
\PackageInfo{cleveref}{no abbreviation of names}%
- \@cref@abbrevfalse}
+ \@cref@abbrevfalse}%
\def\cref@addto#1#2{%
\@temptokena{#2}%
\ifx#1\undefined%
@@ -3585,8 +3678,8 @@
\toks@\expandafter{#1}%
\edef#1{\the\toks@\the\@temptokena}%
\fi%
- \@temptokena{}\toks@\@temptokena}
-\@onlypreamble\cref@addto
+ \@temptokena{}\toks@\@temptokena}%
+\@onlypreamble\cref@addto%
\long\def\cref@addlanguagedefs#1#2{%
\@ifpackageloaded{polyglossia}%
{\AtBeginDocument{%
@@ -3598,7 +3691,7 @@
\ifin@%
\AtBeginDocument{%
\expandafter\cref@addto\csname extras#1\endcsname{#2}}%
- \fi}{}}}
+ \fi}{}}}%
\DeclareOption{english}{%
\AtBeginDocument{%
\def\crefrangeconjunction@preamble{ to\nobreakspace}%
@@ -3857,8 +3950,12 @@
\Crefname@preamble{listing}{Listing}{Listings}%
\Crefname@preamble{line}{Zeile}{Zeilen}%
%
+ \if@cref@abbrev%
+ \crefname@preamble{figure}{Abb.}{Abb.}%
+ \else%
+ \crefname@preamble{figure}{Abbildung}{Abbildungen}%
+ \fi%
\crefname@preamble{equation}{Gleichung}{Gleichungen}%
- \crefname@preamble{figure}{Abbildung}{Abbildungen}%
\crefname@preamble{table}{Tabelle}{Tabellen}%
\crefname@preamble{page}{Seite}{Seiten}%
\crefname@preamble{part}{Teil}{Teile}%
@@ -3927,9 +4024,14 @@
\Crefname{listing}{Listing}{Listings}%
\Crefname{line}{Zeile}{Zeilen}%
%
+ \if@cref@abbrev%
+ \crefname{figure}{Abb.}{Abb.}%
+ \crefname{subfigure}{Abb.}{Abb.}%
+ \else%
+ \crefname{figure}{Abbildung}{Abbildungen}%
+ \crefname{subfigure}{Abbildung}{Abbildungen}%
+ \fi%
\crefname{equation}{Gleichung}{Gleichungen}%
- \crefname{figure}{Abbildung}{Abbildungen}%
- \crefname{subfigure}{Abbildung}{Abbildungen}%
\crefname{table}{Tabelle}{Tabellen}%
\crefname{subtable}{Tabelle}{Tabellen}%
\crefname{page}{Seite}{Seiten}%
@@ -3961,8 +4063,8 @@
\crefname{listing}{Listing}{Listings}%
\crefname{line}{Zeile}{Zeilen}}% end \cref@addlangagedefs
\DeclareOption{ngerman}{%
- \ExecuteOptions{german}
- \def\cref@language{ngerman}}
+ \ExecuteOptions{german}%
+ \def\cref@language{ngerman}}%
\cref@addlanguagedefs{ngerman}{%
\PackageInfo{cleveref}{loaded `ngerman' language definitions}%
\renewcommand{\crefrangeconjunction}{ bis\nobreakspace}%
@@ -4009,9 +4111,14 @@
\Crefname{listing}{Listing}{Listings}%
\Crefname{line}{Zeile}{Zeilen}%
%
+ \if@cref@abbrev%
+ \crefname{figure}{Abb.}{Abb.}%
+ \crefname{subfigure}{Abb.}{Abb.}%
+ \else%
+ \crefname{figure}{Abbildung}{Abbildungen}%
+ \crefname{subfigure}{Abbildung}{Abbildungen}%
+ \fi%
\crefname{equation}{Gleichung}{Gleichungen}%
- \crefname{figure}{Abbildung}{Abbildungen}%
- \crefname{subfigure}{Abbildung}{Abbildungen}%
\crefname{table}{Tabelle}{Tabellen}%
\crefname{subtable}{Tabelle}{Tabellen}%
\crefname{page}{Seite}{Seiten}%
@@ -5217,13 +5324,13 @@
{\CYRP\cyrr\cyri\cyrl\cyro\cyrzh\cyre\cyrn\cyri\cyrya}%
\Crefname{subappendix}%
{\CYRP\cyrr\cyri\cyrl\cyro\cyrzh\cyre\cyrn\cyri\cyre}%
- {\CYRP\cyrr\cyri\cyrl\cyro\cyrzh\cyre\cyrn\cyri\cyrya}
+ {\CYRP\cyrr\cyri\cyrl\cyro\cyrzh\cyre\cyrn\cyri\cyrya}%
\Crefname{subsubappendix}%
{\CYRP\cyrr\cyri\cyrl\cyro\cyrzh\cyre\cyrn\cyri\cyre}%
- {\CYRP\cyrr\cyri\cyrl\cyro\cyrzh\cyre\cyrn\cyri\cyrya}
+ {\CYRP\cyrr\cyri\cyrl\cyro\cyrzh\cyre\cyrn\cyri\cyrya}%
\Crefname{subsubsubappendix}%
{\CYRP\cyrr\cyri\cyrl\cyro\cyrzh\cyre\cyrn\cyri\cyre}%
- {\CYRP\cyrr\cyri\cyrl\cyro\cyrzh\cyre\cyrn\cyri\cyrya}
+ {\CYRP\cyrr\cyri\cyrl\cyro\cyrzh\cyre\cyrn\cyri\cyrya}%
\Crefname{enumi}%
{\CYRP\cyru\cyrn\cyrk\cyrt}%
{\CYRP\cyru\cyrn\cyrk\cyrt\cyrery}%
@@ -7140,24 +7247,24 @@
\def\crefmiddlegroupconjunction@preamble{, }%
\def\creflastgroupconjunction@preamble{, e\nobreakspace}%
%
- \Crefname@preamble{equation}{Equa\cc\~ao}{Equa\cc\~oes}%
+ \Crefname@preamble{equation}{Equa\c c\~ao}{Equa\c c\~oes}%
\Crefname@preamble{figure}{Figura}{Figuras}%
\Crefname@preamble{table}{Tabela}{Tabelas}%
\Crefname@preamble{page}{P\'agina}{P\'aginas}%
\Crefname@preamble{part}{Parte}{Partes}%
\Crefname@preamble{chapter}{Cap\'itulo}{Cap\'itulos}%
- \Crefname@preamble{section}{Se\cc\~ao}{Se\cc\~oes}%
+ \Crefname@preamble{section}{Se\c c\~ao}{Se\c c\~oes}%
\Crefname@preamble{appendix}{Ap\^endice}{Ap\^endices}%
\Crefname@preamble{enumi}{Item}{Itens}%
\Crefname@preamble{footnote}{Nota de rodap\'e}{Notas de rodap\'e}%
\Crefname@preamble{theorem}{Teorema}{Teoremas}%
\Crefname@preamble{lemma}{Lema}{Lemas}%
\Crefname@preamble{corollary}{Corol\'ario}{Corol\'arios}%
- \Crefname@preamble{proposition}{Proposi\cc\~ao}{Proposi\cc\~oes}%
- \Crefname@preamble{definition}{Defini\cc\~ao}{Defini\cc\~oes}%
+ \Crefname@preamble{proposition}{Proposi\c c\~ao}{Proposi\c c\~oes}%
+ \Crefname@preamble{definition}{Defini\c c\~ao}{Defini\c c\~oes}%
\Crefname@preamble{result}{Resultado}{Resultados}%
\Crefname@preamble{example}{Exemplo}{Exemplos}%
- \Crefname@preamble{remark}{Observa\cc\~ao}{Observa\cc\~oes}%
+ \Crefname@preamble{remark}{Observa\c c\~ao}{Observa\c c\~oes}%
\Crefname@preamble{note}{Nota}{Notas}%
\Crefname@preamble{algorithm}{Algoritmo}{Algoritmos}%
\Crefname@preamble{listing}{Listagem}{Listagens}%
@@ -7168,25 +7275,25 @@
\crefname@preamble{equation}{Eq.}{Eqs.}%
\crefname@preamble{figure}{Fig.}{Figs.}%
\else%
- \crefname@preamble{equation}{Equa\cc\~ao}{Equa\cc\~oes}%
+ \crefname@preamble{equation}{Equa\c c\~ao}{Equa\c c\~oes}%
\crefname@preamble{figure}{Figura}{Figuras}%
\fi%
\crefname@preamble{page}{P\'agina}{P\'aginas}%
\crefname@preamble{table}{Tabela}{Tabelas}%
\crefname@preamble{part}{Parte}{Partes}%
\crefname@preamble{chapter}{Cap\'itulo}{Cap\'itulos}%
- \crefname@preamble{section}{Se\cc\~ao}{Se\cc\~oes}%
+ \crefname@preamble{section}{Se\c c\~ao}{Se\c c\~oes}%
\crefname@preamble{appendix}{Ap\^endice}{Ap\^endices}%
\crefname@preamble{enumi}{Item}{Itens}%
\crefname@preamble{footnote}{Nota de rodap\'e}{Notas de rodap\'e}%
\crefname@preamble{theorem}{Teorema}{Teoremas}%
\crefname@preamble{lemma}{Lema}{Lemas}%
\crefname@preamble{corollary}{Corol\'ario}{Corol\'arios}%
- \crefname@preamble{proposition}{Proposi\cc\~ao}{Proposi\cc\~oes}%
- \crefname@preamble{definition}{Defini\cc\~ao}{Defini\cc\~oes}%
+ \crefname@preamble{proposition}{Proposi\c c\~ao}{Proposi\c c\~oes}%
+ \crefname@preamble{definition}{Defini\c c\~ao}{Defini\c c\~oes}%
\crefname@preamble{result}{Resultado}{Resultados}%
\crefname@preamble{example}{Exemplo}{Exemplos}%
- \crefname@preamble{remark}{Observa\cc\~ao}{Observa\cc\~oes}%
+ \crefname@preamble{remark}{Observa\c c\~ao}{Observa\c c\~oes}%
\crefname@preamble{note}{Nota}{Notas}%
\crefname@preamble{algorithm}{Algoritmo}{Algoritmos}%
\crefname@preamble{listing}{Listagem}{Listagens}%
@@ -7197,25 +7304,25 @@
\crefname@preamble{equation}{eq.}{eqs.}%
\crefname@preamble{figure}{fig.}{figs.}%
\else%
- \crefname@preamble{equation}{equa\cc\~ao}{equa\cc\~oes}%
+ \crefname@preamble{equation}{equa\c c\~ao}{equa\c c\~oes}%
\crefname@preamble{figure}{figura}{figuras}%
\fi%
\crefname@preamble{page}{p\'agina}{p\'aginas}%
\crefname@preamble{table}{tabela}{tabelas}%
\crefname@preamble{part}{parte}{partes}%
\crefname@preamble{chapter}{cap\'itulo}{cap\'itulos}%
- \crefname@preamble{section}{se\cc\~ao}{se\cc\~oes}%
+ \crefname@preamble{section}{se\c c\~ao}{se\c c\~oes}%
\crefname@preamble{appendix}{ap\^endice}{ap\^endices}%
\crefname@preamble{enumi}{item}{itens}%
\crefname@preamble{footnote}{nota de rodap\'e}{notas de rodap\'e}%
\crefname@preamble{theorem}{teorema}{teoremas}%
\crefname@preamble{lemma}{lema}{lemas}%
\crefname@preamble{corollary}{corol\'ario}{corol\'arios}%
- \crefname@preamble{proposition}{proposi\cc\~ao}{proposi\cc\~oes}%
- \crefname@preamble{definition}{defini\cc\~ao}{defini\cc\~oes}%
+ \crefname@preamble{proposition}{proposi\c c\~ao}{proposi\c c\~oes}%
+ \crefname@preamble{definition}{defini\c c\~ao}{defini\c c\~oes}%
\crefname@preamble{result}{resultado}{resultados}%
\crefname@preamble{example}{exemplo}{exemplos}%
- \crefname@preamble{remark}{observa\cc\~ao}{observa\cc\~oes}%
+ \crefname@preamble{remark}{observa\c c\~ao}{observa\c c\~oes}%
\crefname@preamble{note}{nota}{notas}%
\crefname@preamble{algorithm}{algoritmo}{algoritmos}%
\crefname@preamble{listing}{listagem}{listagens}%
@@ -7235,7 +7342,7 @@
\renewcommand{\crefmiddlegroupconjunction}{, }%
\renewcommand{\creflastgroupconjunction}{ e\nobreakspace}%
%
- \Crefname{equation}{Equa\cc\~ao}{Equa\cc\~oes}%
+ \Crefname{equation}{Equa\c c\~ao}{Equa\c c\~oes}%
\Crefname{figure}{Figura}{Figuras}%
\Crefname{subfigure}{Figura}{Figuras}%
\Crefname{table}{Tabela}{Tabelas}%
@@ -7243,9 +7350,9 @@
\Crefname{page}{P\'agina}{P\'aginas}%
\Crefname{part}{Parte}{Partes}%
\Crefname{chapter}{Cap\'itulo}{Cap\'itulos}%
- \Crefname{section}{Se\cc\~ao}{Se\cc\~oes}%
- \Crefname{subsection}{Se\cc\~ao}{Se\cc\~oes}%
- \Crefname{subsubsection}{Se\cc\~ao}{Se\cc\~oes}%
+ \Crefname{section}{Se\c c\~ao}{Se\c c\~oes}%
+ \Crefname{subsection}{Se\c c\~ao}{Se\c c\~oes}%
+ \Crefname{subsubsection}{Se\c c\~ao}{Se\c c\~oes}%
\Crefname{appendix}{Ap\^endice}{Ap\^endices}%
\Crefname{subappendix}{Ap\^endice}{Ap\^endices}%
\Crefname{subsubappendix}{Ap\^endice}{Ap\^endices}%
@@ -7259,11 +7366,11 @@
\Crefname{theorem}{Teorema}{Teoremas}%
\Crefname{lemma}{Lema}{Lemas}%
\Crefname{corollary}{Corol\'ario}{Corol\'arios}%
- \Crefname{proposition}{Proposi\cc\~ao}{Proposi\cc\~oes}%
- \Crefname{definition}{Defini\cc\~ao}{Defini\cc\~oes}%
+ \Crefname{proposition}{Proposi\c c\~ao}{Proposi\c c\~oes}%
+ \Crefname{definition}{Defini\c c\~ao}{Defini\c c\~oes}%
\Crefname{result}{Resultado}{Resultados}%
\Crefname{example}{Exemplo}{Exemplos}%
- \Crefname{remark}{Observa\cc\~ao}{Observa\cc\~oes}%
+ \Crefname{remark}{Observa\c c\~ao}{Observa\c c\~oes}%
\Crefname{note}{Nota}{Notas}%
\Crefname{algorithm}{Algoritmo}{Algoritmos}%
\Crefname{listing}{Listagem}{Listagens}%
@@ -7275,7 +7382,7 @@
\crefname{figure}{Fig.}{Figs.}%
\crefname{subfigure}{Fig.}{Figs.}%
\else%
- \crefname{equation}{Equa\cc\~ao}{Equa\cc\~oes}%
+ \crefname{equation}{Equa\c c\~ao}{Equa\c c\~oes}%
\crefname{figure}{Figura}{Figuras}%
\crefname{subfigure}{Figura}{Figuras}%
\fi%
@@ -7284,9 +7391,9 @@
\crefname{subtable}{Tabela}{Tabelas}%
\crefname{part}{Parte}{Partes}%
\crefname{chapter}{Cap\'itulo}{Cap\'itulos}%
- \crefname{section}{Se\cc\~ao}{Se\cc\~oes}%
- \crefname{subsection}{Se\cc\~ao}{Se\cc\~oes}%
- \crefname{subsubsection}{Se\cc\~ao}{Se\cc\~oes}%
+ \crefname{section}{Se\c c\~ao}{Se\c c\~oes}%
+ \crefname{subsection}{Se\c c\~ao}{Se\c c\~oes}%
+ \crefname{subsubsection}{Se\c c\~ao}{Se\c c\~oes}%
\crefname{appendix}{Ap\^endice}{Ap\^endices}%
\crefname{subappendix}{Ap\^endice}{Ap\^endices}%
\crefname{subsubappendix}{Ap\^endice}{Ap\^endices}%
@@ -7300,11 +7407,11 @@
\crefname{theorem}{Teorema}{Teoremas}%
\crefname{lemma}{Lema}{Lemas}%
\crefname{corollary}{Corol\'ario}{Corol\'arios}%
- \crefname{proposition}{Proposi\cc\~ao}{Proposi\cc\~oes}%
- \crefname{definition}{Defini\cc\~ao}{Defini\cc\~oes}%
+ \crefname{proposition}{Proposi\c c\~ao}{Proposi\c c\~oes}%
+ \crefname{definition}{Defini\c c\~ao}{Defini\c c\~oes}%
\crefname{result}{Resultado}{Resultados}%
\crefname{example}{Exemplo}{Exemplos}%
- \crefname{remark}{Observa\cc\~ao}{Observa\cc\~oes}%
+ \crefname{remark}{Observa\c c\~ao}{Observa\c c\~oes}%
\crefname{note}{Nota}{Notas}%
\crefname{algorithm}{Algoritmo}{Algoritmos}%
\crefname{listing}{Listagem}{Listagens}%
@@ -7316,7 +7423,7 @@
\crefname{figure}{fig.}{figs.}%
\crefname{subfigure}{fig.}{figs.}%
\else%
- \crefname{equation}{equa\cc\~ao}{equa\cc\~oes}%
+ \crefname{equation}{equa\c c\~ao}{equa\c c\~oes}%
\crefname{figure}{figura}{figuras}%
\crefname{subfigure}{figura}{figuras}%
\fi%
@@ -7325,9 +7432,9 @@
\crefname{page}{p\'agina}{p\'aginas}%
\crefname{part}{parte}{partes}%
\crefname{chapter}{cap\'itulo}{cap\'itulos}%
- \crefname{section}{se\cc\~ao}{se\cc\~oes}%
- \crefname{subsection}{se\cc\~ao}{se\cc\~oes}%
- \crefname{subsubsection}{se\cc\~ao}{se\cc\~oes}%
+ \crefname{section}{se\c c\~ao}{se\c c\~oes}%
+ \crefname{subsection}{se\c c\~ao}{se\c c\~oes}%
+ \crefname{subsubsection}{se\c c\~ao}{se\c c\~oes}%
\crefname{appendix}{ap\^endice}{ap\^endices}%
\crefname{subappendix}{ap\^endice}{ap\^endices}%
\crefname{subsubappendix}{ap\^endice}{ap\^endices}%
@@ -7341,11 +7448,11 @@
\crefname{theorem}{teorema}{teoremas}%
\crefname{lemma}{lema}{lemas}%
\crefname{corollary}{corol\'ario}{corol\'arios}%
- \crefname{proposition}{proposi\cc\~ao}{proposi\cc\~oes}%
- \crefname{definition}{defini\cc\~ao}{defini\cc\~oes}%
+ \crefname{proposition}{proposi\c c\~ao}{proposi\c c\~oes}%
+ \crefname{definition}{defini\c c\~ao}{defini\c c\~oes}%
\crefname{result}{resultado}{resultados}%
\crefname{example}{exemplo}{exemplos}%
- \crefname{remark}{observa\cc\~ao}{observa\cc\~oes}%
+ \crefname{remark}{observa\c c\~ao}{observa\c c\~oes}%
\crefname{note}{nota}{notas}%
\crefname{algorithm}{algoritmo}{algoritmos}%
\crefname{listing}{listagem}{listagens}%
@@ -7368,13 +7475,13 @@
\ifin@%
\ExecuteOptions{nameinlink}%
\fi%
-\crefdefaultlabelformat{#2#1#3}
+\crefdefaultlabelformat{#2#1#3}%
\if@cref@nameinlink%
\creflabelformat{equation}{#2\textup{(#1)}#3}%
\else%
\creflabelformat{equation}{\textup{(#2#1#3)}}%
-\fi
-\@labelcrefdefinedefaultformats
+\fi%
+\@labelcrefdefinedefaultformats%
\@ifpackageloaded{polyglossia}%
{\ifcsdef{languagename}%
{\ExecuteOptions{\languagename}}%
@@ -7382,8 +7489,8 @@
{`polyglossia' loaded but default language not set
- defaulting to english}%
\ExecuteOptions{english}}}%
- {\ExecuteOptions{english}}
-\ProcessOptions*\relax
+ {\ExecuteOptions{english}}%
+\ProcessOptions*\relax%
\AtBeginDocument{%
\edef\@tempa{%
\expandafter\noexpand\csname extras\cref@language\endcsname}%
@@ -7569,134 +7676,134 @@
\cref@isstackfull{\@tempstack}}%
\@ifundefined{cref@subsection@name}{%
\let\cref@subsection@name\cref@section@name%
- \let\cref@subsection@name@plural\cref@section@name@plural}{}%
+ \let\cref@subsection@name@plural\cref@section@name@plural}{}%
\@ifundefined{Cref@subsection@name}{%
\let\Cref@subsection@name\Cref@section@name%
- \let\Cref@subsection@name@plural\Cref@section@name@plural}{}%
+ \let\Cref@subsection@name@plural\Cref@section@name@plural}{}%
\@ifundefined{cref@subsection@format}{%
\let\cref@subsection@format\cref@section@format}{}%
\@ifundefined{Cref@subsection@format}{%
\let\Cref@subsection@format\Cref@section@format}{}%
\@ifundefined{crefrange@subsection@format}{%
\let\crefrange@subsection@format%
- \crefrange@section@format}{}%
+ \crefrange@section@format}{}%
\@ifundefined{Crefrange@subsection@format}{%
\let\Crefrange@subsection@format%
- \Crefrange@section@format}{}%
+ \Crefrange@section@format}{}%
\@ifundefined{cref@subsection@format@first}{%
\let\cref@subsection@format@first%
- \cref@section@format@first}{}%
+ \cref@section@format@first}{}%
\@ifundefined{Cref@subsection@format@first}{%
\let\Cref@subsection@format@first%
- \Cref@section@format@first}{}%
+ \Cref@section@format@first}{}%
\@ifundefined{cref@subsection@format@second}{%
\let\cref@subsection@format@second%
- \cref@section@format@second}{}%
+ \cref@section@format@second}{}%
\@ifundefined{Cref@subsection@format@second}{%
\let\Cref@subsection@format@second%
- \Cref@section@format@second}{}%
+ \Cref@section@format@second}{}%
\@ifundefined{cref@subsection@format@middle}{%
\let\cref@subsection@format@middle%
- \cref@section@format@middle}{}%
+ \cref@section@format@middle}{}%
\@ifundefined{Cref@subsection@format@middle}{%
\let\Cref@subsection@format@middle%
- \Cref@section@format@middle}{}%
+ \Cref@section@format@middle}{}%
\@ifundefined{cref@subsection@format@last}{%
\let\cref@subsection@format@last%
- \cref@section@format@last}{}%
+ \cref@section@format@last}{}%
\@ifundefined{Cref@subsection@format@last}{%
\let\Cref@subsection@format@last%
- \Cref@section@format@last}{}%
+ \Cref@section@format@last}{}%
\@ifundefined{crefrange@subsection@format@first}{%
\let\crefrange@subsection@format@first%
- \crefrange@section@format@first}{}%
+ \crefrange@section@format@first}{}%
\@ifundefined{Crefrange@subsection@format@first}{%
\let\Crefrange@subsection@format@first%
- \Crefrange@section@format@first}{}%
+ \Crefrange@section@format@first}{}%
\@ifundefined{crefrange@subsection@format@second}{%
\let\crefrange@subsection@format@second%
- \crefrange@section@format@second}{}%
+ \crefrange@section@format@second}{}%
\@ifundefined{Crefrange@subsection@format@second}{%
\let\Crefrange@subsection@format@second%
- \Crefrange@section@format@second}{}%
+ \Crefrange@section@format@second}{}%
\@ifundefined{crefrange@subsection@format@middle}{%
\let\crefrange@subsection@format@middle%
- \crefrange@section@format@middle}{}%
+ \crefrange@section@format@middle}{}%
\@ifundefined{Crefrange@subsection@format@middle}{%
\let\Crefrange@subsection@format@middle%
- \Crefrange@section@format@middle}{}%
+ \Crefrange@section@format@middle}{}%
\@ifundefined{crefrange@subsection@format@last}{%
\let\crefrange@subsection@format@last%
- \crefrange@section@format@last}{}%
+ \crefrange@section@format@last}{}%
\@ifundefined{Crefrange@subsection@format@last}{%
\let\Crefrange@subsection@format@last%
- \Crefrange@section@format@last}{}%
+ \Crefrange@section@format@last}{}%
\@ifundefined{cref@subsubsection@name}{%
\let\cref@subsubsection@name\cref@section@name%
- \let\cref@subsubsection@name@plural\cref@section@name@plural}{}%
+ \let\cref@subsubsection@name@plural\cref@section@name@plural}{}%
\@ifundefined{Cref@subsection@name}{%
\let\Cref@subsection@name\Cref@section@name%
- \let\Cref@subsection@name@plural\Cref@section@name@plural}{}%
+ \let\Cref@subsection@name@plural\Cref@section@name@plural}{}%
\@ifundefined{cref@subsubsection@format}{%
\let\cref@subsubsection@format%
- \cref@subsection@format}{}%
+ \cref@subsection@format}{}%
\@ifundefined{Cref@subsubsection@format}{%
\let\Cref@subsubsection@format%
- \Cref@subsection@format}{}%
+ \Cref@subsection@format}{}%
\@ifundefined{crefrange@subsubsection@format}{%
\let\crefrange@subsubsection@format%
- \crefrange@subsection@format}{}%
+ \crefrange@subsection@format}{}%
\@ifundefined{Crefrange@subsubsection@format}{%
\let\Crefrange@subsubsection@format%
- \Crefrange@subsection@format}{}%
+ \Crefrange@subsection@format}{}%
\@ifundefined{cref@subsubsection@format@first}{%
\let\cref@subsubsection@format@first%
- \cref@subsection@format@first}{}%
+ \cref@subsection@format@first}{}%
\@ifundefined{Cref@subsubsection@format@first}{%
\let\Cref@subsubsection@format@first%
- \Cref@subsection@format@first}{}%
+ \Cref@subsection@format@first}{}%
\@ifundefined{cref@subsubsection@format@second}{%
\let\cref@subsubsection@format@second%
- \cref@subsection@format@second}{}%
+ \cref@subsection@format@second}{}%
\@ifundefined{Cref@subsubsection@format@second}{%
\let\Cref@subsubsection@format@second%
- \Cref@subsection@format@second}{}%
+ \Cref@subsection@format@second}{}%
\@ifundefined{cref@subsubsection@format@middle}{%
\let\cref@subsubsection@format@middle%
- \cref@subsection@format@middle}{}%
+ \cref@subsection@format@middle}{}%
\@ifundefined{Cref@subsubsection@format@middle}{%
\let\Cref@subsubsection@format@middle%
- \Cref@subsection@format@middle}{}%
+ \Cref@subsection@format@middle}{}%
\@ifundefined{cref@subsubsection@format@last}{%
\let\cref@subsubsection@format@last%
- \cref@subsection@format@last}{}%
+ \cref@subsection@format@last}{}%
\@ifundefined{Cref@subsubsection@format@last}{%
\let\Cref@subsubsection@format@last%
- \Cref@subsection@format@last}{}%
+ \Cref@subsection@format@last}{}%
\@ifundefined{crefrange@subsubsection@format@first}{%
\let\crefrange@subsubsection@format@first%
- \crefrange@subsection@format@first}{}%
+ \crefrange@subsection@format@first}{}%
\@ifundefined{Crefrange@subsubsection@format@first}{%
\let\Crefrange@subsubsection@format@first%
- \Crefrange@subsection@format@first}{}%
+ \Crefrange@subsection@format@first}{}%
\@ifundefined{crefrange@subsubsection@format@second}{%
\let\crefrange@subsubsection@format@second%
- \crefrange@subsection@format@second}{}%
+ \crefrange@subsection@format@second}{}%
\@ifundefined{Crefrange@subsubsection@format@second}{%
\let\Crefrange@subsubsection@format@second%
- \Crefrange@subsection@format@second}{}%
+ \Crefrange@subsection@format@second}{}%
\@ifundefined{crefrange@subsubsection@format@middle}{%
\let\crefrange@subsubsection@format@middle%
- \crefrange@subsection@format@middle}{}%
+ \crefrange@subsection@format@middle}{}%
\@ifundefined{Crefrange@subsubsection@format@middle}{%
\let\Crefrange@subsubsection@format@middle%
- \Crefrange@subsection@format@middle}{}%
+ \Crefrange@subsection@format@middle}{}%
\@ifundefined{crefrange@subsubsection@format@last}{%
\let\crefrange@subsubsection@format@last%
- \crefrange@subsection@format@last}{}%
+ \crefrange@subsection@format@last}{}%
\@ifundefined{Crefrange@subsubsection@format@last}{%
\let\Crefrange@subsubsection@format@last%
- \Crefrange@subsection@format@last}{}%
+ \Crefrange@subsection@format@last}{}%
\@ifundefined{cref@subappendix@name}{%
\let\cref@subappendix@name\cref@appendix@name%
\let\cref@subappendix@name@plural%
@@ -7711,58 +7818,58 @@
\let\Cref@subappendix@format\Cref@appendix@format}{}%
\@ifundefined{crefrange@subappendix@format}{%
\let\crefrange@subappendix@format%
- \crefrange@appendix@format}{}%
+ \crefrange@appendix@format}{}%
\@ifundefined{Crefrange@subappendix@format}{%
\let\Crefrange@subappendix@format%
- \Crefrange@appendix@format}{}%
+ \Crefrange@appendix@format}{}%
\@ifundefined{cref@subappendix@format@first}{%
\let\cref@subappendix@format@first%
- \cref@appendix@format@first}{}%
+ \cref@appendix@format@first}{}%
\@ifundefined{Cref@subappendix@format@first}{%
\let\Cref@subappendix@format@first%
- \Cref@appendix@format@first}{}%
+ \Cref@appendix@format@first}{}%
\@ifundefined{cref@subappendix@format@second}{%
\let\cref@subappendix@format@second%
- \cref@appendix@format@second}{}%
+ \cref@appendix@format@second}{}%
\@ifundefined{Cref@subappendix@format@second}{%
\let\Cref@subappendix@format@second%
- \Cref@appendix@format@second}{}%
+ \Cref@appendix@format@second}{}%
\@ifundefined{cref@subappendix@format@middle}{%
\let\cref@subappendix@format@middle%
- \cref@appendix@format@middle}{}%
+ \cref@appendix@format@middle}{}%
\@ifundefined{Cref@subappendix@format@middle}{%
\let\Cref@subappendix@format@middle%
- \Cref@appendix@format@middle}{}%
+ \Cref@appendix@format@middle}{}%
\@ifundefined{cref@subappendix@format@last}{%
\let\cref@subappendix@format@last%
- \cref@appendix@format@last}{}%
+ \cref@appendix@format@last}{}%
\@ifundefined{Cref@subappendix@format@last}{%
\let\Cref@subappendix@format@last%
- \Cref@appendix@format@last}{}%
+ \Cref@appendix@format@last}{}%
\@ifundefined{crefrange@subappendix@format@first}{%
\let\crefrange@subappendix@format@first%
- \crefrange@appendix@format@first}{}%
+ \crefrange@appendix@format@first}{}%
\@ifundefined{Crefrange@subappendix@format@first}{%
\let\Crefrange@subappendix@format@first%
- \Crefrange@appendix@format@first}{}%
+ \Crefrange@appendix@format@first}{}%
\@ifundefined{crefrange@subappendix@format@second}{%
\let\crefrange@subappendix@format@second%
- \crefrange@appendix@format@second}{}%
+ \crefrange@appendix@format@second}{}%
\@ifundefined{Crefrange@subappendix@format@second}{%
\let\Crefrange@subappendix@format@second%
- \Crefrange@appendix@format@second}{}%
+ \Crefrange@appendix@format@second}{}%
\@ifundefined{crefrange@subappendix@format@middle}{%
\let\crefrange@subappendix@format@middle%
- \crefrange@appendix@format@middle}{}%
+ \crefrange@appendix@format@middle}{}%
\@ifundefined{Crefrange@subappendix@format@middle}{%
\let\Crefrange@subappendix@format@middle%
- \Crefrange@appendix@format@middle}{}%
+ \Crefrange@appendix@format@middle}{}%
\@ifundefined{crefrange@subappendix@format@last}{%
\let\crefrange@subappendix@format@last%
- \crefrange@appendix@format@last}{}%
+ \crefrange@appendix@format@last}{}%
\@ifundefined{Crefrange@subappendix@format@last}{%
\let\Crefrange@subappendix@format@last%
- \Crefrange@appendix@format@last}{}%
+ \Crefrange@appendix@format@last}{}%
\@ifundefined{cref@subsubappendix@name}{%
\let\cref@subsubappendix@name\cref@appendix@name%
\let\cref@subsubappendix@name@plural%
@@ -7773,488 +7880,548 @@
\Cref@appendix@name@plural}{}%
\@ifundefined{cref@subsubappendix@format}{%
\let\cref@subsubappendix@format%
- \cref@subappendix@format}{}%
+ \cref@subappendix@format}{}%
\@ifundefined{Cref@subsubappendix@format}{%
\let\Cref@subsubappendix@format%
- \Cref@subappendix@format}{}%
+ \Cref@subappendix@format}{}%
\@ifundefined{crefrange@subsubappendix@format}{%
\let\crefrange@subsubappendix@format%
- \crefrange@subappendix@format}{}%
+ \crefrange@subappendix@format}{}%
\@ifundefined{Crefrange@subsubappendix@format}{%
\let\Crefrange@subsubappendix@format%
- \Crefrange@subappendix@format}{}%
+ \Crefrange@subappendix@format}{}%
\@ifundefined{cref@subsubappendix@format@first}{%
\let\cref@subsubappendix@format@first%
- \cref@subappendix@format@first}{}%
+ \cref@subappendix@format@first}{}%
\@ifundefined{Cref@subsubappendix@format@first}{%
\let\Cref@subsubappendix@format@first%
- \Cref@subappendix@format@first}{}%
+ \Cref@subappendix@format@first}{}%
\@ifundefined{cref@subsubappendix@format@second}{%
\let\cref@subsubappendix@format@second%
- \cref@subappendix@format@second}{}%
+ \cref@subappendix@format@second}{}%
\@ifundefined{Cref@subsubappendix@format@second}{%
\let\Cref@subsubappendix@format@second%
- \Cref@subappendix@format@second}{}%
+ \Cref@subappendix@format@second}{}%
\@ifundefined{cref@subsubappendix@format@middle}{%
\let\cref@subsubappendix@format@middle%
- \cref@subappendix@format@middle}{}%
+ \cref@subappendix@format@middle}{}%
\@ifundefined{Cref@subsubappendix@format@middle}{%
\let\Cref@subsubappendix@format@middle%
- \Cref@subappendix@format@middle}{}%
+ \Cref@subappendix@format@middle}{}%
\@ifundefined{cref@subsubappendix@format@last}{%
\let\cref@subsubappendix@format@last%
- \cref@subappendix@format@last}{}%
+ \cref@subappendix@format@last}{}%
\@ifundefined{Cref@subsubappendix@format@last}{%
\let\Cref@subsubappendix@format@last%
- \Cref@subappendix@format@last}{}%
+ \Cref@subappendix@format@last}{}%
\@ifundefined{crefrange@subsubappendix@format@first}{%
\let\crefrange@subsubappendix@format@first%
- \crefrange@subappendix@format@first}{}%
+ \crefrange@subappendix@format@first}{}%
\@ifundefined{Crefrange@subsubappendix@format@first}{%
\let\Crefrange@subsubappendix@format@first%
- \Crefrange@subappendix@format@first}{}%
+ \Crefrange@subappendix@format@first}{}%
\@ifundefined{crefrange@subsubappendix@format@second}{%
\let\crefrange@subsubappendix@format@second%
- \crefrange@subappendix@format@second}{}%
+ \crefrange@subappendix@format@second}{}%
\@ifundefined{Crefrange@subsubappendix@format@second}{%
\let\Crefrange@subsubappendix@format@second%
- \Crefrange@subappendix@format@second}{}%
+ \Crefrange@subappendix@format@second}{}%
\@ifundefined{crefrange@subsubappendix@format@middle}{%
\let\crefrange@subsubappendix@format@middle%
- \crefrange@subappendix@format@middle}{}%
+ \crefrange@subappendix@format@middle}{}%
\@ifundefined{Crefrange@subsubappendix@format@middle}{%
\let\Crefrange@subsubappendix@format@middle%
- \Crefrange@subappendix@format@middle}{}%
+ \Crefrange@subappendix@format@middle}{}%
\@ifundefined{crefrange@subsubappendix@format@last}{%
\let\crefrange@subsubappendix@format@last%
- \crefrange@subappendix@format@last}{}%
+ \crefrange@subappendix@format@last}{}%
\@ifundefined{Crefrange@subsubappendix@format@last}{%
\let\Crefrange@subsubappendix@format@last%
- \Crefrange@subappendix@format@last}{}%
+ \Crefrange@subappendix@format@last}{}%
\@ifundefined{cref@subsubsubappendix@format}{%
\let\cref@subsubsubappendix@format%
- \cref@subsubappendix@format}{}%
+ \cref@subsubappendix@format}{}%
\@ifundefined{Cref@subsubsubappendix@format}{%
\let\Cref@subsubsubappendix@format%
- \Cref@subsubappendix@format}{}%
+ \Cref@subsubappendix@format}{}%
\@ifundefined{crefrange@subsubsubappendix@format}{%
\let\crefrange@subsubsubappendix@format%
- \crefrange@subsubappendix@format}{}%
+ \crefrange@subsubappendix@format}{}%
\@ifundefined{Crefrange@subsubsubappendix@format}{%
\let\Crefrange@subsubsubappendix@format%
- \Crefrange@subsubappendix@format}{}%
+ \Crefrange@subsubappendix@format}{}%
\@ifundefined{cref@subsubsubappendix@format@first}{%
\let\cref@subsubsubappendix@format@first%
- \cref@subsubappendix@format@first}{}%
+ \cref@subsubappendix@format@first}{}%
\@ifundefined{Cref@subsubsubappendix@format@first}{%
\let\Cref@subsubsubappendix@format@first%
- \Cref@subsubappendix@format@first}{}%
+ \Cref@subsubappendix@format@first}{}%
\@ifundefined{cref@subsubsubappendix@format@second}{%
\let\cref@subsubsubappendix@format@second%
- \cref@subsubappendix@format@second}{}%
+ \cref@subsubappendix@format@second}{}%
\@ifundefined{Cref@subsubsubappendix@format@second}{%
\let\Cref@subsubsubappendix@format@second%
- \Cref@subsubappendix@format@second}{}%
+ \Cref@subsubappendix@format@second}{}%
\@ifundefined{cref@subsubsubappendix@format@middle}{%
\let\cref@subsubsubappendix@format@middle%
- \cref@subsubappendix@format@middle}{}%
+ \cref@subsubappendix@format@middle}{}%
\@ifundefined{Cref@subsubsubappendix@format@middle}{%
\let\Cref@subsubsubappendix@format@middle%
- \Cref@subsubappendix@format@middle}{}%
+ \Cref@subsubappendix@format@middle}{}%
\@ifundefined{cref@subsubsubappendix@format@last}{%
\let\cref@subsubsubappendix@format@last%
- \cref@subsubappendix@format@last}{}%
+ \cref@subsubappendix@format@last}{}%
\@ifundefined{Cref@subsubsubappendix@format@last}{%
\let\Cref@subsubsubappendix@format@last%
- \Cref@subsubappendix@format@last}{}%
+ \Cref@subsubappendix@format@last}{}%
\@ifundefined{crefrange@subsubsubappendix@format@first}{%
\let\crefrange@subsubsubappendix@format@first%
- \crefrange@subsubappendix@format@first}{}%
+ \crefrange@subsubappendix@format@first}{}%
\@ifundefined{Crefrange@subsubsubappendix@format@first}{%
\let\Crefrange@subsubsubappendix@format@first%
- \Crefrange@subsubappendix@format@first}{}%
+ \Crefrange@subsubappendix@format@first}{}%
\@ifundefined{crefrange@subsubsubappendix@format@second}{%
\let\crefrange@subsubsubappendix@format@second%
- \crefrange@subsubappendix@format@second}{}%
+ \crefrange@subsubappendix@format@second}{}%
\@ifundefined{Crefrange@subsubsubappendix@format@second}{%
\let\Crefrange@subsubsubappendix@format@second%
- \Crefrange@subsubappendix@format@second}{}%
+ \Crefrange@subsubappendix@format@second}{}%
\@ifundefined{crefrange@subsubsubappendix@format@middle}{%
\let\crefrange@subsubsubappendix@format@middle%
- \crefrange@subsubappendix@format@middle}{}%
+ \crefrange@subsubappendix@format@middle}{}%
\@ifundefined{Crefrange@subsubsubappendix@format@middle}{%
\let\Crefrange@subsubsubappendix@format@middle%
- \Crefrange@subsubappendix@format@middle}{}%
+ \Crefrange@subsubappendix@format@middle}{}%
\@ifundefined{crefrange@subsubsubappendix@format@last}{%
\let\crefrange@subsubsubappendix@format@last%
- \crefrange@subsubappendix@format@last}{}%
+ \crefrange@subsubappendix@format@last}{}%
\@ifundefined{Crefrange@subsubsubappendix@format@last}{%
\let\Crefrange@subsubsubappendix@format@last%
- \Crefrange@subsubappendix@format@last}{}%
+ \Crefrange@subsubappendix@format@last}{}%
\@ifundefined{cref@subfigure@format}{%
\let\cref@subfigure@format%
- \cref@figure@format}{}%
+ \cref@figure@format}{}%
\@ifundefined{Cref@subfigure@format}{%
\let\Cref@subfigure@format%
- \Cref@figure@format}{}%
+ \Cref@figure@format}{}%
\@ifundefined{crefrange@subfigure@format}{%
\let\crefrange@subfigure@format%
- \crefrange@figure@format}{}%
+ \crefrange@figure@format}{}%
\@ifundefined{Crefrange@subfigure@format}{%
\let\Crefrange@subfigure@format%
- \Crefrange@figure@format}{}%
+ \Crefrange@figure@format}{}%
\@ifundefined{cref@subfigure@format@first}{%
\let\cref@subfigure@format@first%
- \cref@figure@format@first}{}%
+ \cref@figure@format@first}{}%
\@ifundefined{Cref@subfigure@format@first}{%
\let\Cref@subfigure@format@first%
- \Cref@figure@format@first}{}%
+ \Cref@figure@format@first}{}%
\@ifundefined{cref@subfigure@format@second}{%
\let\cref@subfigure@format@second%
- \cref@figure@format@second}{}%
+ \cref@figure@format@second}{}%
\@ifundefined{Cref@subfigure@format@second}{%
\let\Cref@subfigure@format@second%
- \Cref@figure@format@second}{}%
+ \Cref@figure@format@second}{}%
\@ifundefined{cref@subfigure@format@middle}{%
\let\cref@subfigure@format@middle%
- \cref@figure@format@middle}{}%
+ \cref@figure@format@middle}{}%
\@ifundefined{Cref@subfigure@format@middle}{%
\let\Cref@subfigure@format@middle%
- \Cref@figure@format@middle}{}%
+ \Cref@figure@format@middle}{}%
\@ifundefined{cref@subfigure@format@last}{%
\let\cref@subfigure@format@last%
- \cref@figure@format@last}{}%
+ \cref@figure@format@last}{}%
\@ifundefined{Cref@subfigure@format@last}{%
\let\Cref@subfigure@format@last%
- \Cref@figure@format@last}{}%
+ \Cref@figure@format@last}{}%
\@ifundefined{crefrange@subfigure@format@first}{%
\let\crefrange@subfigure@format@first%
- \crefrange@figure@format@first}{}%
+ \crefrange@figure@format@first}{}%
\@ifundefined{Crefrange@subfigure@format@first}{%
\let\Crefrange@subfigure@format@first%
- \Crefrange@figure@format@first}{}%
+ \Crefrange@figure@format@first}{}%
\@ifundefined{crefrange@subfigure@format@second}{%
\let\crefrange@subfigure@format@second%
- \crefrange@figure@format@second}{}%
+ \crefrange@figure@format@second}{}%
\@ifundefined{Crefrange@subfigure@format@second}{%
\let\Crefrange@subfigure@format@second%
- \Crefrange@figure@format@second}{}%
+ \Crefrange@figure@format@second}{}%
\@ifundefined{crefrange@subfigure@format@middle}{%
\let\crefrange@subfigure@format@middle%
- \crefrange@figure@format@middle}{}%
+ \crefrange@figure@format@middle}{}%
\@ifundefined{Crefrange@subfigure@format@middle}{%
\let\Crefrange@subfigure@format@middle%
- \Crefrange@figure@format@middle}{}%
+ \Crefrange@figure@format@middle}{}%
\@ifundefined{crefrange@subfigure@format@last}{%
\let\crefrange@subfigure@format@last%
- \crefrange@figure@format@last}{}%
+ \crefrange@figure@format@last}{}%
\@ifundefined{Crefrange@subfigure@format@last}{%
\let\Crefrange@subfigure@format@last%
- \Crefrange@figure@format@last}{}%
+ \Crefrange@figure@format@last}{}%
\@ifundefined{cref@subtable@format}{%
\let\cref@subtable@format%
- \cref@table@format}{}%
+ \cref@table@format}{}%
\@ifundefined{Cref@subtable@format}{%
\let\Cref@subtable@format%
- \Cref@table@format}{}%
+ \Cref@table@format}{}%
\@ifundefined{crefrange@subtable@format}{%
\let\crefrange@subtable@format%
- \crefrange@table@format}{}%
+ \crefrange@table@format}{}%
\@ifundefined{Crefrange@subtable@format}{%
\let\Crefrange@subtable@format%
- \Crefrange@table@format}{}%
+ \Crefrange@table@format}{}%
\@ifundefined{cref@subtable@format@first}{%
\let\cref@subtable@format@first%
- \cref@table@format@first}{}%
+ \cref@table@format@first}{}%
\@ifundefined{Cref@subtable@format@first}{%
\let\Cref@subtable@format@first%
- \Cref@table@format@first}{}%
+ \Cref@table@format@first}{}%
\@ifundefined{cref@subtable@format@second}{%
\let\cref@subtable@format@second%
- \cref@table@format@second}{}%
+ \cref@table@format@second}{}%
\@ifundefined{Cref@subtable@format@second}{%
\let\Cref@subtable@format@second%
- \Cref@table@format@second}{}%
+ \Cref@table@format@second}{}%
\@ifundefined{cref@subtable@format@middle}{%
\let\cref@subtable@format@middle%
- \cref@table@format@middle}{}%
+ \cref@table@format@middle}{}%
\@ifundefined{Cref@subtable@format@middle}{%
\let\Cref@subtable@format@middle%
- \Cref@table@format@middle}{}%
+ \Cref@table@format@middle}{}%
\@ifundefined{cref@subtable@format@last}{%
\let\cref@subtable@format@last%
- \cref@table@format@last}{}%
+ \cref@table@format@last}{}%
\@ifundefined{Cref@subtable@format@last}{%
\let\Cref@subtable@format@last%
- \Cref@table@format@last}{}%
+ \Cref@table@format@last}{}%
\@ifundefined{crefrange@subtable@format@first}{%
\let\crefrange@subtable@format@first%
- \crefrange@table@format@first}{}%
+ \crefrange@table@format@first}{}%
\@ifundefined{Crefrange@subtable@format@first}{%
\let\Crefrange@subtable@format@first%
- \Crefrange@table@format@first}{}%
+ \Crefrange@table@format@first}{}%
\@ifundefined{crefrange@subtable@format@second}{%
\let\crefrange@subtable@format@second%
- \crefrange@table@format@second}{}%
+ \crefrange@table@format@second}{}%
\@ifundefined{Crefrange@subtable@format@second}{%
\let\Crefrange@subtable@format@second%
- \Crefrange@table@format@second}{}%
+ \Crefrange@table@format@second}{}%
\@ifundefined{crefrange@subtable@format@middle}{%
\let\crefrange@subtable@format@middle%
- \crefrange@table@format@middle}{}%
+ \crefrange@table@format@middle}{}%
\@ifundefined{Crefrange@subtable@format@middle}{%
\let\Crefrange@subtable@format@middle%
- \Crefrange@table@format@middle}{}%
+ \Crefrange@table@format@middle}{}%
\@ifundefined{crefrange@subtable@format@last}{%
\let\crefrange@subtable@format@last%
- \crefrange@table@format@last}{}%
+ \crefrange@table@format@last}{}%
\@ifundefined{Crefrange@subtable@format@last}{%
\let\Crefrange@subtable@format@last%
- \Crefrange@table@format@last}{}%
+ \Crefrange@table@format@last}{}%
+ \@ifundefined{cref@subequation@format}{%
+ \let\cref@subequation@format%
+ \cref@equation@format}{}%
+ \@ifundefined{Cref@subequation@format}{%
+ \let\Cref@subequation@format%
+ \Cref@equation@format}{}%
+ \@ifundefined{crefrange@subequation@format}{%
+ \let\crefrange@subequation@format%
+ \crefrange@equation@format}{}%
+ \@ifundefined{Crefrange@subequation@format}{%
+ \let\Crefrange@subequation@format%
+ \Crefrange@equation@format}{}%
+ \@ifundefined{cref@subequation@format@first}{%
+ \let\cref@subequation@format@first%
+ \cref@equation@format@first}{}%
+ \@ifundefined{Cref@subequation@format@first}{%
+ \let\Cref@subequation@format@first%
+ \Cref@equation@format@first}{}%
+ \@ifundefined{cref@subequation@format@second}{%
+ \let\cref@subequation@format@second%
+ \cref@equation@format@second}{}%
+ \@ifundefined{Cref@subequation@format@second}{%
+ \let\Cref@subequation@format@second%
+ \Cref@equation@format@second}{}%
+ \@ifundefined{cref@subequation@format@middle}{%
+ \let\cref@subequation@format@middle%
+ \cref@equation@format@middle}{}%
+ \@ifundefined{Cref@subequation@format@middle}{%
+ \let\Cref@subequation@format@middle%
+ \Cref@equation@format@middle}{}%
+ \@ifundefined{cref@subequation@format@last}{%
+ \let\cref@subequation@format@last%
+ \cref@equation@format@last}{}%
+ \@ifundefined{Cref@subequation@format@last}{%
+ \let\Cref@subequation@format@last%
+ \Cref@equation@format@last}{}%
+ \@ifundefined{crefrange@subequation@format@first}{%
+ \let\crefrange@subequation@format@first%
+ \crefrange@equation@format@first}{}%
+ \@ifundefined{Crefrange@subequation@format@first}{%
+ \let\Crefrange@subequation@format@first%
+ \Crefrange@equation@format@first}{}%
+ \@ifundefined{crefrange@subequation@format@second}{%
+ \let\crefrange@subequation@format@second%
+ \crefrange@equation@format@second}{}%
+ \@ifundefined{Crefrange@subequation@format@second}{%
+ \let\Crefrange@subequation@format@second%
+ \Crefrange@equation@format@second}{}%
+ \@ifundefined{crefrange@subequation@format@middle}{%
+ \let\crefrange@subequation@format@middle%
+ \crefrange@equation@format@middle}{}%
+ \@ifundefined{Crefrange@subequation@format@middle}{%
+ \let\Crefrange@subequation@format@middle%
+ \Crefrange@equation@format@middle}{}%
+ \@ifundefined{crefrange@subequation@format@last}{%
+ \let\crefrange@subequation@format@last%
+ \crefrange@equation@format@last}{}%
+ \@ifundefined{Crefrange@subequation@format@last}{%
+ \let\Crefrange@subequation@format@last%
+ \Crefrange@equation@format@last}{}%
\@ifundefined{cref@enumii@format}{%
\let\cref@enumii@format%
- \cref@enumi@format}{}%
+ \cref@enumi@format}{}%
\@ifundefined{Cref@enumii@format}{%
\let\Cref@enumii@format%
- \Cref@enumi@format}{}%
+ \Cref@enumi@format}{}%
\@ifundefined{crefrange@enumii@format}{%
\let\crefrange@enumii@format%
- \crefrange@enumi@format}{}%
+ \crefrange@enumi@format}{}%
\@ifundefined{Crefrange@enumii@format}{%
\let\Crefrange@enumii@format%
- \Crefrange@enumi@format}{}%
+ \Crefrange@enumi@format}{}%
\@ifundefined{cref@enumii@format@first}{%
\let\cref@enumii@format@first%
- \cref@enumi@format@first}{}%
+ \cref@enumi@format@first}{}%
\@ifundefined{Cref@enumii@format@first}{%
\let\Cref@enumii@format@first%
- \Cref@enumi@format@first}{}%
+ \Cref@enumi@format@first}{}%
\@ifundefined{cref@enumii@format@second}{%
\let\cref@enumii@format@second%
- \cref@enumi@format@second}{}%
+ \cref@enumi@format@second}{}%
\@ifundefined{Cref@enumii@format@second}{%
\let\Cref@enumii@format@second%
- \Cref@enumi@format@second}{}%
+ \Cref@enumi@format@second}{}%
\@ifundefined{cref@enumii@format@middle}{%
\let\cref@enumii@format@middle%
- \cref@enumi@format@middle}{}%
+ \cref@enumi@format@middle}{}%
\@ifundefined{Cref@enumii@format@middle}{%
\let\Cref@enumii@format@middle%
- \Cref@enumi@format@middle}{}%
+ \Cref@enumi@format@middle}{}%
\@ifundefined{cref@enumii@format@last}{%
\let\cref@enumii@format@last%
- \cref@enumi@format@last}{}%
+ \cref@enumi@format@last}{}%
\@ifundefined{Cref@enumii@format@last}{%
\let\Cref@enumii@format@last%
- \Cref@enumi@format@last}{}%
+ \Cref@enumi@format@last}{}%
\@ifundefined{crefrange@enumii@format@first}{%
\let\crefrange@enumii@format@first%
- \crefrange@enumi@format@first}{}%
+ \crefrange@enumi@format@first}{}%
\@ifundefined{Crefrange@enumii@format@first}{%
\let\Crefrange@enumii@format@first%
- \Crefrange@enumi@format@first}{}%
+ \Crefrange@enumi@format@first}{}%
\@ifundefined{crefrange@enumii@format@second}{%
\let\crefrange@enumii@format@second%
- \crefrange@enumi@format@second}{}%
+ \crefrange@enumi@format@second}{}%
\@ifundefined{Crefrange@enumii@format@second}{%
\let\Crefrange@enumii@format@second%
- \Crefrange@enumi@format@second}{}%
+ \Crefrange@enumi@format@second}{}%
\@ifundefined{crefrange@enumii@format@middle}{%
\let\crefrange@enumii@format@middle%
- \crefrange@enumi@format@middle}{}%
+ \crefrange@enumi@format@middle}{}%
\@ifundefined{Crefrange@enumii@format@middle}{%
\let\Crefrange@enumii@format@middle%
- \Crefrange@enumi@format@middle}{}%
+ \Crefrange@enumi@format@middle}{}%
\@ifundefined{crefrange@enumii@format@last}{%
\let\crefrange@enumii@format@last%
- \crefrange@enumi@format@last}{}%
+ \crefrange@enumi@format@last}{}%
\@ifundefined{Crefrange@enumii@format@last}{%
\let\Crefrange@enumii@format@last%
- \Crefrange@enumi@format@last}{}%
+ \Crefrange@enumi@format@last}{}%
\@ifundefined{cref@enumiii@format}{%
\let\cref@enumiii@format%
- \cref@enumii@format}{}%
+ \cref@enumii@format}{}%
\@ifundefined{Cref@enumiii@format}{%
\let\Cref@enumiii@format%
- \Cref@enumii@format}{}%
+ \Cref@enumii@format}{}%
\@ifundefined{crefrange@enumiii@format}{%
\let\crefrange@enumiii@format%
- \crefrange@enumii@format}{}%
+ \crefrange@enumii@format}{}%
\@ifundefined{Crefrange@enumiii@format}{%
\let\Crefrange@enumiii@format%
- \Crefrange@enumii@format}{}%
+ \Crefrange@enumii@format}{}%
\@ifundefined{cref@enumiii@format@first}{%
\let\cref@enumiii@format@first%
- \cref@enumii@format@first}{}%
+ \cref@enumii@format@first}{}%
\@ifundefined{Cref@enumiii@format@first}{%
\let\Cref@enumiii@format@first%
- \Cref@enumii@format@first}{}%
+ \Cref@enumii@format@first}{}%
\@ifundefined{cref@enumiii@format@second}{%
\let\cref@enumiii@format@second%
- \cref@enumii@format@second}{}%
+ \cref@enumii@format@second}{}%
\@ifundefined{Cref@enumiii@format@second}{%
\let\Cref@enumiii@format@second%
- \Cref@enumii@format@second}{}%
+ \Cref@enumii@format@second}{}%
\@ifundefined{cref@enumiii@format@middle}{%
\let\cref@enumiii@format@middle%
- \cref@enumii@format@middle}{}%
+ \cref@enumii@format@middle}{}%
\@ifundefined{Cref@enumiii@format@middle}{%
\let\Cref@enumiii@format@middle%
- \Cref@enumii@format@middle}{}%
+ \Cref@enumii@format@middle}{}%
\@ifundefined{cref@enumiii@format@last}{%
\let\cref@enumiii@format@last%
- \cref@enumii@format@last}{}%
+ \cref@enumii@format@last}{}%
\@ifundefined{Cref@enumiii@format@last}{%
\let\Cref@enumiii@format@last%
- \Cref@enumii@format@last}{}%
+ \Cref@enumii@format@last}{}%
\@ifundefined{crefrange@enumiii@format@first}{%
\let\crefrange@enumiii@format@first%
- \crefrange@enumii@format@first}{}%
+ \crefrange@enumii@format@first}{}%
\@ifundefined{Crefrange@enumiii@format@first}{%
\let\Crefrange@enumiii@format@first%
- \Crefrange@enumii@format@first}{}%
+ \Crefrange@enumii@format@first}{}%
\@ifundefined{crefrange@enumiii@format@second}{%
\let\crefrange@enumiii@format@second%
- \crefrange@enumii@format@second}{}%
+ \crefrange@enumii@format@second}{}%
\@ifundefined{Crefrange@enumiii@format@second}{%
\let\Crefrange@enumiii@format@second%
- \Crefrange@enumii@format@second}{}%
+ \Crefrange@enumii@format@second}{}%
\@ifundefined{crefrange@enumiii@format@middle}{%
\let\crefrange@enumiii@format@middle%
- \crefrange@enumii@format@middle}{}%
+ \crefrange@enumii@format@middle}{}%
\@ifundefined{Crefrange@enumiii@format@middle}{%
\let\Crefrange@enumiii@format@middle%
- \Crefrange@enumii@format@middle}{}%
+ \Crefrange@enumii@format@middle}{}%
\@ifundefined{crefrange@enumiii@format@last}{%
\let\crefrange@enumiii@format@last%
- \crefrange@enumii@format@last}{}%
+ \crefrange@enumii@format@last}{}%
\@ifundefined{Crefrange@enumiii@format@last}{%
\let\Crefrange@enumiii@format@last%
- \Crefrange@enumii@format@last}{}%
+ \Crefrange@enumii@format@last}{}%
\@ifundefined{cref@enumiv@format}{%
\let\cref@enumiv@format%
- \cref@enumiii@format}{}%
+ \cref@enumiii@format}{}%
\@ifundefined{Cref@enumiv@format}{%
\let\Cref@enumiv@format%
- \Cref@enumiii@format}{}%
+ \Cref@enumiii@format}{}%
\@ifundefined{crefrange@enumiv@format}{%
\let\crefrange@enumiv@format%
- \crefrange@enumiii@format}{}%
+ \crefrange@enumiii@format}{}%
\@ifundefined{Crefrange@enumiv@format}{%
\let\Crefrange@enumiv@format%
- \Crefrange@enumiii@format}{}%
+ \Crefrange@enumiii@format}{}%
\@ifundefined{cref@enumiv@format@first}{%
\let\cref@enumiv@format@first%
- \cref@enumiii@format@first}{}%
+ \cref@enumiii@format@first}{}%
\@ifundefined{Cref@enumiv@format@first}{%
\let\Cref@enumiv@format@first%
- \Cref@enumiii@format@first}{}%
+ \Cref@enumiii@format@first}{}%
\@ifundefined{cref@enumiv@format@second}{%
\let\cref@enumiv@format@second%
- \cref@enumiii@format@second}{}%
+ \cref@enumiii@format@second}{}%
\@ifundefined{Cref@enumiv@format@second}{%
\let\Cref@enumiv@format@second%
- \Cref@enumiii@format@second}{}%
+ \Cref@enumiii@format@second}{}%
\@ifundefined{cref@enumiv@format@middle}{%
\let\cref@enumiv@format@middle%
- \cref@enumiii@format@middle}{}%
+ \cref@enumiii@format@middle}{}%
\@ifundefined{Cref@enumiv@format@middle}{%
\let\Cref@enumiv@format@middle%
- \Cref@enumiii@format@middle}{}%
+ \Cref@enumiii@format@middle}{}%
\@ifundefined{cref@enumiv@format@last}{%
\let\cref@enumiv@format@last%
- \cref@enumiii@format@last}{}%
+ \cref@enumiii@format@last}{}%
\@ifundefined{Cref@enumiv@format@last}{%
\let\Cref@enumiv@format@last%
- \Cref@enumiii@format@last}{}%
+ \Cref@enumiii@format@last}{}%
\@ifundefined{crefrange@enumiv@format@first}{%
\let\crefrange@enumiv@format@first%
- \crefrange@enumiii@format@first}{}%
+ \crefrange@enumiii@format@first}{}%
\@ifundefined{Crefrange@enumiv@format@first}{%
\let\Crefrange@enumiv@format@first%
- \Crefrange@enumiii@format@first}{}%
+ \Crefrange@enumiii@format@first}{}%
\@ifundefined{crefrange@enumiv@format@second}{%
\let\crefrange@enumiv@format@second%
- \crefrange@enumiii@format@second}{}%
+ \crefrange@enumiii@format@second}{}%
\@ifundefined{Crefrange@enumiv@format@second}{%
\let\Crefrange@enumiv@format@second%
- \Crefrange@enumiii@format@second}{}%
+ \Crefrange@enumiii@format@second}{}%
\@ifundefined{crefrange@enumiv@format@middle}{%
\let\crefrange@enumiv@format@middle%
- \crefrange@enumiii@format@middle}{}%
+ \crefrange@enumiii@format@middle}{}%
\@ifundefined{Crefrange@enumiv@format@middle}{%
\let\Crefrange@enumiv@format@middle%
- \Crefrange@enumiii@format@middle}{}%
+ \Crefrange@enumiii@format@middle}{}%
\@ifundefined{crefrange@enumiv@format@last}{%
\let\crefrange@enumiv@format@last%
- \crefrange@enumiii@format@last}{}%
+ \crefrange@enumiii@format@last}{}%
\@ifundefined{Crefrange@enumiv@format@last}{%
\let\Crefrange@enumiv@format@last%
- \Crefrange@enumiii@format@last}{}%
+ \Crefrange@enumiii@format@last}{}%
\@ifundefined{cref@enumv@format}{%
\let\cref@enumv@format%
- \cref@enumiv@format}{}%
+ \cref@enumiv@format}{}%
\@ifundefined{Cref@enumv@format}{%
\let\Cref@enumv@format%
- \Cref@enumiv@format}{}%
+ \Cref@enumiv@format}{}%
\@ifundefined{crefrange@enumv@format}{%
\let\crefrange@enumv@format%
- \crefrange@enumiv@format}{}%
+ \crefrange@enumiv@format}{}%
\@ifundefined{Crefrange@enumv@format}{%
\let\Crefrange@enumv@format%
- \Crefrange@enumiv@format}{}%
+ \Crefrange@enumiv@format}{}%
\@ifundefined{cref@enumv@format@first}{%
\let\cref@enumv@format@first%
- \cref@enumiv@format@first}{}%
+ \cref@enumiv@format@first}{}%
\@ifundefined{Cref@enumv@format@first}{%
\let\Cref@enumv@format@first%
- \Cref@enumiv@format@first}{}%
+ \Cref@enumiv@format@first}{}%
\@ifundefined{cref@enumv@format@second}{%
\let\cref@enumv@format@second%
- \cref@enumiv@format@second}{}%
+ \cref@enumiv@format@second}{}%
\@ifundefined{Cref@enumv@format@second}{%
\let\Cref@enumv@format@second%
- \Cref@enumiv@format@second}{}%
+ \Cref@enumiv@format@second}{}%
\@ifundefined{cref@enumv@format@middle}{%
\let\cref@enumv@format@middle%
- \cref@enumiv@format@middle}{}%
+ \cref@enumiv@format@middle}{}%
\@ifundefined{Cref@enumv@format@middle}{%
\let\Cref@enumv@format@middle%
- \Cref@enumiv@format@middle}{}%
+ \Cref@enumiv@format@middle}{}%
\@ifundefined{cref@enumv@format@last}{%
\let\cref@enumv@format@last%
- \cref@enumiv@format@last}{}%
+ \cref@enumiv@format@last}{}%
\@ifundefined{Cref@enumv@format@last}{%
\let\Cref@enumv@format@last%
- \Cref@enumiv@format@last}{}%
+ \Cref@enumiv@format@last}{}%
\@ifundefined{crefrange@enumv@format@first}{%
\let\crefrange@enumv@format@first%
- \crefrange@enumiv@format@first}{}%
+ \crefrange@enumiv@format@first}{}%
\@ifundefined{Crefrange@enumv@format@first}{%
\let\Crefrange@enumv@format@first%
- \Crefrange@enumiv@format@first}{}%
+ \Crefrange@enumiv@format@first}{}%
\@ifundefined{crefrange@enumv@format@second}{%
\let\crefrange@enumv@format@second%
- \crefrange@enumiv@format@second}{}%
+ \crefrange@enumiv@format@second}{}%
\@ifundefined{Crefrange@enumv@format@second}{%
\let\Crefrange@enumv@format@second%
- \Crefrange@enumiv@format@second}{}%
+ \Crefrange@enumiv@format@second}{}%
\@ifundefined{crefrange@enumv@format@middle}{%
\let\crefrange@enumv@format@middle%
- \crefrange@enumiv@format@middle}{}%
+ \crefrange@enumiv@format@middle}{}%
\@ifundefined{Crefrange@enumv@format@middle}{%
\let\Crefrange@enumv@format@middle%
- \Crefrange@enumiv@format@middle}{}%
+ \Crefrange@enumiv@format@middle}{}%
\@ifundefined{crefrange@enumv@format@last}{%
\let\crefrange@enumv@format@last%
- \crefrange@enumiv@format@last}{}%
+ \crefrange@enumiv@format@last}{}%
\@ifundefined{Crefrange@enumv@format@last}{%
\let\Crefrange@enumv@format@last%
- \Crefrange@enumiv@format@last}{}%
+ \Crefrange@enumiv@format@last}{}%
\let\cref@language\relax%
}% end of \AtBeginDocument
\InputIfFileExists{cleveref.cfg}%
- {\PackageInfo{cleveref}{reading definitions from cleveref.cfg}}{}
+ {\PackageInfo{cleveref}{reading definitions from cleveref.cfg}}{}%
\endinput
%%
%% End of file `cleveref.sty'.