summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/cleveref/cleveref.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-06-09 00:22:40 +0000
committerKarl Berry <karl@freefriends.org>2010-06-09 00:22:40 +0000
commitdb4b63b8fcc7e0f818d11deaf7e1e11afdd60c11 (patch)
tree15f70001ceb206627eab99deb5aef0e0ef9585cb /Master/texmf-dist/tex/latex/cleveref/cleveref.sty
parente75495f92d91038a568dec3fd1cc854d51daf4c7 (diff)
cleveref 0.17 (8jun10)
git-svn-id: svn://tug.org/texlive/trunk@18826 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/cleveref/cleveref.sty')
-rw-r--r--Master/texmf-dist/tex/latex/cleveref/cleveref.sty284
1 files changed, 236 insertions, 48 deletions
diff --git a/Master/texmf-dist/tex/latex/cleveref/cleveref.sty b/Master/texmf-dist/tex/latex/cleveref/cleveref.sty
index 25b6a21ceda..a8699ee5913 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/05/25 v0.16.3 Intelligent cross-referencing]
+ [2010/06/07 v0.17 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
@@ -46,25 +46,28 @@
\def\refstepcounter@noarg#1{%
\cref@old@refstepcounter{#1}%
\cref@constructprefix{#1}{\@result}%
- \protected@edef\cref@currentlabel{%
- [#1][\arabic{#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}}
\def\refstepcounter@optarg[#1]#2{%
\cref@old@refstepcounter{#2}%
\cref@constructprefix{#2}{\@result}%
- \protected@edef\cref@currentlabel{%
+ \protected@xdef\cref@currentlabel{%
[#1][\arabic{#2}][\@result]%
- \csname p@#2\endcsname\csname the#1\endcsname}}
+ \csname p@#2\endcsname\csname the#2\endcsname}}
\let\cref@old@footnotetext\@footnotetext
\let\cref@old@mpfootnotetext\@mpfootnotetext
\def\@footnotetext#1{%
\cref@constructprefix{footnote}{\@result}%
- \protected@edef\cref@currentlabel{%
+ \protected@xdef\cref@currentlabel{%
[footnote][\arabic{footnote}][\@result]\p@footnote\@thefnmark}%
\cref@old@footnotetext{#1}}
\def\@mpfootnotetext#1{%
\cref@constructprefix{mpfootnote}{\@result}%
- \protected@edef\cref@currentlabel{%
+ \protected@xdef\cref@currentlabel{%
[footnote][\arabic{mpfootnote}][\@result]\p@footnote\@thefnmark}%
\cref@old@mpfootnotetext{#1}}
\AtBeginDocument{%
@@ -79,7 +82,7 @@
\def\label@optarg[#1]#2{%
\@bsphack%
\cref@old@label{#2}%
- \protected@edef\cref@currentlabel{%
+ \protected@xdef\cref@currentlabel{%
\expandafter\cref@override@label@type%
\cref@currentlabel\@nil{#1}}%
\protected@write\@auxout{}%
@@ -261,7 +264,7 @@
\let\tag\tag@in@align
\global\tag@false \global\let\raise@tag\@empty
\mmeasure@{#1}%
- \let\tag\gobble@tag \let\label\@gobble% <<< cleveref modification
+ \let\tag\gobble@tag \let\label\@gobble@optarg% <<< cleveref modification
\tabskip \if@fleqn \@mathmargin \else \z@skip \fi
\totwidth@\displaywidth
\if@fleqn
@@ -333,11 +336,11 @@
}%
\def\make@df@tag@@#1{%
\gdef\df@tag{\maketag@@@{#1}%
- \def\cref@currentlabel{[equation][][]#1}}}
+ \def\cref@currentlabel{[equation][2147483647][]#1}}}
\def\make@df@tag@@@#1{%
\gdef\df@tag{\tagform@{#1}%
\toks@\@xp{\p@equation{#1}}%
- \edef\cref@currentlabel{[equation][][]\the\toks@}}}
+ \edef\cref@currentlabel{[equation][2147483647][]\the\toks@}}}
}{}% end of \@ifpackageloaded{amsmath}
}% end of AtBeginDocument
\let\cref@old@appendix\appendix
@@ -355,27 +358,30 @@
\def\@tmpa{##1}%
\def\@tmpb{section}%
\ifx\@tmpa\@tmpb%
- \protected@edef\cref@currentlabel{%
+ \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@edef\cref@currentlabel{%
+ \protected@xdef\cref@currentlabel{%
[subappendix][\arabic{##1}][\@result]%
\csname p@##1\endcsname\csname the##1\endcsname}%
\else%
\def\@tmpa{##1}%
\def\@tmpb{subsubsection}%
\ifx\@tmpa\@tmpb%
- \protected@edef\cref@currentlabel{%
+ \protected@xdef\cref@currentlabel{%
[subsubappendix][\arabic{##1}][\@result]%
\csname p@##1\endcsname\csname the##1\endcsname}%
\else%
- \protected@edef\cref@currentlabel{%
- [##1][\arabic{##1}][\@result]%
- \csname p@##1\endcsname\csname the##1\endcsname}%
+ \@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}%
@@ -391,34 +397,37 @@
\def\@tmpa{##1}%
\def\@tmpb{chapter}%
\ifx\@tmpa\@tmpb%
- \protected@edef\cref@currentlabel{%
+ \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@edef\cref@currentlabel{%
+ \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@edef\cref@currentlabel{%
+ \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@edef\cref@currentlabel{%
+ \protected@xdef\cref@currentlabel{%
[subsubsubappendix][\arabic{##1}][\@result]%
\csname p@##1\endcsname\csname the##1\endcsname}%
\else%
- \protected@edef\cref@currentlabel{%
- [##1][\arabic{##1}][\@result]%
- \csname p@##1\endcsname\csname the##1\endcsname}%
+ \@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%
@@ -644,19 +653,17 @@
\cref@stack@init{\@countstacka}%
\expandafter\cref@stack@push\expandafter%
{\@countera}{\@countstacka}%
- \ifx\@prefixa\@empty%
- \else%
+ \ifx\@prefixa\@empty\else%
\expandafter\cref@stack@push\expandafter%
{\@prefixa}{\@countstacka}%
\fi%
\cref@stack@init{\@countstackb}%
\expandafter\cref@stack@push\expandafter%
{\@counterb}{\@countstackb}%
- \ifx\@prefixb\@empty%
- \else%
- \expandafter\cref@stack@push\expandafter%
- {\@prefixb}{\@countstackb}%
- \fi%
+ \ifx\@prefixb\@empty\else%
+ \expandafter\cref@stack@push\expandafter%
+ {\@prefixb}{\@countstackb}%
+ \fi%
\@cref@countercmp%
\fi%
\fi%
@@ -1298,6 +1305,8 @@
\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]{%
@@ -1747,13 +1756,16 @@
\def\H@refstepcounter#1{%
\cref@old@H@refstepcounter{#1}%
\cref@constructprefix{#1}{\@result}%
- \protected@edef\cref@currentlabel{%
- [#1][\arabic{#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}}
- \def\refstepcounter@noarg#1{\cref@old@refstepcounter{#1}}
+ \let\refstepcounter@noarg\cref@old@refstepcounter%
\def\refstepcounter@optarg[#1]#2{%
\cref@old@refstepcounter{#2}%
- \protected@edef\cref@currentlabel{%
+ \protected@xdef\cref@currentlabel{%
\expandafter\cref@override@label@type%
\cref@currentlabel\@nil{#1}}}
\renewcommand\appendix{%
@@ -1770,27 +1782,30 @@
\def\@tmpa{##1}%
\def\@tmpb{section}%
\ifx\@tmpa\@tmpb%
- \protected@edef\cref@currentlabel{%
+ \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@edef\cref@currentlabel{%
+ \protected@xdef\cref@currentlabel{%
[subappendix][\arabic{##1}][\@result]%
\csname p@##1\endcsname\csname the##1\endcsname}%
\else%
\def\@tmpa{##1}%
\def\@tmpb{subsubsection}%
\ifx\@tmpa\@tmpb%
- \protected@edef\cref@currentlabel{%
+ \protected@xdef\cref@currentlabel{%
[subsubappendix][\arabic{##1}][\@result]%
\csname p@##1\endcsname\csname the##1\endcsname}%
\else%
- \protected@edef\cref@currentlabel{%
- [##1][\arabic{##1}][\@result]%
- \csname p@##1\endcsname\csname the##1\endcsname}%
+ \@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}%
@@ -1806,34 +1821,37 @@
\def\@tmpa{##1}%
\def\@tmpb{chapter}%
\ifx\@tmpa\@tmpb%
- \protected@edef\cref@currentlabel{%
+ \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@edef\cref@currentlabel{%
+ \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@edef\cref@currentlabel{%
+ \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@edef\cref@currentlabel{%
+ \protected@xdef\cref@currentlabel{%
[subsubsubappendix][\arabic{##1}][\@result]%
\csname p@##1\endcsname\csname the##1\endcsname}%
\else%
- \protected@edef\cref@currentlabel{%
- [##1][\arabic{##1}][\@result]%
- \csname p@##1\endcsname\csname the##1\endcsname}%
+ \@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%
@@ -1994,6 +2012,26 @@
\@tempa}
\let\@xnthm\cref@old@xnthm
}{}% end of \@ifpackageloaded{amsthm}
+ \@ifpackageloaded{algorithm}{%
+ \PackageInfo{cleveref}{`algorithm' support loaded}
+ \let\cref@old@ALG@step\ALG@step
+ \def\ALG@step{%
+ \cref@old@ALG@step%
+ \addtocounter{ALG@line}{-1}%
+ \refstepcounter[line]{ALG@line}}
+ }{}% end of \@ifpackageloaded{algorithm}
+ \@ifpackageloaded{listings}{%
+ \PackageInfo{cleveref}{`listings' support loaded}
+ \crefalias{lstnumber}{line}}{}% end of \@ifpackageloaded{listings}
+ \@ifpackageloaded{subfig}{%
+ \PackageInfo{cleveref}{`subfig' support loaded}
+ \AtBeginDocument{
+ \let\cref@old@refsteponlycounter\refsteponlycounter
+ \def\refsteponlycounter{%
+ \@ifnextchar[{\refstepcounter@optarg}%
+ {\cref@old@refsteponlycounter}%]
+ }}
+ }{}% end of \@ifpackageloaded{subfig}
\@ifpackageloaded{varioref}{%
\PackageInfo{cleveref}{`varioref' support loaded}
\PackageInfo{cleveref}{`cleveref' supersedes `varioref's %
@@ -2654,6 +2692,8 @@
\Crefname@preamble{example}{Example}{Examples}%
\Crefname@preamble{remark}{Remark}{Remarks}%
\Crefname@preamble{note}{Note}{Notes}%
+ \Crefname@preamble{algorithm}{Algorithm}{Algorithms}%
+ \Crefname@preamble{line}{Line}{Lines}%
\if@cref@capitalise%
\crefname@preamble{equation}{Eq.}{Eqs.}%
\crefname@preamble{chapter}{Chapter}{Chapters}%
@@ -2672,6 +2712,8 @@
\crefname@preamble{example}{Example}{Examples}%
\crefname@preamble{remark}{Remark}{Remarks}%
\crefname@preamble{note}{Note}{Notes}%
+ \crefname@preamble{algorithm}{Algorithm}{Algorithms}%
+ \crefname@preamble{line}{Line}{Lines}%
\else%
\crefname@preamble{equation}{eq.}{eqs.}%
\crefname@preamble{chapter}{chapter}{chapters}%
@@ -2690,6 +2732,8 @@
\crefname@preamble{example}{example}{examples}%
\crefname@preamble{remark}{remark}{remarks}%
\crefname@preamble{note}{note}{notes}%
+ \crefname@preamble{algorithm}{algorithm}{algorithms}%
+ \crefname@preamble{line}{line}{lines}%
\fi%
\def\cref@language{english}%
\cref@addto\extrasenglish{%
@@ -2730,6 +2774,8 @@
\Crefname{example}{Example}{Examples}%
\Crefname{remark}{Remark}{Remarks}%
\Crefname{note}{Note}{Notes}%
+ \Crefname{algorithm}{Algorithm}{Algorithms}%
+ \Crefname{line}{Line}{Lines}%
\if@cref@capitalise%
\crefname{equation}{Eq.}{Eqs.}%
\crefname{chapter}{Chapter}{Chapters}%
@@ -2759,6 +2805,8 @@
\crefname{example}{Example}{Examples}%
\crefname{remark}{Remark}{Remarks}%
\crefname{note}{Note}{Notes}%
+ \crefname{algorithm}{Algorithm}{Algorithms}%
+ \crefname{line}{Line}{Lines}%
\else%
\crefname{equation}{eq.}{eqs.}%
\crefname{chapter}{chapter}{chapters}%
@@ -2788,6 +2836,8 @@
\crefname{example}{example}{examples}%
\crefname{remark}{remark}{remarks}%
\crefname{note}{note}{notes}%
+ \crefname{algorithm}{algorithm}{algorithms}%
+ \crefname{line}{line}{lines}%
\fi%
}}}
\DeclareOption{german}{%
@@ -2819,6 +2869,8 @@
\Crefname@preamble{example}{Beispiel}{Beispiele}%
\Crefname@preamble{remark}{Bemerkung}{Bemerkungen}%
\Crefname@preamble{note}{Anmerkung}{Anmerkungen}%
+ \Crefname@preamble{algorithm}{Algorithmus}{Algorithmen}%
+ \Crefname@preamble{line}{Linie}{Linien}%
\if@cref@capitalise%
\crefname@preamble{equation}{Gleichung}{Gleichungen}%
\crefname@preamble{chapter}{Kapitel}{Kapitel}%
@@ -2837,6 +2889,8 @@
\crefname@preamble{example}{Beispiel}{Beispiele}%
\crefname@preamble{remark}{Bemerkung}{Bemerkungen}%
\crefname@preamble{note}{Anmerkung}{Anmerkungen}%
+ \crefname@preamble{algorithm}{Algorithmus}{Algorithmen}%
+ \crefname@preamble{line}{Linie}{Linien}%
\else%
\crefname@preamble{equation}{Gleichung}{Gleichungen}%
\crefname@preamble{chapter}{Kapitel}{Kapitel}%
@@ -2855,6 +2909,8 @@
\crefname@preamble{example}{Beispiel}{Beispiele}%
\crefname@preamble{remark}{Bemerkung}{Bemerkungen}%
\crefname@preamble{note}{Anmerkung}{Anmerkungen}%
+ \crefname@preamble{algorithm}{algorithmus}{algorithmen}%
+ \crefname@preamble{line}{linie}{linien}%
\fi%
\def\cref@language{german}%
\cref@addto\extrasgerman{%
@@ -2895,6 +2951,8 @@
\Crefname{example}{Beispiel}{Beispiele}%
\Crefname{remark}{Bemerkung}{Bemerkungen}%
\Crefname{note}{Anmerkung}{Anmerkungen}%
+ \Crefname{algorithm}{Algorithmus}{Algorithmen}%
+ \Crefname{line}{Linie}{Linien}%
\if@cref@capitalise%
\crefname{equation}{Gleichung}{Gleichungen}%
\crefname{chapter}{Kapitel}{Kapitel}%
@@ -2924,6 +2982,8 @@
\crefname{example}{Beispiel}{Beispiele}%
\crefname{remark}{Bemerkung}{Bemerkungen}%
\crefname{note}{Anmerkung}{Anmerkungen}%
+ \crefname{algorithm}{Algorithmus}{Algorithmen}%
+ \crefname{line}{Linie}{Linien}%
\else%
\crefname{equation}{Gleichung}{Gleichungen}%
\crefname{chapter}{Kapitel}{Kapitel}%
@@ -2953,6 +3013,8 @@
\crefname{example}{Beispiel}{Beispiele}%
\crefname{remark}{Bemerkung}{Bemerkungen}%
\crefname{note}{Anmerkung}{Anmerkungen}%
+ \crefname{algorithm}{Algorithmus}{Algorithmen}%
+ \crefname{line}{Linie}{Linien}%
\fi%
}}}
\DeclareOption{ngerman}{%
@@ -2998,6 +3060,8 @@
\Crefname{example}{Beispiel}{Beispiele}%
\Crefname{remark}{Bemerkung}{Bemerkungen}%
\Crefname{note}{Anmerkung}{Anmerkungen}%
+ \Crefname{algorithm}{Algorithmus}{Algorithmen}%
+ \Crefname{line}{Linie}{Linien}%
\if@cref@capitalise%
\crefname{equation}{Gleichung}{Gleichungen}%
\crefname{chapter}{Kapitel}{Kapitel}%
@@ -3027,6 +3091,8 @@
\crefname{example}{Beispiel}{Beispiele}%
\crefname{remark}{Bemerkung}{Bemerkungen}%
\crefname{note}{Anmerkung}{Anmerkungen}%
+ \crefname{algorithm}{Algorithmus}{Algorithmen}%
+ \crefname{line}{Linie}{Linien}%
\else%
\crefname{equation}{Gleichung}{Gleichungen}%
\crefname{chapter}{Kapitel}{Kapitel}%
@@ -3056,6 +3122,8 @@
\crefname{example}{Beispiel}{Beispiele}%
\crefname{remark}{Bemerkung}{Bemerkungen}%
\crefname{note}{Anmerkung}{Anmerkungen}%
+ \crefname{algorithm}{Algorithmus}{Algorithmen}%
+ \crefname{line}{Linie}{Linien}%
\fi%
}}}
\DeclareOption{dutch}{%
@@ -3086,6 +3154,8 @@
\Crefname@preamble{example}{Voorbeeld}{Voorbeelden}%
\Crefname@preamble{remark}{Opmerking}{Opmerkingen}%
\Crefname@preamble{note}{Aantekening}{Aantekeningen}%
+ \Crefname@preamble{algorithm}{Algoritme}{Algoritmen}%
+ \Crefname@preamble{line}{Lijn}{Lijnen}%
\if@cref@capitalise%
\crefname@preamble{equation}{Verg.}{Verg's.}%
\crefname@preamble{chapter}{Hoofdstuk}{Hoofdstukken}%
@@ -3104,6 +3174,8 @@
\crefname@preamble{example}{Voorbeeld}{Voorbeelden}%
\crefname@preamble{remark}{Opmerking}{Opmerkingen}%
\crefname@preamble{note}{Aantekening}{Aantekeningen}%
+ \crefname@preamble{algorithm}{Algoritme}{Algoritmen}%
+ \crefname@preamble{line}{Lijn}{Lijnen}%
\else%
\crefname@preamble{equation}{verg.}{verg's.}%
\crefname@preamble{chapter}{hoofdstuk}{hoofdstukken}%
@@ -3122,6 +3194,8 @@
\crefname@preamble{example}{voorbeeld}{voorbeelden}%
\crefname@preamble{remark}{opmerking}{opmerkingen}%
\crefname@preamble{note}{aantekening}{aantekeningen}%
+ \crefname@preamble{algorithm}{algoritme}{algoritmen}%
+ \crefname@preamble{line}{lijn}{lijnen}%
\fi%
\def\cref@language{dutch}%
\cref@addto\extrasdutch{%
@@ -3162,6 +3236,8 @@
\Crefname{example}{Voorbeeld}{Voorbeelden}%
\Crefname{remark}{Opmerking}{Opmerkingen}%
\Crefname{note}{Aantekening}{Aantekeningen}%
+ \Crefname{algorithm}{Algoritme}{Algoritmen}%
+ \Crefname{line}{Lijn}{Lijnen}%
\if@cref@capitalise%
\crefname{equation}{Verg.}{Verg's.}%
\crefname{chapter}{Hoofdstuk}{Hoofdstukken}%
@@ -3180,6 +3256,8 @@
\crefname{example}{Voorbeeld}{Voorbeelden}%
\crefname{remark}{Opmerking}{Opmerkingen}%
\crefname{note}{Aantekening}{Aantekeningen}%
+ \crefname{algorithm}{Algoritme}{Algoritmen}%
+ \crefname{line}{Lijn}{Lijnen}%
\else%
\crefname{equation}{verg.}{verg's.}%
\crefname{chapter}{hoofdstuk}{hoofdstukken}%
@@ -3198,6 +3276,8 @@
\crefname{example}{voorbeeld}{voorbeelden}%
\crefname{remark}{opmerking}{opmerkingen}%
\crefname{note}{aantekening}{aantekeningen}%
+ \crefname{algorithm}{algoritme}{algoritmen}%
+ \crefname{line}{lijn}{lijnen}%
\fi%
}}}
\DeclareOption{french}{%
@@ -3228,6 +3308,8 @@
\Crefname@preamble{result}{R\'esultat}{R\'esultats}%
\Crefname@preamble{example}{Exemple}{Exemples}%
\Crefname@preamble{remark}{Remarque}{Remarques}%
+ \Crefname@preamble{algorithm}{Algorithme}{Algorithmes}%
+ \Crefname@preamble{line}{Ligne}{Lignes}%
\if@cref@capitalise%
\crefname@preamble{equation}{{\'E}quation}{{\'E}quations}%
\crefname@preamble{chapter}{Chapitre}{Chapitres}%
@@ -3246,6 +3328,8 @@
\crefname@preamble{example}{Exemple}{Exemples}%
\crefname@preamble{remark}{Remarque}{Remarques}%
\crefname@preamble{note}{Commentaire}{Commentaires}%
+ \crefname@preamble{algorithm}{Algorithme}{Algorithmes}%
+ \crefname@preamble{line}{Ligne}{Lignes}%
\else%
\crefname@preamble{equation}{{\'e}quation}{{\'e}quations}%
\crefname@preamble{chapter}{chapitre}{chapitres}%
@@ -3264,6 +3348,8 @@
\crefname@preamble{example}{exemple}{exemples}%
\crefname@preamble{remark}{remarque}{remarques}%
\crefname@preamble{note}{commentaire}{commentaires}%
+ \crefname@preamble{algorithm}{algorithme}{algorithmes}%
+ \crefname@preamble{line}{ligne}{lignes}%
\fi%
\def\cref@language{french}%
\cref@addto\extrasfrench{%
@@ -3304,6 +3390,8 @@
\Crefname{example}{Exemple}{Exemples}%
\Crefname{remark}{Remarque}{Remarques}%
\Crefname{note}{Commentaire}{Commentaires}%
+ \Crefname{algorithm}{Algorithme}{Algorithmes}%
+ \Crefname{line}{Ligne}{Lignes}%
\if@cref@capitalise%
\crefname{equation}{{\'E}quation}{{\'E}quations}%
\crefname{chapter}{Chapitre}{Chapitres}%
@@ -3333,6 +3421,8 @@
\crefname{example}{Exemple}{Exemples}%
\crefname{remark}{Remarque}{Remarques}%
\crefname{note}{Commentaire}{Commentaires}%
+ \crefname{algorithm}{Algorithme}{Algorithmes}%
+ \crefname{line}{Ligne}{Lignes}%
\else%
\crefname{equation}{{\'e}quation}{{\'e}quations}%
\crefname{chapter}{chapitre}{chapitres}%
@@ -3362,6 +3452,8 @@
\crefname{example}{exemple}{exemples}%
\crefname{remark}{remarque}{remarques}%
\crefname{note}{commentaire}{commentaires}%
+ \crefname{algorithm}{algorithme}{algorithmes}%
+ \crefname{line}{ligne}{lignes}%
\fi%
}}}
\DeclareOption{spanish}{%
@@ -3393,6 +3485,8 @@
\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}%
\if@cref@capitalise%
\crefname@preamble{equation}{Ecuaci\'on}{ecuaciones}%
\crefname@preamble{chapter}{Cap\'itulo}{cap\'itulos}%
@@ -3411,6 +3505,8 @@
\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{chapter}{cap\'itulo}{cap\'itulos}%
@@ -3429,6 +3525,8 @@
\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}%
\fi%
\def\cref@language{spanish}%
\cref@addto\extrasspanish{%
@@ -3469,6 +3567,8 @@
\Crefname{example}{Ejemplo}{Ejemplos}%
\Crefname{remark}{Observaci\'on}{Observaci\'on}%
\Crefname{note}{Nota}{Notas}%
+ \Crefname{algorithm}{Algoritmo}{Algoritmos}%
+ \Crefname{line}{L\'inea}{L\'ineas}%
\if@cref@capitalise%
\crefname{equation}{Ecuaci\'on}{Ecuaciones}%
\crefname{chapter}{Cap\'itulo}{Cap\'itulos}%
@@ -3498,6 +3598,8 @@
\crefname{example}{Ejemplo}{Ejemplos}%
\crefname{remark}{Observaci\'on}{Observaci\'ones}%
\crefname{note}{Nota}{Notas}%
+ \crefname{algorithm}{Algoritmo}{Algoritmos}%
+ \crefname{line}{L\'inea}{L\'ineas}%
\else%
\crefname{equation}{ecuaci\'on}{ecuaciones}%
\crefname{chapter}{cap\'itulo}{cap\'itulos}%
@@ -3527,6 +3629,8 @@
\crefname{example}{ejemplo}{ejemplos}%
\crefname{remark}{observaci\'on}{observaci\'ones}%
\crefname{note}{nota}{notas}%
+ \crefname{algorithm}{algoritmo}{algoritmos}%
+ \crefname{line}{l\'inea}{l\'ineas}%
\fi%
}}}
\DeclareOption{italian}{%
@@ -3558,6 +3662,8 @@
\Crefname@preamble{example}{esempio}{esempi}%
\Crefname@preamble{remark}{Osservazione}{Osservazioni}%
\Crefname@preamble{note}{Nota}{Note}%
+ \Crefname@preamble{algorithm}{Algoritmo}{Algoritmi}%
+ \Crefname@preamble{line}{Linea}{Linee}%
\if@cref@capitalise%
\crefname@preamble{equation}{Eq.}{Eq.}%
\crefname@preamble{chapter}{Capitolo}{Capitoli}%
@@ -3576,6 +3682,8 @@
\crefname@preamble{example}{Esempio}{Esempi}%
\crefname@preamble{remark}{Osservazione}{Osservazioni}%
\crefname@preamble{note}{Nota}{Note}%
+ \crefname@preamble{algorithm}{Algoritmo}{Algoritmi}%
+ \crefname@preamble{line}{Linea}{Linee}%
\else%
\crefname@preamble{equation}{eq.}{eq.}%
\crefname@preamble{chapter}{capitolo}{capitoli}%
@@ -3594,6 +3702,8 @@
\crefname@preamble{example}{esempio}{esempi}%
\crefname@preamble{remark}{osservazione}{osservazioni}%
\crefname@preamble{note}{nota}{note}%
+ \crefname@preamble{algorithm}{algoritmo}{algoritmi}%
+ \crefname@preamble{line}{linea}{linee}%
\fi%
\def\cref@language{italian}%
\cref@addto\extrasitalian{%
@@ -3634,6 +3744,8 @@
\Crefname{example}{esempio}{esempi}%
\Crefname{remark}{Osservazione}{Osservazioni}%
\Crefname{note}{Nota}{Note}%
+ \Crefname{algorithm}{Algoritmo}{Algoritmi}%
+ \Crefname{line}{Linea}{Linee}%
\if@cref@capitalise%
\crefname{equation}{Eq.}{Eq.}%
\crefname{chapter}{Capitolo}{Capitoli}%
@@ -3663,6 +3775,8 @@
\crefname{example}{Esempio}{Esempi}%
\crefname{remark}{Osservazione}{Osservazioni}%
\crefname{note}{Nota}{Note}%
+ \crefname{algorithm}{Algoritmo}{Algoritmi}%
+ \crefname{line}{Linea}{Linee}%
\else%
\crefname{equation}{eq.}{eq.}%
\crefname{chapter}{capitolo}{capitoli}%
@@ -3692,6 +3806,8 @@
\crefname{example}{esempio}{esempi}%
\crefname{remark}{osservazione}{osservazioni}%
\crefname{note}{nota}{note}%
+ \crefname{algorithm}{algoritmo}{algoritmi}%
+ \crefname{line}{linea}{linee}%
\fi%
}}}
\DeclareOption{russian}{%
@@ -3758,6 +3874,12 @@
\Crefname@preamble{note}%
{\CYRZ\cyra\cyrm\cyre\cyrt\cyrk\cyra}%
{\CYRZ\cyra\cyrm\cyre\cyrt\cyrk\cyri}%
+ \Crefname@preamble{algorithm}%
+ {\CYRA\cyrl\cyrg\cyro\cyrr\cyri\cyrt\cyrm}%
+ {\CYRA\cyrl\cyrg\cyro\cyrr\cyri\cyrt\cyrm\cyrery}%
+ \Crefname@preamble{line}%
+ {\CYRS\cyrt\cyrr\cyro\cyrk\cyra}%
+ {\CYRS\cyrt\cyrr\cyro\cyrk\cyri}%
\if@cref@capitalise%
\crefname@preamble{equation}%
{\CYRF-\cyrl.}%
@@ -3808,6 +3930,12 @@
\crefname@preamble{note}%
{\CYRZ\cyra\cyrm\cyre\cyrt\cyrk\cyra}%
{\CYRZ\cyra\cyrm\cyre\cyrt\cyrk\cyri}%
+ \crefname@preamble{algorithm}%
+ {\CYRA\cyrl\cyrg\cyro\cyrr\cyri\cyrt\cyrm}%
+ {\CYRA\cyrl\cyrg\cyro\cyrr\cyri\cyrt\cyrm\cyrery}%
+ \crefname@preamble{line}%
+ {\CYRS\cyrt\cyrr\cyro\cyrk\cyra}%
+ {\CYRS\cyrt\cyrr\cyro\cyrk\cyri}%
\else%
\crefname@preamble{equation}{\cyrf-\cyrl.}{\cyrf-\cyrl.}%
\crefname@preamble{chapter}%
@@ -3856,6 +3984,12 @@
\crefname@preamble{note}%
{\cyrz\cyra\cyrm\cyre\cyrt\cyrk.}%
{\cyrz\cyra\cyrm\cyre\cyrt\cyrk.}%
+ \crefname@preamble{algorithm}%
+ {\cyra\cyrl\cyrg.}%
+ {\cyra\cyrl\cyrg.}%
+ \crefname@preamble{line}%
+ {\cyrs\cyrt\cyrr\cyrk.}%
+ {\cyrs\cyrt\cyrr\cyrk.}%
\fi%
\def\cref@language{russian}%
\cref@addto\extrasrussian{%
@@ -3953,6 +4087,12 @@
\Crefname{note}%
{\CYRZ\cyra\cyrm\cyre\cyrt\cyrk\cyra}%
{\CYRZ\cyra\cyrm\cyre\cyrt\cyrk\cyri}%
+ \Crefname{algorithm}%
+ {\CYRA\cyrl\cyrg\cyro\cyrr\cyri\cyrt\cyrm}%
+ {\CYRA\cyrl\cyrg\cyro\cyrr\cyri\cyrt\cyrm\cyrery}%
+ \Crefname{line}%
+ {\CYRS\cyrt\cyrr\cyro\cyrk\cyra}%
+ {\CYRS\cyrt\cyrr\cyro\cyrk\cyri}%
\if@cref@capitalise%
\crefname{equation}{\CYRF-\cyrl.}{\CYRF-\cyrl.}%
\crefname{chapter}%
@@ -4026,6 +4166,12 @@
\crefname{note}%
{\CYRZ\cyra\cyrm\cyre\cyrt\cyrk\cyra}%
{\CYRZ\cyra\cyrm\cyre\cyrt\cyrk\cyri}%
+ \crefname{algorithm}%
+ {\CYRA\cyrl\cyrg\cyro\cyrr\cyri\cyrt\cyrm}%
+ {\CYRA\cyrl\cyrg\cyro\cyrr\cyri\cyrt\cyrm\cyrery}%
+ \crefname{line}%
+ {\CYRS\cyrt\cyrr\cyro\cyrk\cyra}%
+ {\CYRS\cyrt\cyrr\cyro\cyrk\cyri}%
\else%
\crefname{equation}{\cyrf-\cyrl.}{\cyrf-\cyrl.}%
\crefname{chapter}{\cyrg\cyrl\cyra\cyrv.}{\cyrg\cyrl\cyra\cyrv.}%
@@ -4097,6 +4243,12 @@
\crefname{note}%
{\cyrz\cyra\cyrm\cyre\cyrt\cyrk.}%
{\cyrz\cyra\cyrm\cyre\cyrt\cyrk.}%
+ \crefname{algorithm}%
+ {\cyra\cyrl\cyrg.}%
+ {\cyra\cyrl\cyrg.}%
+ \crefname{line}%
+ {\cyrs\cyrt\cyrr\cyrk.}%
+ {\cyrs\cyrt\cyrr\cyrk.}%
\fi%
}}}
\DeclareOption{ukrainian}{%
@@ -4163,6 +4315,12 @@
\Crefname@preamble{note}%
{\CYRZ\cyra\cyrm\cyrii\cyrt\cyrk\cyra}%
{\CYRZ\cyra\cyrm\cyrii\cyrt\cyrk\cyri}%
+ \Crefname@preamble{algorithm}%
+ {\CYRA\cyrl\cyrg\cyro\cyrr\cyri\cyrt\cyrm}%
+ {\CYRA\cyrl\cyrg\cyro\cyrr\cyri\cyrt\cyrm\cyri}%
+ \Crefname@preamble{line}%
+ {\CYRS\cyrt\cyrr\cyro\cyrk\cyra}%
+ {\CYRS\cyrt\cyrr\cyro\cyrk\cyri}%
\if@cref@capitalise%
\crefname@preamble{equation}{\CYRF-\cyrl.}{\CYRF-\cyrl.}%
\crefname@preamble{chapter}%
@@ -4211,6 +4369,12 @@
\crefname@preamble{note}%
{\CYRZ\cyra\cyrm\cyrii\cyrt\cyrk\cyra}%
{\CYRZ\cyra\cyrm\cyrii\cyrt\cyrk\cyri}%
+ \crefname@preamble{algorithm}%
+ {\CYRA\cyrl\cyrg\cyro\cyrr\cyri\cyrt\cyrm}%
+ {\CYRA\cyrl\cyrg\cyro\cyrr\cyri\cyrt\cyrm\cyri}%
+ \crefname@preamble{line}%
+ {\CYRS\cyrt\cyrr\cyro\cyrk\cyra}%
+ {\CYRS\cyrt\cyrr\cyro\cyrk\cyri}%
\else%
\crefname@preamble{equation}{\cyrf-\cyrl.}{\cyrf-\cyrl.}%
\crefname@preamble{chapter}%
@@ -4259,6 +4423,12 @@
\crefname@preamble{note}%
{\cyrz\cyra\cyrm\cyrii\cyrt.}%
{\cyrz\cyra\cyrm\cyrii\cyrt.}%
+ \crefname@preamble{algorithm}%
+ {\cyra\cyrl\cyrg.}%
+ {\cyra\cyrl\cyrg.}%
+ \crefname@preamble{line}%
+ {\cyrs\cyrt\cyrr\cyrk.}%
+ {\cyrs\cyrt\cyrr\cyrk.}%
\fi%
\def\cref@language{ukrainian}%
\cref@addto\extrasukrainian{%
@@ -4356,6 +4526,12 @@
\Crefname{note}%
{\CYRZ\cyra\cyrm\cyrii\cyrt\cyrk\cyra}%
{\CYRZ\cyra\cyrm\cyrii\cyrt\cyrk\cyri}%
+ \Crefname{algorithm}%
+ {\CYRA\cyrl\cyrg\cyro\cyrr\cyri\cyrt\cyrm}%
+ {\CYRA\cyrl\cyrg\cyro\cyrr\cyri\cyrt\cyrm\cyri}%
+ \Crefname{line}%
+ {\CYRS\cyrt\cyrr\cyro\cyrk\cyra}%
+ {\CYRS\cyrt\cyrr\cyro\cyrk\cyri}%
\if@cref@capitalise%
\crefname{equation}{\CYRF-\cyrl.}{\CYRF-\cyrl.}%
\crefname{chapter}%
@@ -4429,6 +4605,12 @@
\crefname{note}%
{\CYRZ\cyra\cyrm\cyrii\cyrt\cyrk\cyra}%
{\CYRZ\cyra\cyrm\cyrii\cyrt\cyrk\cyri}%
+ \crefname{algorithm}%
+ {\CYRA\cyrl\cyrg\cyro\cyrr\cyri\cyrt\cyrm}%
+ {\CYRA\cyrl\cyrg\cyro\cyrr\cyri\cyrt\cyrm\cyri}%
+ \crefname{line}%
+ {\CYRS\cyrt\cyrr\cyro\cyrk\cyra}%
+ {\CYRS\cyrt\cyrr\cyro\cyrk\cyri}%
\else%
\crefname{equation}{\cyrf-\cyrl.}{\cyrf-\cyrl.}%
\crefname{chapter}%
@@ -4500,6 +4682,12 @@
\crefname{note}%
{\cyrz\cyra\cyrm\cyrii\cyrt.}%
{\cyrz\cyra\cyrm\cyrii\cyrt.}%
+ \crefname{algorithm}%
+ {\cyra\cyrl\cyrg.}%
+ {\cyra\cyrl\cyrg.}%
+ \crefname{line}%
+ {\cyrs\cyrt\cyrr\cyrk.}%
+ {\cyrs\cyrt\cyrr\cyrk.}%
\fi%
}}}
\edef\@curroptions{\@ptionlist{\@currname.\@currext}}%