summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/cleveref
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/cleveref')
-rw-r--r--Master/texmf-dist/source/latex/cleveref/cleveref.dtx430
1 files changed, 360 insertions, 70 deletions
diff --git a/Master/texmf-dist/source/latex/cleveref/cleveref.dtx b/Master/texmf-dist/source/latex/cleveref/cleveref.dtx
index 472169b32f2..c429b43cc5f 100644
--- a/Master/texmf-dist/source/latex/cleveref/cleveref.dtx
+++ b/Master/texmf-dist/source/latex/cleveref/cleveref.dtx
@@ -21,11 +21,11 @@
% \iffalse
%<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
%<package>\ProvidesPackage{cleveref}
-%<package> [2010/05/25 v0.16.3 Intelligent cross-referencing]
+%<package> [2010/06/07 v0.17 Intelligent cross-referencing]
%
%<*driver>
-%\documentclass{ltxdoc}
-\documentclass[draft]{ltxdoc}
+\documentclass{ltxdoc}
+%\documentclass[draft]{ltxdoc}
\usepackage{url}
\usepackage{pifont} % FIXME: find nicer line-continuation symbol than \ding{229}
% \usepackage{hyperref} % breaks index
@@ -62,7 +62,7 @@
%</driver>
% \fi
%
-% \CheckSum{12685}
+% \CheckSum{13168}
%% \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
@@ -180,12 +180,21 @@
% works for those (and also switching language in the middle of a
% document). Added \package{babel} support for Russian and Ukranian.
% Fixed bug in \textbackslash{}refstepcounter@optarg.}
+% \changes{v0.17}{2010/06/07}{Fixed bug in non-\package{hyperref}
+% version of \textbackslash{}refstepcounter. Added
+% \textbackslash{}crefalias command for aliasing a counter to a
+% different cross-reference type. Added support for \package{algorithm}
+% package. Improved support for \package{subfig} package. Added support
+% for \package{listings} package. Fixed bugs in \package{amsmath}
+% \textbackslash{}tag command when used with \option{sort} option, and
+% in the \package{amsmath} multline environment's support for the
+% optional argument to \textbackslash{}label.}
%
%
% \GetFileInfo{cleveref.sty}
%
-% \def\fileversion{0.16.3}
-% \def\filedate{25/05/2010}
+% \def\fileversion{0.17}
+% \def\filedate{07/06/2010}
%
% \title{The \package{cleveref} package\thanks{This document
% corresponds to \textsf{cleveref}~\fileversion, dated
@@ -1082,11 +1091,23 @@
% \label{sec:label_type}
% \DescribeMacro\label
% As described previously, a label's ``type'' is usually determined by
-% its counter, or in the case of \package{ntheorem} theorem-like
-% environments by the environment name. Occasionally, you may want to
-% override the cross-reference type for a particular label. You can do
-% this by supplying the desired type as an optional argument to the
-% |\label| command:
+% its counter, or in the case of \package{ntheorem} or \package{amsthm}
+% theorem-like environments by the environment name. However, sometimes
+% it is useful to override the type. \package{cleveref} provides two
+% different mechanisms for accomplishing this.
+%
+% You can alias a counter to a different cross-reference type using the
+% |\crefalias| command:
+% \begin{quote}
+% |\crefalias{|\meta{counter}|}{|\meta{type}|}|
+% \end{quote}
+% \meta{counter} will then use the cross-reference formatting of
+% \meta{type}. This can be useful if you want multiple counters to use
+% the same cross-reference format.
+%
+% Occasionally, you may want to override the cross-reference type for one
+% particular label, one-off. You can do this by supplying the desired
+% type as an optional argument to the |\label| command:
% \begin{quote}
% |\label[|\meta{type}|]{|\meta{label}|}|
% \end{quote}
@@ -1425,9 +1446,11 @@
% so that it first calls the old version to define the standard
% \cmd{\@currentlabel} macro, before defining \package{cleveref}'s
% \cmd{\cref@currentlabel}, which contains the extra information. The
-% new \cmd{\refstepcounter} can take an optional argument, which
-% overrides the default ``type'' stored in \cmd{\cref@currentlabel},
-% which is otherwise inferred from the counter.
+% cross-reference ``type'' stored in \cmd{cref@currentlabel} is usually
+% inferred from the counter. This can be overridden by aliasing the
+% counter name to a different type using \cmd{\crefalias}. The new
+% \cmd{\refstepcounter} can also take an optional argument, which
+% always overrides the type.
% \begin{macrocode}
\def\cref@currentlabel{}
\let\cref@old@refstepcounter\refstepcounter
@@ -1437,15 +1460,18 @@
\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}}
% \end{macrocode}
% \end{macro}
% \end{macro}
@@ -1454,20 +1480,20 @@
% \begin{macro}{\@footnotetext}
% \begin{macro}{\@mpfootnotetext}
% Footnotes don't use the \cmd{\refstepcounter} mechansism, but instead
-% set \cmd{\@currentlabel} directly in \cmd{\@footnotetext} or
-% \cmd{\@mpfootnotetext}. We modifiy these to make them also set
-% \cmd{\cref@currentlabel} appropriately.
+% set\linebreak[4] \cmd{\@currentlabel} directly in
+% \cmd{\@footnotetext} or \cmd{\@mpfootnotetext}. We modifiy these to
+% make them also set \cmd{\cref@currentlabel} appropriately.
% \begin{macrocode}
\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}}
% \end{macrocode}
@@ -1504,7 +1530,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{}%
@@ -1734,7 +1760,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
@@ -1826,15 +1852,18 @@
% \begin{macro}{\make@df@tag@@}
% \begin{macro}{\make@df@tag@@@}
% We override the internals of the \package{amsmath} \cmd{\tag} command
-% to add the additional information to the label definition.
+% to add the additional information to the label definition. Since
+% labels produced by \cmd{\tag} have no logical ordering when sorting a
+% list of references, we give them a large numerical value so that they
+% get pushed to the end of sorted cross-reference lists.
% \begin{macrocode}
\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
% \end{macrocode}
@@ -1877,27 +1906,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}%
@@ -1920,34 +1952,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%
@@ -2328,7 +2363,7 @@
% \end{macrocode}
% In order to ensure empty references end up in the right place when
% sorting lists of multiple references, we make the comparison macro
-% sorts them before a non-empty reference.
+% sort them before a non-empty reference.
% \begin{macrocode}
\ifx\@tmpa\@empty%
\def\@result{1}%
@@ -2357,19 +2392,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%
@@ -3368,6 +3401,16 @@
% \end{macro}
% \end{macro}
%
+% \begin{macro}{\crefalias}
+% The \cmd{\crefalias} command aliases a counter name to another
+% cross-reference type, so can be used to make the same cross-reference
+% format apply to multiple different counters.
+%\begin{macrocode}
+\newcommand{\crefalias}[2]{%
+ \expandafter\def\csname cref@#1@alias\endcsname{#2}}
+% \end{macrocode}
+% \end{macro}
+%
% \begin{macro}{\crefname@preamble}
% \begin{macro}{\Crefname@preamble}
% The \cmd{\crefname@preamble} and \cmd{\Crefname@preamble} commands
@@ -4170,8 +4213,11 @@
\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}}
% \end{macrocode}
% \end{macro}
@@ -4183,17 +4229,19 @@
% \cmd{\H@refstepcounter}, and we just redefined the latter to store
% the extra information. So we only need to change
% \cmd{\cref@currentlabel} in \emph{our} \cmd{\refstepcounter} if an
-% optional argument was supplied. (Note that, in this case, the
+% optional argument was supplied. Note that, in this case, the
% mechanism for setting \cmd{\cref@currentlabel} is slightly different
% than it is without \package{hyperref}: \cmd{\cref@currentlabel} first
% gets set by our modified \cmd{\H@refstepcounter}, which gets called
-% via \cmd{\cref@old@refstepcounter}. \cmd{\cref@refstepcounter@optarg}
-% then overrides the label type.)
+% via \package{hyperref}'s original version, as stored in
+% \cmd{\cref@old@refstepcounter}. The version of
+% \cmd{\cref@refstepcounter@optarg} defined below then overrides the
+% label type.
% \begin{macrocode}
- \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}}}
% \end{macrocode}
@@ -4228,27 +4276,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}%
@@ -4271,34 +4322,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%
@@ -4464,7 +4518,7 @@
% \begin{macro}{\@ynthm}
% After sorting out its arguments, \cmd{\newtheorem} calls one of
% \cmd{\@othm}, \cmd{\@xthm} or \cmd{\@ythm}. We add automatic
-% definitions of \cmd{\cref@\meta{type}@name} and
+% definitions of \cmd{\cref@\meta{type}@name} and\linebreak[4]
% \cmd{\Cref@\meta{type}@name} to all three of these, and add the
% theorem-like environment to the list of cross-reference types that
% need to be defined from components at |\||begin{document}|. Since we
@@ -4626,6 +4680,92 @@
%
%
%
+% \begin{macro}{algorithm}
+% If \package{algorithm} is loaded, we modify its line numbering
+% mechanism so that labels referring to line numbers in algorithms work
+% with \package{cleveref}.
+% \begin{macrocode}
+ \@ifpackageloaded{algorithm}{%
+ \PackageInfo{cleveref}{`algorithm' support loaded}
+% \end{macrocode}
+%
+% \begin{macro}{\ALG@step}
+% We modify \package{algorithm}'s \cmd{ALG@step} macro, which
+% increments the line number, so that it stores the necessary
+% information in \cmd{\cref@currentlabel}. \cmd{ALG@step} already
+% increments the line number counter \cmd{ALG@line} using
+% \cmd{\addtocounter}, but to get \package{cleveref} support working,
+% it's cleaner to hook into the \cmd{\refstepcounter} mechanism, so we
+% first decrement the counter and then re-increment it using
+% \cmd{\refstepcounter}. Finally, since \cmd{ALG@step} is called within
+% a group, we have to make the definition of \cmd{cref@currentlabel}
+% global.
+% \begin{macrocode}
+ \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}
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+%
+%
+%
+% \begin{macro}{listings}
+% The only thing we need to do in order to support cross-references to
+% line numbers produced by the \package{listings} package is to alias
+% the counter is uses, \cmd{lstnumber}, to the ``line'' cross-reference
+% type.
+% \begin{macrocode}
+ \@ifpackageloaded{listings}{%
+ \PackageInfo{cleveref}{`listings' support loaded}
+ \crefalias{lstnumber}{line}}{}% end of \@ifpackageloaded{listings}
+% \end{macrocode}
+% \end{macro}
+%
+%
+%
+% \begin{macro}{subfig}
+% The \package{subfig} package modifies \cmd{\refstepcounter} within
+% floats. Most of the time, this isn't a problem for
+% \package{cleveref}, as \package{subfig}'s modified
+% \cmd{refstepcounter} calls \package{cleveref}'s version after it's
+% done its stuff. However, this breaks support the
+% \cmd{\refstepcounter} optional argument, so we fix that here.
+% \begin{macrocode}
+ \@ifpackageloaded{subfig}{%
+ \PackageInfo{cleveref}{`subfig' support loaded}
+% \end{macrocode}
+%
+% \begin{macro}{\refsteponlycounter}
+% \package{subfig} replaces \cmd{\refstepcounter} with
+% \cmd{\refsteonlycounter} within floats, which calls the saved
+% \package{cleveref} \cmd{\refstepcounter} after doing some extra
+% \package{subfig}-related processing. We redefine
+% \cmd{refsteponlycounter} so that passing it an optional argument
+% bypasses \package{subfig}'s code entirely and just calls the
+% \package{cleveref} code directly. Since only
+% \package{cleveref}-specific commands will ever pass an optional
+% argument to \cmd{\refstepcounter}, this won't affect
+% \package{subfig}'s use of \cmd{\refstepcounter}. We have to postpone
+% this redefinition until the beginning of the document because
+% \package{subfig} does.
+% \begin{macrocode}
+ \AtBeginDocument{
+ \let\cref@old@refsteponlycounter\refsteponlycounter
+ \def\refsteponlycounter{%
+ \@ifnextchar[{\refstepcounter@optarg}%
+ {\cref@old@refsteponlycounter}%]
+ }}
+ }{}% end of \@ifpackageloaded{subfig}
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+%
+%
+%
% \subsection{\package{varioref} Support}
% \begin{macro}{varioref}
% If \package{varioref} is loaded, we redefine its commands to use
@@ -5741,6 +5881,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}%
@@ -5759,6 +5901,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}%
@@ -5777,6 +5921,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}%
% \end{macrocode}
@@ -5823,6 +5969,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}%
@@ -5852,6 +6000,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}%
@@ -5881,6 +6031,8 @@
\crefname{example}{example}{examples}%
\crefname{remark}{remark}{remarks}%
\crefname{note}{note}{notes}%
+ \crefname{algorithm}{algorithm}{algorithms}%
+ \crefname{line}{line}{lines}%
\fi%
}}}
% \end{macrocode}
@@ -5932,6 +6084,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}%
@@ -5950,6 +6104,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}%
@@ -5968,6 +6124,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}%
% \end{macrocode}
@@ -6014,6 +6172,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}%
@@ -6043,6 +6203,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}%
@@ -6072,6 +6234,8 @@
\crefname{example}{Beispiel}{Beispiele}%
\crefname{remark}{Bemerkung}{Bemerkungen}%
\crefname{note}{Anmerkung}{Anmerkungen}%
+ \crefname{algorithm}{Algorithmus}{Algorithmen}%
+ \crefname{line}{Linie}{Linien}%
\fi%
}}}
% \end{macrocode}
@@ -6128,6 +6292,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}%
@@ -6157,6 +6323,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}%
@@ -6186,6 +6354,8 @@
\crefname{example}{Beispiel}{Beispiele}%
\crefname{remark}{Bemerkung}{Bemerkungen}%
\crefname{note}{Anmerkung}{Anmerkungen}%
+ \crefname{algorithm}{Algorithmus}{Algorithmen}%
+ \crefname{line}{Linie}{Linien}%
\fi%
}}}
% \end{macrocode}
@@ -6234,6 +6404,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}%
@@ -6252,6 +6424,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}%
@@ -6270,6 +6444,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}%
% \end{macrocode}
@@ -6316,6 +6492,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}%
@@ -6334,6 +6512,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}%
@@ -6352,6 +6532,8 @@
\crefname{example}{voorbeeld}{voorbeelden}%
\crefname{remark}{opmerking}{opmerkingen}%
\crefname{note}{aantekening}{aantekeningen}%
+ \crefname{algorithm}{algoritme}{algoritmen}%
+ \crefname{line}{lijn}{lijnen}%
\fi%
}}}
% \end{macrocode}
@@ -6399,6 +6581,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}%
@@ -6417,6 +6601,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}%
@@ -6435,6 +6621,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}%
% \end{macrocode}
@@ -6481,6 +6669,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}%
@@ -6510,6 +6700,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}%
@@ -6539,6 +6731,8 @@
\crefname{example}{exemple}{exemples}%
\crefname{remark}{remarque}{remarques}%
\crefname{note}{commentaire}{commentaires}%
+ \crefname{algorithm}{algorithme}{algorithmes}%
+ \crefname{line}{ligne}{lignes}%
\fi%
}}}
% \end{macrocode}
@@ -6581,6 +6775,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}%
@@ -6599,6 +6795,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}%
@@ -6617,6 +6815,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}%
% \end{macrocode}
@@ -6663,6 +6863,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}%
@@ -6692,6 +6894,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}%
@@ -6721,6 +6925,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%
}}}
% \end{macrocode}
@@ -6771,6 +6977,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}%
@@ -6789,6 +6997,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}%
@@ -6807,6 +7017,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}%
% \end{macrocode}
@@ -6853,6 +7065,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}%
@@ -6882,6 +7096,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}%
@@ -6911,6 +7127,8 @@
\crefname{example}{esempio}{esempi}%
\crefname{remark}{osservazione}{osservazioni}%
\crefname{note}{nota}{note}%
+ \crefname{algorithm}{algoritmo}{algoritmi}%
+ \crefname{line}{linea}{linee}%
\fi%
}}}
% \end{macrocode}
@@ -6995,6 +7213,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.}%
@@ -7045,6 +7269,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}%
@@ -7093,6 +7323,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}%
% \end{macrocode}
@@ -7196,6 +7432,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}%
@@ -7269,6 +7511,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.}%
@@ -7340,6 +7588,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%
}}}
% \end{macrocode}
@@ -7424,6 +7678,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}%
@@ -7472,6 +7732,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}%
@@ -7520,6 +7786,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}%
% \end{macrocode}
@@ -7623,6 +7895,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}%
@@ -7696,6 +7974,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}%
@@ -7767,6 +8051,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%
}}}
% \end{macrocode}