summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/cleveref
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-09-06 22:28:52 +0000
committerKarl Berry <karl@freefriends.org>2010-09-06 22:28:52 +0000
commit41f1763602b07a81ef001c41f6ef9faec6f49ddc (patch)
treeaf0def0171966075f80f8eec4279913a8468c52c /Master/texmf-dist/tex/latex/cleveref
parent096fa95fa16c9205c5fca73f875faa7d8389e3b8 (diff)
cleveref 0.17.4 (5sep10)
git-svn-id: svn://tug.org/texlive/trunk@19590 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/cleveref')
-rw-r--r--Master/texmf-dist/tex/latex/cleveref/cleveref.sty621
1 files changed, 356 insertions, 265 deletions
diff --git a/Master/texmf-dist/tex/latex/cleveref/cleveref.sty b/Master/texmf-dist/tex/latex/cleveref/cleveref.sty
index 3f1997989fb..0df796e24c8 100644
--- a/Master/texmf-dist/tex/latex/cleveref/cleveref.sty
+++ b/Master/texmf-dist/tex/latex/cleveref/cleveref.sty
@@ -22,7 +22,7 @@
%% version 1999/12/01 or later.
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesPackage{cleveref}
- [2010/06/24 v0.17.1 Intelligent cross-referencing]
+ [2010/09/04 v0.17.4 Intelligent cross-referencing]
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
@@ -60,11 +60,11 @@
\csname p@#2\endcsname\csname the#2\endcsname}}
\let\cref@old@footnotetext\@footnotetext
\let\cref@old@mpfootnotetext\@mpfootnotetext
-\def\@footnotetext#1{%
+\def\@footnotetext{%
\cref@constructprefix{footnote}{\@result}%
\protected@xdef\cref@currentlabel{%
[footnote][\arabic{footnote}][\@result]\p@footnote\@thefnmark}%
- \cref@old@footnotetext{#1}}
+ \cref@old@footnotetext}
\def\@mpfootnotetext#1{%
\cref@constructprefix{mpfootnote}{\@result}%
\protected@xdef\cref@currentlabel{%
@@ -1487,11 +1487,11 @@
\expandafter\expandafter\expandafter\def%
\expandafter\expandafter\expandafter\@tmpfirst%
\expandafter\expandafter\expandafter{%
- \expandafter\@tmpname\expandafter~\@tmplabel}%
+ \expandafter\@tmpname\expandafter\nobreakspace\@tmplabel}%
\expandafter\expandafter\expandafter\def%
\expandafter\expandafter\expandafter\@tmpFirst%
\expandafter\expandafter\expandafter{%
- \expandafter\@tmpName\expandafter~\@tmplabel}%
+ \expandafter\@tmpName\expandafter\nobreakspace\@tmplabel}%
\expandafter\def\expandafter\@tmplabel\expandafter{\@tmplabel}%
\toksdef\@toksa=0%
\@toksa={\crefformat{#1}}%
@@ -1508,11 +1508,11 @@
\expandafter\expandafter\expandafter\def%
\expandafter\expandafter\expandafter\@tmpfirst%
\expandafter\expandafter\expandafter{%
- \expandafter\@tmpnameplural\expandafter~\@tmprangelabel}%
+ \expandafter\@tmpnameplural\expandafter\nobreakspace\@tmprangelabel}%
\expandafter\expandafter\expandafter\def%
\expandafter\expandafter\expandafter\@tmpFirst%
\expandafter\expandafter\expandafter{%
- \expandafter\@tmpNameplural\expandafter~\@tmprangelabel}%
+ \expandafter\@tmpNameplural\expandafter\nobreakspace\@tmprangelabel}%
\expandafter\def\expandafter\@tmprangelabel%
\expandafter{\@tmprangelabel}%
\toksdef\@toksa=0%
@@ -1535,11 +1535,11 @@
\expandafter\expandafter\expandafter\def%
\expandafter\expandafter\expandafter\@tmpfirst%
\expandafter\expandafter\expandafter{%
- \expandafter\@tmpnameplural\expandafter~\@tmplabel}%
+ \expandafter\@tmpnameplural\expandafter\nobreakspace\@tmplabel}%
\expandafter\expandafter\expandafter\def%
\expandafter\expandafter\expandafter\@tmpFirst%
\expandafter\expandafter\expandafter{%
- \expandafter\@tmpNameplural\expandafter~\@tmplabel}%
+ \expandafter\@tmpNameplural\expandafter\nobreakspace\@tmplabel}%
\expandafter\def\expandafter\@tmpsecond\expandafter{%
\expandafter\crefpairconjunction\@tmplabel}%
\expandafter\def\expandafter\@tmpmiddle\expandafter{%
@@ -1590,11 +1590,11 @@
\expandafter\expandafter\expandafter\def%
\expandafter\expandafter\expandafter\@tmpfirst%
\expandafter\expandafter\expandafter{%
- \expandafter\@tmpnameplural\expandafter~\@tmprangelabel}%
+ \expandafter\@tmpnameplural\expandafter\nobreakspace\@tmprangelabel}%
\expandafter\expandafter\expandafter\def%
\expandafter\expandafter\expandafter\@tmpFirst%
\expandafter\expandafter\expandafter{%
- \expandafter\@tmpNameplural\expandafter~\@tmprangelabel}%
+ \expandafter\@tmpNameplural\expandafter\nobreakspace\@tmprangelabel}%
\expandafter\def\expandafter\@tmpsecond\expandafter{%
\expandafter\crefpairconjunction\@tmprangelabel}%
\expandafter\def\expandafter\@tmpmiddle\expandafter{%
@@ -1936,101 +1936,59 @@
}{}%
\endgroup}
\@ifpackageloaded{hyperref}{%
- \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\H@refstepcounter#1{%
- \cref@old@H@refstepcounter{#1}%
- \cref@constructprefix{#1}{\@result}%
- \@ifundefined{cref@#1@alias}%
- {\def\@tmpa{#1}}%
- {\def\@tmpa{\csname cref@#1@alias\endcsname}}%
- \protected@xdef\cref@currentlabel{%
- [\@tmpa][\arabic{#1}][\@result]%
- \csname p@#1\endcsname\csname the#1\endcsname}}
- \let\refstepcounter@noarg\cref@old@refstepcounter%
- \def\refstepcounter@optarg[#1]#2{%
- \cref@old@refstepcounter{#2}%
- \protected@xdef\cref@currentlabel{%
- \expandafter\cref@override@label@type%
- \cref@currentlabel\@nil{#1}}}
- \renewcommand\appendix{%
- \cref@old@appendix%
- \@ifundefined{chapter}{%
- \def\H@refstepcounter##1{%
- \cref@old@H@refstepcounter{##1}%
- \cref@constructprefix{##1}{\@result}%
- \ifx\@result\@empty%
- \def\@result{2147483647}%
- \else%
- \edef\@result{2147483647,\@result}%
- \fi%
- \def\@tmpa{##1}%
- \def\@tmpb{section}%
- \ifx\@tmpa\@tmpb%
- \protected@xdef\cref@currentlabel{%
- [appendix][\arabic{##1}][\@result]%
- \csname p@##1\endcsname\csname the##1\endcsname}%
- \else%
- \def\@tmpa{##1}%
- \def\@tmpb{subsection}%
- \ifx\@tmpa\@tmpb%
- \protected@xdef\cref@currentlabel{%
- [subappendix][\arabic{##1}][\@result]%
- \csname p@##1\endcsname\csname the##1\endcsname}%
+ \@ifpackagewith{hyperref}{implicit=false}{%
+ \let\if@cref@hyperrefloaded\iffalse%
+ }{%
+ \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\H@refstepcounter#1{%
+ \cref@old@H@refstepcounter{#1}%
+ \cref@constructprefix{#1}{\@result}%
+ \@ifundefined{cref@#1@alias}%
+ {\def\@tmpa{#1}}%
+ {\def\@tmpa{\csname cref@#1@alias\endcsname}}%
+ \protected@xdef\cref@currentlabel{%
+ [\@tmpa][\arabic{#1}][\@result]%
+ \csname p@#1\endcsname\csname the#1\endcsname}}
+ \let\refstepcounter@noarg\cref@old@refstepcounter%
+ \def\refstepcounter@optarg[#1]#2{%
+ \cref@old@refstepcounter{#2}%
+ \protected@xdef\cref@currentlabel{%
+ \expandafter\cref@override@label@type%
+ \cref@currentlabel\@nil{#1}}}
+ \renewcommand\appendix{%
+ \cref@old@appendix%
+ \@ifundefined{chapter}{%
+ \def\H@refstepcounter##1{%
+ \cref@old@H@refstepcounter{##1}%
+ \cref@constructprefix{##1}{\@result}%
+ \ifx\@result\@empty%
+ \def\@result{2147483647}%
\else%
- \def\@tmpa{##1}%
- \def\@tmpb{subsubsection}%
- \ifx\@tmpa\@tmpb%
- \protected@xdef\cref@currentlabel{%
- [subsubappendix][\arabic{##1}][\@result]%
- \csname p@##1\endcsname\csname the##1\endcsname}%
- \else%
- \@ifundefined{cref@##1@alias}%
- {\def\@tmpa{##1}}%
- {\def\@tmpa{\csname cref@##1@alias\endcsname}}%
- \protected@xdef\cref@currentlabel{%
- [\@tmpa][\arabic{##1}][\@result]%
- \csname p@##1\endcsname\csname the##1\endcsname}
- \fi%
+ \edef\@result{2147483647,\@result}%
\fi%
- \fi}%
- }{%
- \def\H@refstepcounter##1{%
- \cref@old@H@refstepcounter{##1}%
- \cref@constructprefix{##1}{\@result}%
- \ifx\@result\@empty%
- \def\@result{2147483647}%
- \else%
- \edef\@result{2147483647,\@result}%
- \fi%
- \def\@tmpa{##1}%
- \def\@tmpb{chapter}%
- \ifx\@tmpa\@tmpb%
- \protected@xdef\cref@currentlabel{%
- [appendix][\arabic{##1}][\@result]%
- \csname p@##1\endcsname\csname the##1\endcsname}%
- \else%
\def\@tmpa{##1}%
\def\@tmpb{section}%
\ifx\@tmpa\@tmpb%
\protected@xdef\cref@currentlabel{%
- [subappendix][\arabic{##1}][\@result]%
+ [appendix][\arabic{##1}][\@result]%
\csname p@##1\endcsname\csname the##1\endcsname}%
\else%
\def\@tmpa{##1}%
\def\@tmpb{subsection}%
\ifx\@tmpa\@tmpb%
\protected@xdef\cref@currentlabel{%
- [subsubappendix][\arabic{##1}][\@result]%
+ [subappendix][\arabic{##1}][\@result]%
\csname p@##1\endcsname\csname the##1\endcsname}%
\else%
\def\@tmpa{##1}%
\def\@tmpb{subsubsection}%
\ifx\@tmpa\@tmpb%
\protected@xdef\cref@currentlabel{%
- [subsubsubappendix][\arabic{##1}][\@result]%
+ [subsubappendix][\arabic{##1}][\@result]%
\csname p@##1\endcsname\csname the##1\endcsname}%
\else%
\@ifundefined{cref@##1@alias}%
@@ -2041,45 +1999,92 @@
\csname p@##1\endcsname\csname the##1\endcsname}
\fi%
\fi%
+ \fi}%
+ }{%
+ \def\H@refstepcounter##1{%
+ \cref@old@H@refstepcounter{##1}%
+ \cref@constructprefix{##1}{\@result}%
+ \ifx\@result\@empty%
+ \def\@result{2147483647}%
+ \else%
+ \edef\@result{2147483647,\@result}%
\fi%
- \fi}%
- }%
- }
- \DeclareRobustCommand{\cref}{%
- \@ifstar{\@crefstar{cref}}{\@crefnostar{cref}}}
- \DeclareRobustCommand{\Cref}{%
- \@ifstar{\@crefstar{Cref}}{\@crefnostar{Cref}}}
- \def\@crefnostar#1#2{\@cref{#1}{#2}}
- \def\@crefstar#1#2{%
- \@crefstarredtrue\@cref{#1}{#2}\@crefstarredfalse}
- \DeclareRobustCommand{\crefrange}{%
- \@ifstar{\@crefrangestar{cref}}{\@crefrangenostar{cref}}}
- \DeclareRobustCommand{\Crefrange}{%
- \@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}
- \def\@@setcref#1#2{%
- \cref@getlabel{#2}{\@tmplabel}%
- \if@crefstarred%
- #1{\@tmplabel}{}{}%
- \else%
- \edef\@tmplink{\cref@hyperref{#2}}%
- #1{\@tmplabel}{\hyper@linkstart{link}{\@tmplink}}{\hyper@linkend}%
- \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}}%
- #1{\@labela}{\@labelb}%
- {\hyper@linkstart{link}{\@linka}}{\hyper@linkend}%
- {\hyper@linkstart{link}{\@linkb}}{\hyper@linkend}%
- \fi}%
-}{}% end of \@ifpackageloaded{hyperref}
+ \def\@tmpa{##1}%
+ \def\@tmpb{chapter}%
+ \ifx\@tmpa\@tmpb%
+ \protected@xdef\cref@currentlabel{%
+ [appendix][\arabic{##1}][\@result]%
+ \csname p@##1\endcsname\csname the##1\endcsname}%
+ \else%
+ \def\@tmpa{##1}%
+ \def\@tmpb{section}%
+ \ifx\@tmpa\@tmpb%
+ \protected@xdef\cref@currentlabel{%
+ [subappendix][\arabic{##1}][\@result]%
+ \csname p@##1\endcsname\csname the##1\endcsname}%
+ \else%
+ \def\@tmpa{##1}%
+ \def\@tmpb{subsection}%
+ \ifx\@tmpa\@tmpb%
+ \protected@xdef\cref@currentlabel{%
+ [subsubappendix][\arabic{##1}][\@result]%
+ \csname p@##1\endcsname\csname the##1\endcsname}%
+ \else%
+ \def\@tmpa{##1}%
+ \def\@tmpb{subsubsection}%
+ \ifx\@tmpa\@tmpb%
+ \protected@xdef\cref@currentlabel{%
+ [subsubsubappendix][\arabic{##1}][\@result]%
+ \csname p@##1\endcsname\csname the##1\endcsname}%
+ \else%
+ \@ifundefined{cref@##1@alias}%
+ {\def\@tmpa{##1}}%
+ {\def\@tmpa{\csname cref@##1@alias\endcsname}}%
+ \protected@xdef\cref@currentlabel{%
+ [\@tmpa][\arabic{##1}][\@result]%
+ \csname p@##1\endcsname\csname the##1\endcsname}
+ \fi%
+ \fi%
+ \fi%
+ \fi}%
+ }%
+ }
+ \DeclareRobustCommand{\cref}{%
+ \@ifstar{\@crefstar{cref}}{\@crefnostar{cref}}}
+ \DeclareRobustCommand{\Cref}{%
+ \@ifstar{\@crefstar{Cref}}{\@crefnostar{Cref}}}
+ \def\@crefnostar#1#2{\@cref{#1}{#2}}
+ \def\@crefstar#1#2{%
+ \@crefstarredtrue\@cref{#1}{#2}\@crefstarredfalse}
+ \DeclareRobustCommand{\crefrange}{%
+ \@ifstar{\@crefrangestar{cref}}{\@crefrangenostar{cref}}}
+ \DeclareRobustCommand{\Crefrange}{%
+ \@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}
+ \def\@@setcref#1#2{%
+ \cref@getlabel{#2}{\@tmplabel}%
+ \if@crefstarred%
+ #1{\@tmplabel}{}{}%
+ \else%
+ \edef\@tmplink{\cref@hyperref{#2}}%
+ #1{\@tmplabel}{\hyper@linkstart{link}{\@tmplink}}{\hyper@linkend}%
+ \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}}%
+ #1{\@labela}{\@labelb}%
+ {\hyper@linkstart{link}{\@linka}}{\hyper@linkend}%
+ {\hyper@linkstart{link}{\@linkb}}{\hyper@linkend}%
+ \fi}%
+ }% end of false case of \@ifpackagewith{hyperref}{implicit=false}
+ }{}% end of \@ifpackageloaded{hyperref}
\@ifpackageloaded{ntheorem}{%
\PackageInfo{cleveref}{`ntheorem' support loaded}
\@ifpackagewith{ntheorem}{thref}{%
@@ -2209,7 +2214,8 @@
}{}% end of \@ifpackageloaded{algorithm}
\@ifpackageloaded{listings}{%
\PackageInfo{cleveref}{`listings' support loaded}
- \crefalias{lstnumber}{line}}{}% end of \@ifpackageloaded{listings}
+ \crefalias{lstnumber}{line}%
+ \crefalias{lstlisting}{listing}}{}% end of \@ifpackageloaded{listings}
\@ifpackageloaded{subfig}{%
\PackageInfo{cleveref}{`subfig' support loaded}
\AtBeginDocument{
@@ -2219,6 +2225,16 @@
{\cref@old@refsteponlycounter}%]
}}
}{}% end of \@ifpackageloaded{subfig}
+\@ifpackageloaded{aliascnt}{%
+ \PackageInfo{cleveref}{`aliascnt' support loaded}
+ \let\cref@old@newaliascnt\newaliascnt
+ \renewcommand*{\newaliascnt}[2]{%
+ \cref@old@newaliascnt{#1}{#2}%
+ \cref@resetby{#2}{\@result}%
+ \ifx\@result\relax\else%
+ \@addtoreset{#1}{\@result}%
+ \fi}
+ }{}% end of \@ifpackageloaded{aliascnt}
\@ifpackageloaded{varioref}{%
\PackageInfo{cleveref}{`varioref' support loaded}
\PackageInfo{cleveref}{`cleveref' supersedes `varioref's %
@@ -2271,39 +2287,39 @@
\crefrange{#2}{#3} \vpagerefrange[\unskip]{#2}{#3}}
\def\fullref#1{\cref@fullref{cref}{#1}}
\else%
- \@ifpackageloaded{hyperref}{%
- \DeclareRobustCommand{\vref}{%
- \@ifstar{\cref@vrefstar{cref}}{\cref@vref{cref}}}
- \DeclareRobustCommand{\Vref}{%
- \@ifstar{\cref@vrefstar{Cref}}{\cref@vref{Cref}}}
- \DeclareRobustCommand{\vrefrange}{%
- \@ifstar{\cref@vrefrangestar{cref}}{\cref@vrefrange{cref}}}
- \DeclareRobustCommand{\Vrefrange}{%
- \@ifstar{\cref@vrefrangestar{Cref}}{\cref@vrefrange{Cref}}}
- \DeclareRobustCommand{\fullref}{%
- \@ifstar{\cref@fullrefstar{cref}}{\cref@fullref{cref}}}
- \DeclareRobustCommand{\Fullref}{%
- \@ifstar{\cref@fullrefstar{Cref}}{\cref@fullref{Cref}}}
- \def\cref@vrefstar#1#2{%
- \@crefstarredtrue%
- \cref@vref{#1}{#2}%
- \@crefstarredfalse}
- \def\cref@vrefrangestar#1#2#3{%
- \@crefstarredtrue%
- \cref@vrefrange{#1}{#2}{#3}%
- \@crefstarredfalse}
- \def\cref@fullrefstar#1#2{%
- \@crefstarredtrue%
- \cref@fullref{#1}{#2}%
- \@crefstarredfalse}
- }{%
- \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}}
- }
+ \if@cref@hyperrefloaded\relax% hyperref loaded
+ \DeclareRobustCommand{\vref}{%
+ \@ifstar{\cref@vrefstar{cref}}{\cref@vref{cref}}}
+ \DeclareRobustCommand{\Vref}{%
+ \@ifstar{\cref@vrefstar{Cref}}{\cref@vref{Cref}}}
+ \DeclareRobustCommand{\vrefrange}{%
+ \@ifstar{\cref@vrefrangestar{cref}}{\cref@vrefrange{cref}}}
+ \DeclareRobustCommand{\Vrefrange}{%
+ \@ifstar{\cref@vrefrangestar{Cref}}{\cref@vrefrange{Cref}}}
+ \DeclareRobustCommand{\fullref}{%
+ \@ifstar{\cref@fullrefstar{cref}}{\cref@fullref{cref}}}
+ \DeclareRobustCommand{\Fullref}{%
+ \@ifstar{\cref@fullrefstar{Cref}}{\cref@fullref{Cref}}}
+ \def\cref@vrefstar#1#2{%
+ \@crefstarredtrue%
+ \cref@vref{#1}{#2}%
+ \@crefstarredfalse}
+ \def\cref@vrefrangestar#1#2#3{%
+ \@crefstarredtrue%
+ \cref@vrefrange{#1}{#2}{#3}%
+ \@crefstarredfalse}
+ \def\cref@fullrefstar#1#2{%
+ \@crefstarredtrue%
+ \cref@fullref{#1}{#2}%
+ \@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}}
+ \fi% end of test for hyperref
\fi%
}% end of \AtBeginDocument
}{}% end of \@ifpackageloaded{varioref}
@@ -2569,7 +2585,7 @@
\def\cref@writescript#1#2{%
\edef\@tmpa{\cref@getmeaning{\cref@poorman@text}}%
\immediate\write\@crefscript{#1 s/#2/\@tmpa/g}}
- \@ifpackageloaded{hyperref}{%
+ \if@cref@hyperrefloaded\relax% hyperref loaded
\def\@crefnostar#1#2{%
\gdef\cref@poorman@text{}%
\@cref{#1}{#2}%
@@ -2614,7 +2630,7 @@
\string\Crefrange*\string{#2\string}\string{#3\string}}%
\fi}%
\@tmpa#1\@nil}
- }{%
+ \else% hyperref not loaded
\DeclareRobustCommand{\cref}[1]{%
\edef\cref@poorman@text{}%
\@cref{cref}{#1}%
@@ -2633,7 +2649,7 @@
\@setcrefrange{#1}{#2}{Cref}{}%
\cref@writescript{}{%
\string\Crefrange\string{#1\string}\string{#2\string}}}
- }
+ \fi% end of test for hyperref
\@ifpackageloaded{varioref}{%
\AtBeginDocument{%
\if@cref@legacyvarioref%
@@ -2765,7 +2781,7 @@
\creflastgroupconjunction%
\expandafter\g@addto@macro\expandafter\cref@poorman@text%
\expandafter{\creflastgroupconjunction}}
- \@ifpackageloaded{hyperref}{%
+ \if@cref@hyperrefloaded\relax% hyperref loaded
\def\@@setcref#1#2{%
\cref@getlabel{#2}{\@tmplabel}%
\if@crefstarred%
@@ -2795,7 +2811,7 @@
\expandafter\g@addto@macro\expandafter\cref@poorman@text%
\expandafter{#1{\ref{#2}}{\ref{#3}}{}{}{}{}}%
\fi}
- }{%
+ \else% hyperref not loaded
\let\old@@setcref\@@setcref%
\let\old@@setcrefrange\@@setcrefrange%
\def\@@setcref#1#2{%
@@ -2808,7 +2824,7 @@
\expandafter\g@addto@macro%
\expandafter{\expandafter\cref@poorman@text\expandafter}%
\expandafter{#1{\ref{#2}}{\ref{#3}}{}{}{}{}}}
- }
+ \fi% end of hyperref test
}% end of poorman option
\newif\if@cref@sort
\newif\if@cref@compress
@@ -2855,16 +2871,17 @@
\DeclareOption{english}{%
\PackageInfo{cleveref}{loaded `english' language definitions}
\AtBeginDocument{%
- \def\crefrangeconjunction@preamble{ to~}%
+ \def\crefrangeconjunction@preamble{ to\nobreakspace}%
\def\crefrangepreconjunction@preamble{}%
\def\crefrangepostconjunction@preamble{}%
- \def\crefpairconjunction@preamble{ and~}%
+ \def\crefpairconjunction@preamble{ and\nobreakspace}%
\def\crefmiddleconjunction@preamble{, }%
- \def\creflastconjunction@preamble{ and~}%
- \def\crefpairgroupconjunction@preamble{ and~}%
+ \def\creflastconjunction@preamble{ and\nobreakspace}%
+ \def\crefpairgroupconjunction@preamble{ and\nobreakspace}%
\def\crefmiddlegroupconjunction@preamble{, }%
- \def\creflastgroupconjunction@preamble{, and~}%
+ \def\creflastgroupconjunction@preamble{, and\nobreakspace}%
\Crefname@preamble{equation}{Equation}{Equations}%
+ \Crefname@preamble{part}{Part}{Parts}%
\Crefname@preamble{chapter}{Chapter}{Chapters}%
\Crefname@preamble{section}{Section}{Sections}%
\Crefname@preamble{appendix}{Appendix}{Appendices}%
@@ -2885,6 +2902,7 @@
\Crefname@preamble{line}{Line}{Lines}%
\if@cref@capitalise%
\crefname@preamble{equation}{Eq.}{Eqs.}%
+ \crefname@preamble{part}{Part}{Parts}%
\crefname@preamble{chapter}{Chapter}{Chapters}%
\crefname@preamble{section}{Section}{Sections}%
\crefname@preamble{appendix}{Appendix}{Appendices}%
@@ -2905,6 +2923,7 @@
\crefname@preamble{line}{Line}{Lines}%
\else%
\crefname@preamble{equation}{eq.}{eqs.}%
+ \crefname@preamble{part}{part}{parts}%
\crefname@preamble{chapter}{chapter}{chapters}%
\crefname@preamble{section}{section}{sections}%
\crefname@preamble{appendix}{appendix}{appendices}%
@@ -2926,16 +2945,17 @@
\fi%
\def\cref@language{english}%
\cref@addto\extrasenglish{%
- \renewcommand{\crefrangeconjunction}{ to~}%
+ \renewcommand{\crefrangeconjunction}{ to\nobreakspace}%
\renewcommand\crefrangepreconjunction{}%
\renewcommand\crefrangepostconjunction{}%
- \renewcommand{\crefpairconjunction}{ and~}%
+ \renewcommand{\crefpairconjunction}{ and\nobreakspace}%
\renewcommand{\crefmiddleconjunction}{, }%
- \renewcommand{\creflastconjunction}{ and~}%
- \renewcommand{\crefpairgroupconjunction}{ and~}%
+ \renewcommand{\creflastconjunction}{ and\nobreakspace}%
+ \renewcommand{\crefpairgroupconjunction}{ and\nobreakspace}%
\renewcommand{\crefmiddlegroupconjunction}{, }%
- \renewcommand{\creflastgroupconjunction}{, and~}%
+ \renewcommand{\creflastgroupconjunction}{, and\nobreakspace}%
\Crefname{equation}{Equation}{Equations}%
+ \Crefname{part}{Part}{Parts}%
\Crefname{chapter}{Chapter}{Chapters}%
\Crefname{section}{Section}{Sections}%
\Crefname{subsection}{Section}{Sections}%
@@ -2967,6 +2987,7 @@
\Crefname{line}{Line}{Lines}%
\if@cref@capitalise%
\crefname{equation}{Eq.}{Eqs.}%
+ \crefname{part}{Part}{Parts}%
\crefname{chapter}{Chapter}{Chapters}%
\crefname{section}{Section}{Sections}%
\crefname{subsection}{Section}{Sections}%
@@ -2998,6 +3019,7 @@
\crefname{line}{Line}{Lines}%
\else%
\crefname{equation}{eq.}{eqs.}%
+ \crefname{part}{part}{parts}%
\crefname{chapter}{chapter}{chapters}%
\crefname{section}{section}{sections}%
\crefname{subsection}{section}{sections}%
@@ -3032,16 +3054,17 @@
\DeclareOption{german}{%
\PackageInfo{cleveref}{loaded `german' language definitions}
\AtBeginDocument{%
- \def\crefrangeconjunction@preamble{ bis~}%
+ \def\crefrangeconjunction@preamble{ bis\nobreakspace}%
\def\crefrangepreconjunction@preamble{}%
\def\crefrangepostconjunction@preamble{}%
- \def\crefpairconjunction@preamble{ und~}%
+ \def\crefpairconjunction@preamble{ und\nobreakspace}%
\def\crefmiddleconjunction@preamble{, }%
- \def\creflastconjunction@preamble{ und~}%
- \def\crefpairgroupconjunction@preamble{ und~}%
+ \def\creflastconjunction@preamble{ und\nobreakspace}%
+ \def\crefpairgroupconjunction@preamble{ und\nobreakspace}%
\def\crefmiddlegroupconjunction@preamble{, }%
- \def\creflastgroupconjunction@preamble{ und~}%
+ \def\creflastgroupconjunction@preamble{ und\nobreakspace}%
\Crefname@preamble{equation}{Gleichung}{Gleichungen}%
+ \Crefname@preamble{part}{Teil}{Teilen}%
\Crefname@preamble{chapter}{Kapitel}{Kapitel}%
\Crefname@preamble{section}{Abschnitt}{Abschnitte}%
\Crefname@preamble{appendix}{Anhang}{Anh\"ange}%
@@ -3062,6 +3085,7 @@
\Crefname@preamble{line}{Linie}{Linien}%
\if@cref@capitalise%
\crefname@preamble{equation}{Gleichung}{Gleichungen}%
+ \crefname@preamble{part}{Teil}{Teilen}%
\crefname@preamble{chapter}{Kapitel}{Kapitel}%
\crefname@preamble{section}{Abschnitt}{Abschnitte}%
\crefname@preamble{appendix}{Anhang}{Anh\"ange}%
@@ -3082,6 +3106,7 @@
\crefname@preamble{line}{Linie}{Linien}%
\else%
\crefname@preamble{equation}{Gleichung}{Gleichungen}%
+ \crefname@preamble{part}{Teil}{Teilen}%
\crefname@preamble{chapter}{Kapitel}{Kapitel}%
\crefname@preamble{section}{Abschnitt}{Abschnitte}%
\crefname@preamble{appendix}{Anhang}{Anh\"ange}%
@@ -3103,16 +3128,17 @@
\fi%
\def\cref@language{german}%
\cref@addto\extrasgerman{%
- \renewcommand{\crefrangeconjunction}{ bis~}%
+ \renewcommand{\crefrangeconjunction}{ bis\nobreakspace}%
\renewcommand\crefrangepreconjunction{}%
\renewcommand\crefrangepostconjunction{}%
- \renewcommand{\crefpairconjunction}{ und~}%
+ \renewcommand{\crefpairconjunction}{ und\nobreakspace}%
\renewcommand{\crefmiddleconjunction}{, }%
- \renewcommand{\creflastconjunction}{ und~}%
- \renewcommand{\crefpairgroupconjunction}{ und~}%
+ \renewcommand{\creflastconjunction}{ und\nobreakspace}%
+ \renewcommand{\crefpairgroupconjunction}{ und\nobreakspace}%
\renewcommand{\crefmiddlegroupconjunction}{, }%
- \renewcommand{\creflastgroupconjunction}{ und~}%
+ \renewcommand{\creflastgroupconjunction}{ und\nobreakspace}%
\Crefname{equation}{Gleichung}{Gleichungen}%
+ \Crefname{part}{Teil}{Teilen}%
\Crefname{chapter}{Kapitel}{Kapitel}%
\Crefname{section}{Abschnitt}{Abschnitte}%
\Crefname{subsection}{Abschnitt}{Abschnitte}%
@@ -3144,6 +3170,7 @@
\Crefname{line}{Linie}{Linien}%
\if@cref@capitalise%
\crefname{equation}{Gleichung}{Gleichungen}%
+ \crefname{part}{Teil}{Teilen}%
\crefname{chapter}{Kapitel}{Kapitel}%
\crefname{section}{Abschnitt}{Abschnitte}%
\crefname{subsection}{Abschnitt}{Abschnitte}%
@@ -3175,6 +3202,7 @@
\crefname{line}{Linie}{Linien}%
\else%
\crefname{equation}{Gleichung}{Gleichungen}%
+ \crefname{part}{Teil}{Teilen}%
\crefname{chapter}{Kapitel}{Kapitel}%
\crefname{section}{Abschnitt}{Abschnitte}%
\crefname{subsection}{Abschnitt}{Abschnitte}%
@@ -3212,16 +3240,17 @@
\def\cref@language{ngerman}
\AtBeginDocument{%
\cref@addto\extrasngerman{%
- \renewcommand{\crefrangeconjunction}{ bis~}%
+ \renewcommand{\crefrangeconjunction}{ bis\nobreakspace}%
\renewcommand\crefrangepreconjunction{}%
\renewcommand\crefrangepostconjunction{}%
- \renewcommand{\crefpairconjunction}{ und~}%
+ \renewcommand{\crefpairconjunction}{ und\nobreakspace}%
\renewcommand{\crefmiddleconjunction}{, }%
- \renewcommand{\creflastconjunction}{ und~}%
- \renewcommand{\crefpairgroupconjunction}{ und~}%
+ \renewcommand{\creflastconjunction}{ und\nobreakspace}%
+ \renewcommand{\crefpairgroupconjunction}{ und\nobreakspace}%
\renewcommand{\crefmiddlegroupconjunction}{, }%
- \renewcommand{\creflastgroupconjunction}{ und~}%
+ \renewcommand{\creflastgroupconjunction}{ und\nobreakspace}%
\Crefname{equation}{Gleichung}{Gleichungen}%
+ \Crefname{part}{Teil}{Teilen}%
\Crefname{chapter}{Kapitel}{Kapitel}%
\Crefname{section}{Abschnitt}{Abschnitte}%
\Crefname{subsection}{Abschnitt}{Abschnitte}%
@@ -3253,6 +3282,7 @@
\Crefname{line}{Linie}{Linien}%
\if@cref@capitalise%
\crefname{equation}{Gleichung}{Gleichungen}%
+ \crefname{part}{Teil}{Teilen}%
\crefname{chapter}{Kapitel}{Kapitel}%
\crefname{section}{Abschnitt}{Abschnitte}%
\crefname{subsection}{Abschnitt}{Abschnitte}%
@@ -3284,6 +3314,7 @@
\crefname{line}{Linie}{Linien}%
\else%
\crefname{equation}{Gleichung}{Gleichungen}%
+ \crefname{part}{Teil}{Teilen}%
\crefname{chapter}{Kapitel}{Kapitel}%
\crefname{section}{Abschnitt}{Abschnitte}%
\crefname{subsection}{Abschnitt}{Abschnitte}%
@@ -3318,16 +3349,17 @@
\DeclareOption{dutch}{%
\PackageInfo{cleveref}{loaded `dutch' language definitions}
\AtBeginDocument{%
- \def\crefrangeconjunction@preamble{ tot~}%
+ \def\crefrangeconjunction@preamble{ tot\nobreakspace}%
\def\crefrangepreconjunction@preamble{}%
\def\crefrangepostconjunction@preamble{}%
- \def\crefpairconjunction@preamble{ en~}%
+ \def\crefpairconjunction@preamble{ en\nobreakspace}%
\def\crefmiddleconjunction@preamble{, }%
- \def\creflastconjunction@preamble{ en~}%
- \def\crefpairgroupconjunction@preamble{ en~}%
+ \def\creflastconjunction@preamble{ en\nobreakspace}%
+ \def\crefpairgroupconjunction@preamble{ en\nobreakspace}%
\def\crefmiddlegroupconjunction@preamble{, }%
- \def\creflastgroupconjunction@preamble{ en~}%
+ \def\creflastgroupconjunction@preamble{ en\nobreakspace}%
\Crefname@preamble{equation}{Vergel\ij{}king}{Vergel\ij{}kingen}%
+ \Crefname@preamble{part}{Deel}{Delen}%
\Crefname@preamble{chapter}{Hoofdstuk}{Hoofdstuken}%
\Crefname@preamble{section}{Paragraaf}{Paragrafen}%
\Crefname@preamble{appendix}{Appendix}{Appendices}%
@@ -3347,6 +3379,7 @@
\Crefname@preamble{line}{Lijn}{Lijnen}%
\if@cref@capitalise%
\crefname@preamble{equation}{Verg.}{Verg's.}%
+ \crefname@preamble{part}{Deel}{Delen}%
\crefname@preamble{chapter}{Hoofdstuk}{Hoofdstukken}%
\crefname@preamble{section}{Paragraaf}{Paragrafen}%
\crefname@preamble{appendix}{Appendix}{Appendices}%
@@ -3367,6 +3400,7 @@
\crefname@preamble{line}{Lijn}{Lijnen}%
\else%
\crefname@preamble{equation}{verg.}{verg's.}%
+ \crefname@preamble{part}{deel}{delen}%
\crefname@preamble{chapter}{hoofdstuk}{hoofdstukken}%
\crefname@preamble{section}{paragraaf}{paragrafen}%
\crefname@preamble{appendix}{appendix}{appendices}%
@@ -3388,16 +3422,17 @@
\fi%
\def\cref@language{dutch}%
\cref@addto\extrasdutch{%
- \renewcommand{\crefrangeconjunction}{ tot~}%
+ \renewcommand{\crefrangeconjunction}{ tot\nobreakspace}%
\renewcommand\crefrangepreconjunction{}%
\renewcommand\crefrangepostconjunction{}%
- \renewcommand{\crefpairconjunction}{ en~}%
+ \renewcommand{\crefpairconjunction}{ en\nobreakspace}%
\renewcommand{\crefmiddleconjunction}{, }%
- \renewcommand{\creflastconjunction}{ en~}%
- \renewcommand{\crefpairgroupconjunction}{ en~}%
+ \renewcommand{\creflastconjunction}{ en\nobreakspace}%
+ \renewcommand{\crefpairgroupconjunction}{ en\nobreakspace}%
\renewcommand{\crefmiddlegroupconjunction}{, }%
- \renewcommand{\creflastgroupconjunction}{ en~}%
+ \renewcommand{\creflastgroupconjunction}{ en\nobreakspace}%
\Crefname{equation}{Vergel\ij{}king}{Vergel\ij{}kingen}%
+ \Crefname{part}{Deel}{Delen}%
\Crefname{chapter}{Hoofdstuk}{Hoofdstuken}%
\Crefname{section}{Paragraaf}{Paragrafen}%
\Crefname{subsection}{Paragraaf}{Paragrafen}%
@@ -3429,6 +3464,7 @@
\Crefname{line}{Lijn}{Lijnen}%
\if@cref@capitalise%
\crefname{equation}{Verg.}{Verg's.}%
+ \crefname{part}{Deel}{Delen}%
\crefname{chapter}{Hoofdstuk}{Hoofdstukken}%
\crefname{section}{Paragraaf}{Paragrafen}%
\crefname{appendix}{Appendix}{Appendices}%
@@ -3449,6 +3485,7 @@
\crefname{line}{Lijn}{Lijnen}%
\else%
\crefname{equation}{verg.}{verg's.}%
+ \crefname{part}{deel}{delen}%
\crefname{chapter}{hoofdstuk}{hoofdstukken}%
\crefname{section}{paragraaf}{paragrafen}%
\crefname{appendix}{appendix}{appendices}%
@@ -3472,16 +3509,17 @@
\DeclareOption{french}{%
\PackageInfo{cleveref}{loaded `french' language definitions}
\AtBeginDocument{%
- \def\crefrangeconjunction@preamble{ \`a~}%
+ \def\crefrangeconjunction@preamble{ \`a\nobreakspace}%
\def\crefrangepreconjunction@preamble{}%
\def\crefrangepostconjunction@preamble{}%
- \def\crefpairconjunction@preamble{ et~}%
+ \def\crefpairconjunction@preamble{ et\nobreakspace}%
\def\crefmiddleconjunction@preamble{, }%
- \def\creflastconjunction@preamble{ et~}%
- \def\crefpairgroupconjunction@preamble{ et~}%
+ \def\creflastconjunction@preamble{ et\nobreakspace}%
+ \def\crefpairgroupconjunction@preamble{ et\nobreakspace}%
\def\crefmiddlegroupconjunction@preamble{, }%
- \def\creflastgroupconjunction@preamble{, et~}%
+ \def\creflastgroupconjunction@preamble{, et\nobreakspace}%
\Crefname@preamble{equation}{{\'E}quation}{{\'E}quations}%
+ \Crefname@preamble{part}{Partie}{Parties}%
\Crefname@preamble{chapter}{Chapitre}{Chapitres}%
\Crefname@preamble{section}{Section}{Sections}%
\Crefname@preamble{appendix}{Appendice}{Appendices}%
@@ -3501,6 +3539,7 @@
\Crefname@preamble{line}{Ligne}{Lignes}%
\if@cref@capitalise%
\crefname@preamble{equation}{{\'E}quation}{{\'E}quations}%
+ \crefname@preamble{part}{Partie}{Parties}%
\crefname@preamble{chapter}{Chapitre}{Chapitres}%
\crefname@preamble{section}{Section}{Sections}%
\crefname@preamble{appendix}{Appendice}{Appendices}%
@@ -3521,6 +3560,7 @@
\crefname@preamble{line}{Ligne}{Lignes}%
\else%
\crefname@preamble{equation}{{\'e}quation}{{\'e}quations}%
+ \crefname@preamble{part}{partie}{parties}%
\crefname@preamble{chapter}{chapitre}{chapitres}%
\crefname@preamble{section}{section}{sections}%
\crefname@preamble{appendix}{appendice}{appendices}%
@@ -3542,16 +3582,17 @@
\fi%
\def\cref@language{french}%
\cref@addto\extrasfrench{%
- \renewcommand{\crefrangeconjunction}{ \`a~}%
+ \renewcommand{\crefrangeconjunction}{ \`a\nobreakspace}%
\renewcommand\crefrangepreconjunction{}%
\renewcommand\crefrangepostconjunction{}%
- \renewcommand{\crefpairconjunction}{ et~}%
+ \renewcommand{\crefpairconjunction}{ et\nobreakspace}%
\renewcommand{\crefmiddleconjunction}{, }%
- \renewcommand{\creflastconjunction}{ et~}%
- \renewcommand{\crefpairgroupconjunction}{ et~}%
+ \renewcommand{\creflastconjunction}{ et\nobreakspace}%
+ \renewcommand{\crefpairgroupconjunction}{ et\nobreakspace}%
\renewcommand{\crefmiddlegroupconjunction}{, }%
- \renewcommand{\creflastgroupconjunction}{ et~}%
+ \renewcommand{\creflastgroupconjunction}{ et\nobreakspace}%
\Crefname{equation}{{\'E}quation}{{\'E}quations}%
+ \Crefname{part}{Partie}{Parties}%
\Crefname{chapter}{Chapitre}{Chapitres}%
\Crefname{section}{Section}{Sections}%
\Crefname{subsection}{Section}{Sections}%
@@ -3583,6 +3624,7 @@
\Crefname{line}{Ligne}{Lignes}%
\if@cref@capitalise%
\crefname{equation}{{\'E}quation}{{\'E}quations}%
+ \crefname{part}{Partie}{Parties}%
\crefname{chapter}{Chapitre}{Chapitres}%
\crefname{section}{Section}{Sections}%
\crefname{subsection}{Section}{Sections}%
@@ -3614,6 +3656,7 @@
\crefname{line}{Ligne}{Lignes}%
\else%
\crefname{equation}{{\'e}quation}{{\'e}quations}%
+ \crefname{part}{partie}{parties}%
\crefname{chapter}{chapitre}{chapitres}%
\crefname{section}{section}{sections}%
\crefname{subsection}{section}{sections}%
@@ -3648,16 +3691,17 @@
\DeclareOption{spanish}{%
\PackageInfo{cleveref}{loaded `spanish' language definitions}
\AtBeginDocument{%
- \def\crefrangeconjunction@preamble{ a~}%
+ \def\crefrangeconjunction@preamble{ a\nobreakspace}%
\def\crefrangepreconjunction@preamble{}%
\def\crefrangepostconjunction@preamble{}%
- \def\crefpairconjunction@preamble{ y~}%
+ \def\crefpairconjunction@preamble{ y\nobreakspace}%
\def\crefmiddleconjunction@preamble{, }%
- \def\creflastconjunction@preamble{ y~}%
- \def\crefpairgroupconjunction@preamble{ y~}%
+ \def\creflastconjunction@preamble{ y\nobreakspace}%
+ \def\crefpairgroupconjunction@preamble{ y\nobreakspace}%
\def\crefmiddlegroupconjunction@preamble{, }%
- \def\creflastgroupconjunction@preamble{ y~}%
+ \def\creflastgroupconjunction@preamble{ y\nobreakspace}%
\Crefname@preamble{equation}{Ecuaci\'on}{Ecuaciones}%
+ \Crefname@preamble{part}{Parte}{Partes}%
\Crefname@preamble{chapter}{Cap\'itulo}{Cap\'itulos}%
\Crefname@preamble{section}{Secci\'on}{Secciones}%
\Crefname@preamble{appendix}{Ap\'endice}{Ap\'endices}%
@@ -3677,27 +3721,29 @@
\Crefname@preamble{algorithm}{Algoritmo}{Algoritmos}%
\Crefname@preamble{line}{L\'inea}{L\'ineas}%
\if@cref@capitalise%
- \crefname@preamble{equation}{Ecuaci\'on}{ecuaciones}%
- \crefname@preamble{chapter}{Cap\'itulo}{cap\'itulos}%
- \crefname@preamble{section}{Secci\'on}{secciones}%
- \crefname@preamble{appendix}{Ap\'endice}{ap\'endices}%
- \crefname@preamble{enumi}{Punto}{puntos}%
+ \crefname@preamble{equation}{Ecuaci\'on}{Ecuaciones}%
+ \crefname@preamble{part}{Parte}{Partes}%
+ \crefname@preamble{chapter}{Cap\'itulo}{Cap\'itulos}%
+ \crefname@preamble{section}{Secci\'on}{Secciones}%
+ \crefname@preamble{appendix}{Ap\'endice}{Ap\'endices}%
+ \crefname@preamble{enumi}{Punto}{Puntos}%
\crefname@preamble{footnote}{Nota}{Notas}%
- \crefname@preamble{figure}{Figura}{figuras}%
- \crefname@preamble{table}{Cuadro}{cuadros}%
- \crefname@preamble{theorem}{Teorema}{teoremas}%
- \crefname@preamble{lemma}{Lema}{lemas}%
- \crefname@preamble{corollary}{Corolario}{corolarios}%
- \crefname@preamble{proposition}{Proposici\'on}{proposiciones}%
- \crefname@preamble{definition}{Definici\'on}{definiciones}%
- \crefname@preamble{result}{Resultado}{resultados}%
- \crefname@preamble{example}{Ejemplo}{ejemplos}%
- \crefname@preamble{remark}{Observaci\'on}{observaciones}%
- \crefname@preamble{note}{Nota}{notas}%
+ \crefname@preamble{figure}{Figura}{Figuras}%
+ \crefname@preamble{table}{Cuadro}{Cuadros}%
+ \crefname@preamble{theorem}{Teorema}{Teoremas}%
+ \crefname@preamble{lemma}{Lema}{Lemas}%
+ \crefname@preamble{corollary}{Corolario}{Corolarios}%
+ \crefname@preamble{proposition}{Proposici\'on}{Proposiciones}%
+ \crefname@preamble{definition}{Definici\'on}{Definiciones}%
+ \crefname@preamble{result}{Resultado}{Resultados}%
+ \crefname@preamble{example}{Ejemplo}{Ejemplos}%
+ \crefname@preamble{remark}{Observaci\'on}{Observaciones}%
+ \crefname@preamble{note}{Nota}{Notas}%
\crefname@preamble{algorithm}{Algoritmo}{Algoritmos}%
\crefname@preamble{line}{L\'inea}{L\'ineas}%
\else%
\crefname@preamble{equation}{ecuaci\'on}{ecuaciones}%
+ \crefname@preamble{part}{parte}{partes}%
\crefname@preamble{chapter}{cap\'itulo}{cap\'itulos}%
\crefname@preamble{section}{secci\'on}{secciones}%
\crefname@preamble{appendix}{ap\'endice}{ap\'endices}%
@@ -3719,16 +3765,17 @@
\fi%
\def\cref@language{spanish}%
\cref@addto\extrasspanish{%
- \renewcommand{\crefrangeconjunction}{ a~}%
+ \renewcommand{\crefrangeconjunction}{ a\nobreakspace}%
\renewcommand{\crefrangepreconjunction}{}%
\renewcommand{\crefrangepostconjunction}{}%
- \renewcommand{\crefpairconjunction}{ y~}%
+ \renewcommand{\crefpairconjunction}{ y\nobreakspace}%
\renewcommand{\crefmiddleconjunction}{, }%
- \renewcommand{\creflastconjunction}{ y~}%
- \renewcommand{\crefpairgroupconjunction}{ y~}%
+ \renewcommand{\creflastconjunction}{ y\nobreakspace}%
+ \renewcommand{\crefpairgroupconjunction}{ y\nobreakspace}%
\renewcommand{\crefmiddlegroupconjunction}{, }%
- \renewcommand{\creflastgroupconjunction}{ y~}%
+ \renewcommand{\creflastgroupconjunction}{ y\nobreakspace}%
\Crefname{equation}{Ecuaci\'on}{Ecuaciones}%
+ \Crefname{part}{Parte}{Partes}%
\Crefname{chapter}{Cap\'itulo}{Cap\'itulos}%
\Crefname{section}{Secci\'on}{Secciones}%
\Crefname{subsection}{Secci\'on}{Secciones}%
@@ -3760,6 +3807,7 @@
\Crefname{line}{L\'inea}{L\'ineas}%
\if@cref@capitalise%
\crefname{equation}{Ecuaci\'on}{Ecuaciones}%
+ \crefname{part}{Parte}{Partes}%
\crefname{chapter}{Cap\'itulo}{Cap\'itulos}%
\crefname{section}{Secci\'on}{Secciones}%
\crefname{subsection}{Secci\'on}{Secciones}%
@@ -3791,6 +3839,7 @@
\crefname{line}{L\'inea}{L\'ineas}%
\else%
\crefname{equation}{ecuaci\'on}{ecuaciones}%
+ \crefname{part}{parte}{partes}%
\crefname{chapter}{cap\'itulo}{cap\'itulos}%
\crefname{section}{secci\'on}{secciones}%
\crefname{subsection}{secci\'on}{secciones}%
@@ -3825,16 +3874,17 @@
\DeclareOption{italian}{%
\PackageInfo{cleveref}{loaded `italian' language definitions}
\AtBeginDocument{%
- \def\crefrangeconjunction@preamble{ a~}%
- \def\crefrangepreconjunction@preamble{da~}%
+ \def\crefrangeconjunction@preamble{ a\nobreakspace}%
+ \def\crefrangepreconjunction@preamble{da\nobreakspace}%
\def\crefrangepostconjunction@preamble{}%
- \def\crefpairconjunction@preamble{ e~}%
+ \def\crefpairconjunction@preamble{ e\nobreakspace}%
\def\crefmiddleconjunction@preamble{, }%
- \def\creflastconjunction@preamble{ e~}%
- \def\crefpairgroupconjunction@preamble{ e~}%
+ \def\creflastconjunction@preamble{ e\nobreakspace}%
+ \def\crefpairgroupconjunction@preamble{ e\nobreakspace}%
\def\crefmiddlegroupconjunction@preamble{, }%
- \def\creflastgroupconjunction@preamble{ e~}%
+ \def\creflastgroupconjunction@preamble{ e\nobreakspace}%
\Crefname@preamble{equation}{Equazione}{Equazioni}%
+ \Crefname@preamble{part}{Parte}{Parti}%
\Crefname@preamble{chapter}{Capitolo}{Capitoli}%
\Crefname@preamble{section}{Sezione}{Sezioni}%
\Crefname@preamble{appendix}{Appendice}{Appendici}%
@@ -3855,6 +3905,7 @@
\Crefname@preamble{line}{Linea}{Linee}%
\if@cref@capitalise%
\crefname@preamble{equation}{Eq.}{Eq.}%
+ \crefname@preamble{part}{Parte}{Parti}%
\crefname@preamble{chapter}{Capitolo}{Capitoli}%
\crefname@preamble{section}{Sezione}{Sezioni}%
\crefname@preamble{appendix}{Appendice}{Appendici}%
@@ -3875,6 +3926,7 @@
\crefname@preamble{line}{Linea}{Linee}%
\else%
\crefname@preamble{equation}{eq.}{eq.}%
+ \crefname@preamble{part}{parte}{parti}%
\crefname@preamble{chapter}{capitolo}{capitoli}%
\crefname@preamble{section}{sezione}{sezioni}%
\crefname@preamble{appendix}{appendice}{appendici}%
@@ -3896,16 +3948,17 @@
\fi%
\def\cref@language{italian}%
\cref@addto\extrasitalian{%
- \renewcommand{\crefrangeconjunction}{ a~}%
- \renewcommand\crefrangepreconjunction{da~}%
+ \renewcommand{\crefrangeconjunction}{ a\nobreakspace}%
+ \renewcommand\crefrangepreconjunction{da\nobreakspace}%
\renewcommand\crefrangepostconjunction{}%
- \renewcommand{\crefpairconjunction}{ e~}%
+ \renewcommand{\crefpairconjunction}{ e\nobreakspace}%
\renewcommand{\crefmiddleconjunction}{, }%
- \renewcommand{\creflastconjunction}{ e~}%
- \renewcommand{\crefpairgroupconjunction}{ e~}%
+ \renewcommand{\creflastconjunction}{ e\nobreakspace}%
+ \renewcommand{\crefpairgroupconjunction}{ e\nobreakspace}%
\renewcommand{\crefmiddlegroupconjunction}{, }%
- \renewcommand{\creflastgroupconjunction}{ e~}%
+ \renewcommand{\creflastgroupconjunction}{ e\nobreakspace}%
\Crefname{equation}{Equazione}{Equazioni}%
+ \Crefname{part}{Parte}{Parti}%
\Crefname{chapter}{Capitolo}{Capitoli}%
\Crefname{section}{Sezione}{Sezioni}%
\Crefname{subsection}{Sezione}{Sezioni}%
@@ -3937,6 +3990,7 @@
\Crefname{line}{Linea}{Linee}%
\if@cref@capitalise%
\crefname{equation}{Eq.}{Eq.}%
+ \crefname{part}{Parte}{Parti}%
\crefname{chapter}{Capitolo}{Capitoli}%
\crefname{section}{Sezione}{Sezioni}%
\crefname{subsection}{Sezione}{Sezioni}%
@@ -3968,6 +4022,7 @@
\crefname{line}{Linea}{Linee}%
\else%
\crefname{equation}{eq.}{eq.}%
+ \crefname{part}{parte}{parti}%
\crefname{chapter}{capitolo}{capitoli}%
\crefname{section}{sezione}{sezioni}%
\crefname{subsection}{sezione}{sezioni}%
@@ -4005,16 +4060,19 @@
\def\crefrangeconjunction@preamble{--}%
\def\crefrangepreconjunction@preamble{}%
\def\crefrangepostconjunction@preamble{}%
- \def\crefpairconjunction@preamble{ \cyri~}%
+ \def\crefpairconjunction@preamble{ \cyri\nobreakspace}%
\def\crefmiddleconjunction@preamble{, }%
- \def\creflastconjunction@preamble{ \cyri~}%
- \def\crefpairgroupconjunction@preamble{ \cyri~}%
+ \def\creflastconjunction@preamble{ \cyri\nobreakspace}%
+ \def\crefpairgroupconjunction@preamble{ \cyri\nobreakspace}%
\def\crefmiddlegroupconjunction@preamble{, }%
\def\creflastgroupconjunction@preamble%
- {, \cyra\ \cyrt\cyra\cyrk\cyrzh\cyre~}%
+ {, \cyra\ \cyrt\cyra\cyrk\cyrzh\cyre\nobreakspace}%
\Crefname@preamble{equation}%
{\CYRF\cyro\cyrr\cyrm\cyru\cyrl\cyra}%
{\CYRF\cyro\cyrr\cyrm\cyru\cyrl\cyrery}%
+ \Crefname@preamble{part}%
+ {\CYRCH\cyra\cyrs\cyrt\cyrsftsn}%
+ {\CYRCH\cyra\cyrs\cyrt\cyri}%
\Crefname@preamble{chapter}%
{\CYRG\cyrl\cyra\cyrv\cyra}%
{\CYRG\cyrl\cyra\cyrv\cyrery}%
@@ -4073,6 +4131,9 @@
\crefname@preamble{equation}%
{\CYRF-\cyrl.}%
{\CYRF-\cyrl.}%
+ \crefname@preamble{part}%
+ {\CYRCH\cyra\cyrs\cyrt\cyrsftsn}%
+ {\CYRCH\cyra\cyrs\cyrt\cyri}%
\crefname@preamble{chapter}%
{\CYRG\cyrl\cyra\cyrv\cyra}%
{\CYRG\cyrl\cyra\cyrv\cyrery}%
@@ -4127,6 +4188,9 @@
{\CYRS\cyrt\cyrr\cyro\cyrk\cyri}%
\else%
\crefname@preamble{equation}{\cyrf-\cyrl.}{\cyrf-\cyrl.}%
+ \crefname@preamble{part}%
+ {\cyrch\cyra\cyrs\cyrt\cyrsftsn}%
+ {\cyrch\cyra\cyrs\cyrt\cyri}%
\crefname@preamble{chapter}%
{\cyrg\cyrl\cyra\cyrv.}%
{\cyrg\cyrl\cyra\cyrv.}%
@@ -4185,16 +4249,19 @@
\renewcommand{\crefrangeconjunction}{--}%
\renewcommand\crefrangepreconjunction{}%
\renewcommand\crefrangepostconjunction{}%
- \renewcommand{\crefpairconjunction}{ \cyri~}%
+ \renewcommand{\crefpairconjunction}{ \cyri\nobreakspace}%
\renewcommand{\crefmiddleconjunction}{, }%
- \renewcommand{\creflastconjunction}{ \cyri~}%
- \renewcommand{\crefpairgroupconjunction}{ \cyri~}%
+ \renewcommand{\creflastconjunction}{ \cyri\nobreakspace}%
+ \renewcommand{\crefpairgroupconjunction}{ \cyri\nobreakspace}%
\renewcommand{\crefmiddlegroupconjunction}{, }%
\renewcommand{\creflastgroupconjunction}%
- {, \cyra\ \cyrt\cyra\cyrk\cyrzh\cyre~}%
+ {, \cyra\ \cyrt\cyra\cyrk\cyrzh\cyre\nobreakspace}%
\Crefname{equation}%
{\CYRF\cyro\cyrr\cyrm\cyru\cyrl\cyra}%
{\CYRF\cyro\cyrr\cyrm\cyru\cyrl\cyrery}%
+ \Crefname{part}%
+ {\CYRCH\cyra\cyrs\cyrt\cyrsftsn}%
+ {\CYRCH\cyra\cyrs\cyrt\cyri}%
\Crefname{chapter}%
{\CYRG\cyrl\cyra\cyrv\cyra}%
{\CYRG\cyrl\cyra\cyrv\cyrery}%
@@ -4284,6 +4351,9 @@
{\CYRS\cyrt\cyrr\cyro\cyrk\cyri}%
\if@cref@capitalise%
\crefname{equation}{\CYRF-\cyrl.}{\CYRF-\cyrl.}%
+ \crefname{part}%
+ {\CYRCH\cyra\cyrs\cyrt\cyrsftsn}%
+ {\CYRCH\cyra\cyrs\cyrt\cyri}%
\crefname{chapter}%
{\CYRG\cyrl\cyra\cyrv\cyra}%
{\CYRG\cyrl\cyra\cyrv\cyrery}%
@@ -4363,6 +4433,9 @@
{\CYRS\cyrt\cyrr\cyro\cyrk\cyri}%
\else%
\crefname{equation}{\cyrf-\cyrl.}{\cyrf-\cyrl.}%
+ \crefname{part}%
+ {\cyrch\cyra\cyrs\cyrt\cyrsftsn}%
+ {\cyrch\cyra\cyrs\cyrt\cyri}%
\crefname{chapter}%
{\cyrg\cyrl\cyra\cyrv.}%
{\cyrg\cyrl\cyra\cyrv.}%
@@ -4448,16 +4521,19 @@
\def\crefrangeconjunction@preamble{--}%
\def\crefrangepreconjunction@preamble{}%
\def\crefrangepostconjunction@preamble{}%
- \def\crefpairconjunction@preamble{ \cyrii~}%
+ \def\crefpairconjunction@preamble{ \cyrii\nobreakspace}%
\def\crefmiddleconjunction@preamble{, }%
- \def\creflastconjunction@preamble{ \cyrii~}%
- \def\crefpairgroupconjunction@preamble{ \cyrt\cyra~}%
+ \def\creflastconjunction@preamble{ \cyrii\nobreakspace}%
+ \def\crefpairgroupconjunction@preamble{ \cyrt\cyra\nobreakspace}%
\def\crefmiddlegroupconjunction@preamble{, }%
\def\creflastgroupconjunction@preamble%
- {, \cyra\ \cyrt\cyra\cyrk\cyro\cyrzh~}%
+ {, \cyra\ \cyrt\cyra\cyrk\cyro\cyrzh\nobreakspace}%
\Crefname@preamble{equation}%
{\CYRF\cyro\cyrr\cyrm\cyru\cyrl\cyra}%
{\CYRF\cyro\cyrr\cyrm\cyru\cyrl\cyri}%
+ \Crefname@preamble{part}%
+ {\CYRCH\cyra\cyrs\cyrt\cyri\cyrn\cyra}%
+ {\CYRCH\cyra\cyrs\cyrt\cyri\cyrn\cyri}%
\Crefname@preamble{chapter}%
{\CYRG\cyrl\cyra\cyrv\cyra}%
{\CYRG\cyrl\cyra\cyrv\cyri}%
@@ -4514,6 +4590,9 @@
{\CYRS\cyrt\cyrr\cyro\cyrk\cyri}%
\if@cref@capitalise%
\crefname@preamble{equation}{\CYRF-\cyrl.}{\CYRF-\cyrl.}%
+ \crefname@preamble{part}%
+ {\CYRCH\cyra\cyrs\cyrt\cyri\cyrn\cyra}%
+ {\CYRCH\cyra\cyrs\cyrt\cyri\cyrn\cyri}%
\crefname@preamble{chapter}%
{\CYRG\cyrl\cyra\cyrv\cyra}%
{\CYRG\cyrl\cyra\cyrv\cyri}%
@@ -4568,6 +4647,9 @@
{\CYRS\cyrt\cyrr\cyro\cyrk\cyri}%
\else%
\crefname@preamble{equation}{\cyrf-\cyrl.}{\cyrf-\cyrl.}%
+ \crefname@preamble{part}%
+ {\cyrch\cyra\cyrs\cyrt\cyri\cyrn\cyra}%
+ {\cyrch\cyra\cyrs\cyrt\cyri\cyrn\cyri}%
\crefname@preamble{chapter}%
{\cyrg\cyrl\cyra\cyrv.}%
{\cyrg\cyrl\cyra\cyrv.}%
@@ -4626,16 +4708,19 @@
\renewcommand{\crefrangeconjunction}{--}%
\renewcommand\crefrangepreconjunction{}%
\renewcommand\crefrangepostconjunction{}%
- \renewcommand{\crefpairconjunction}{ \cyrii~}%
+ \renewcommand{\crefpairconjunction}{ \cyrii\nobreakspace}%
\renewcommand{\crefmiddleconjunction}{, }%
- \renewcommand{\creflastconjunction}{ \cyrii~}%
- \renewcommand{\crefpairgroupconjunction}{ \cyrt\cyra~}%
+ \renewcommand{\creflastconjunction}{ \cyrii\nobreakspace}%
+ \renewcommand{\crefpairgroupconjunction}{ \cyrt\cyra\nobreakspace}%
\renewcommand{\crefmiddlegroupconjunction}{, }%
\renewcommand{\creflastgroupconjunction}%
- {, \cyra\ \cyrt\cyra\cyrk\cyro\cyrzh~}%
+ {, \cyra\ \cyrt\cyra\cyrk\cyro\cyrzh\nobreakspace}%
\Crefname{equation}%
{\CYRF\cyro\cyrr\cyrm\cyru\cyrl\cyra}%
{\CYRF\cyro\cyrr\cyrm\cyru\cyrl\cyri}%
+ \Crefname{part}%
+ {\CYRCH\cyra\cyrs\cyrt\cyri\cyrn\cyra}%
+ {\CYRCH\cyra\cyrs\cyrt\cyri\cyrn\cyri}%
\Crefname{chapter}%
{\CYRG\cyrl\cyra\cyrv\cyra}%
{\CYRG\cyrl\cyra\cyrv\cyri}%
@@ -4725,6 +4810,9 @@
{\CYRS\cyrt\cyrr\cyro\cyrk\cyri}%
\if@cref@capitalise%
\crefname{equation}{\CYRF-\cyrl.}{\CYRF-\cyrl.}%
+ \crefname{part}%
+ {\CYRCH\cyra\cyrs\cyrt\cyri\cyrn\cyra}%
+ {\CYRCH\cyra\cyrs\cyrt\cyri\cyrn\cyri}%
\crefname{chapter}%
{\CYRG\cyrl\cyra\cyrv\cyra}%
{\CYRG\cyrl\cyra\cyrv\cyri}%
@@ -4804,6 +4892,9 @@
{\CYRS\cyrt\cyrr\cyro\cyrk\cyri}%
\else%
\crefname{equation}{\cyrf-\cyrl.}{\cyrf-\cyrl.}%
+ \crefname{part}%
+ {\cyrch\cyra\cyrs\cyrt\cyri\cyrn\cyra}%
+ {\cyrch\cyra\cyrs\cyrt\cyri\cyrn\cyri}%
\crefname{chapter}%
{\cyrg\cyrl\cyra\cyrv.}%
{\cyrg\cyrl\cyra\cyrv.}%