summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/cleveref
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-12-21 23:43:20 +0000
committerKarl Berry <karl@freefriends.org>2011-12-21 23:43:20 +0000
commite9250f00ffb6069748594707c033a97104a3c7b9 (patch)
treeaf0ff27bdbbba2bb71aadeaea5cec8510e93f929 /Master/texmf-dist/tex/latex/cleveref
parent7a7ec94b4428ad90afb90bd853d2cc8861e6313a (diff)
cleveref (20dec11)
git-svn-id: svn://tug.org/texlive/trunk@24896 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/cleveref')
-rw-r--r--Master/texmf-dist/tex/latex/cleveref/cleveref.sty4487
1 files changed, 2871 insertions, 1616 deletions
diff --git a/Master/texmf-dist/tex/latex/cleveref/cleveref.sty b/Master/texmf-dist/tex/latex/cleveref/cleveref.sty
index 93fb02c7464..4aa16531708 100644
--- a/Master/texmf-dist/tex/latex/cleveref/cleveref.sty
+++ b/Master/texmf-dist/tex/latex/cleveref/cleveref.sty
@@ -11,6 +11,8 @@
%% Copyright (C) 2006 Toby Cubitt
%% See the files README and COPYING.
%%
+\def\packagedate{2011/10/24}
+\def\packageversion{0.18}
%% This file may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.2
%% of this license or (at your option) any later version.
@@ -22,7 +24,7 @@
%% version 1999/12/01 or later.
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesPackage{cleveref}
- [2011/03/22 v0.17.9 Intelligent cross-referencing]
+ [\packagedate{} v\packageversion{} 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
@@ -58,21 +60,10 @@
\protected@xdef\cref@currentlabel{%
[#1][\arabic{#2}][\cref@result]%
\csname p@#2\endcsname\csname the#2\endcsname}}
-\let\cref@old@footnotetext\@footnotetext
-\let\cref@old@mpfootnotetext\@mpfootnotetext
-\def\@footnotetext{%
- \cref@constructprefix{footnote}{\cref@result}%
- \protected@xdef\cref@currentlabel{%
- [footnote][\arabic{footnote}][\cref@result]\p@footnote\@thefnmark}%
- \cref@old@footnotetext}
-\def\@mpfootnotetext#1{%
- \cref@constructprefix{mpfootnote}{\cref@result}%
- \protected@xdef\cref@currentlabel{%
- [footnote][\arabic{mpfootnote}][\cref@result]\p@footnote\@thefnmark}%
- \cref@old@mpfootnotetext{#1}}
\AtBeginDocument{%
\let\cref@old@label\label
\def\label{\@ifnextchar[\label@optarg\label@noarg}%]
+ \let\cref@label\label
\def\label@noarg#1{%
\@bsphack%
\cref@old@label{#1}%
@@ -87,330 +78,91 @@
\cref@currentlabel\@nil{#1}}%
\protected@write\@auxout{}%
{\string\newlabel{cref@#2}{{\cref@currentlabel}{\thepage}}}%
- \@esphack}%
- \@ifpackageloaded{amsmath}{%
- \let\cref@label\label
- \let\cref@old@label@in@display\label@in@display
- \def\label@in@display{%
- \@ifnextchar[\label@in@display@optarg\label@in@display@noarg}%]
- \def\label@in@display@noarg#1{\cref@old@label@in@display{{#1}}}
- \def\label@in@display@optarg[#1]#2{%
- \cref@old@label@in@display{[#1]{#2}}}
- \def\ltx@label#1{\cref@label#1}
-\def\measure@#1{%
- \begingroup
- \measuring@true
- \global\eqnshift@\z@
- \global\alignsep@\z@
- \global\let\tag@lengths\@empty
- \global\let\field@lengths\@empty
- \savecounters@
- \global\setbox0\vbox{%
- \let\math@cr@@@\math@cr@@@align@measure
- \everycr{\noalign{\global\tag@false
- \global\let\raise@tag\@empty \global\column@\z@}}%
- \let\label\@gobble@optarg% <<< cleveref modification
- \global\row@\z@
- \tabskip\z@
- \halign{\span\align@preamble\crcr
- #1%
- \math@cr@@@
- \global\column@\z@
- \add@amps\maxfields@\cr
- }%
- }%
- \restorecounters@
- \ifodd\maxfields@
- \global\advance\maxfields@\@ne
- \fi
- \ifnum\xatlevel@=\tw@
- \ifnum\maxfields@<\thr@@
- \let\xatlevel@\z@
- \fi
- \fi
- \setbox\z@\vbox{%
- \unvbox\z@ \unpenalty \global\setbox\@ne\lastbox
- }%
- \global\totwidth@\wd\@ne
- \if@fleqn \global\advance\totwidth@\@mathmargin \fi
- \global\let\maxcolumn@widths\@empty
- \begingroup
- \let\or\relax
- \loop
- \global\setbox\@ne\hbox{%
- \unhbox\@ne \unskip \global\setbox\thr@@\lastbox
- }%
- \ifhbox\thr@@
- \xdef\maxcolumn@widths{ \or \the\wd\thr@@ \maxcolumn@widths}%
- \repeat
- \endgroup
- \dimen@\displaywidth
- \advance\dimen@-\totwidth@
- \ifcase\xatlevel@
- \global\alignsep@\z@
- \let\minalignsep\z@
- \@tempcntb\z@
- \if@fleqn
- \@tempcnta\@ne
- \global\eqnshift@\@mathmargin
- \else
- \@tempcnta\tw@
- \global\eqnshift@\dimen@
- \global\divide\eqnshift@\@tempcnta
- \fi
- \or
- \@tempcntb\maxfields@
- \divide\@tempcntb\tw@
- \@tempcnta\@tempcntb
- \advance\@tempcntb\m@ne
- \if@fleqn
- \global\eqnshift@\@mathmargin
- \global\alignsep@\dimen@
- \global\divide\alignsep@\@tempcnta
- \else
- \global\advance\@tempcnta\@ne
- \global\eqnshift@\dimen@
- \global\divide\eqnshift@\@tempcnta
- \global\alignsep@\eqnshift@
- \fi
- \or
- \@tempcntb\maxfields@
- \divide\@tempcntb\tw@
- \global\advance\@tempcntb\m@ne
- \global\@tempcnta\@tempcntb
- \global\eqnshift@\z@
- \global\alignsep@\dimen@
- \if@fleqn
- \global\advance\alignsep@\@mathmargin\relax
- \fi
- \global\divide\alignsep@\@tempcntb
- \fi
- \ifdim\alignsep@<\minalignsep\relax
- \global\alignsep@\minalignsep\relax
- \ifdim\eqnshift@>\z@
- \if@fleqn\else
- \global\eqnshift@\displaywidth
- \global\advance\eqnshift@-\totwidth@
- \global\advance\eqnshift@-\@tempcntb\alignsep@
- \global\divide\eqnshift@\tw@
- \fi
- \fi
- \fi
- \ifdim\eqnshift@<\z@
- \global\eqnshift@\z@
- \fi
- \calc@shift@align
- \global\tagshift@\totwidth@
- \global\advance\tagshift@\@tempcntb\alignsep@
- \if@fleqn
- \ifnum\xatlevel@=\tw@
- \global\advance\tagshift@-\@mathmargin\relax
- \fi
- \else
- \global\advance\tagshift@\eqnshift@
- \fi
- \iftagsleft@ \else
- \global\advance\tagshift@-\displaywidth
- \fi
- \dimen@\minalignsep\relax
- \global\advance\totwidth@\@tempcntb\dimen@
- \ifdim\totwidth@>\displaywidth
- \global\let\displaywidth@\totwidth@
- \else
- \global\let\displaywidth@\displaywidth
- \fi
- \endgroup
-}
-\def\gmeasure@#1{%
- \begingroup
- \measuring@true
- \totwidth@\z@
- \global\let\tag@lengths\@empty
- \savecounters@
- \setbox\@ne\vbox{%
- \everycr{\noalign{\global\tag@false
- \global\let\raise@tag\@empty \global\column@\z@}}%
- \let\label\@gobble% <<< cleveref modification
- \halign{%
- \setboxz@h{$\m@th\displaystyle{##}$}%
- \ifdim\wdz@>\totwidth@
- \global\totwidth@\wdz@
- \fi
- &\setboxz@h{\strut@{##}}%
- \savetaglength@
- \crcr
- #1%
- \math@cr@@@
- }%
- }%
- \restorecounters@
- \if@fleqn
- \global\advance\totwidth@\@mathmargin
- \fi
- \iftagsleft@
- \ifdim\totwidth@>\displaywidth
- \global\let\gdisplaywidth@\totwidth@
- \else
- \global\let\gdisplaywidth@\displaywidth
- \fi
- \fi
- \endgroup
-}
-\def\multline@#1{%
- \Let@
- \@display@init{\global\advance\row@\@ne \global\dspbrk@lvl\m@ne}%
- \chardef\dspbrk@context\z@
- \restore@math@cr
- \let\tag\tag@in@align
- \global\tag@false \global\let\raise@tag\@empty
- \mmeasure@{#1}%
- \let\tag\gobble@tag \let\label\@gobble@optarg% <<< cleveref modification
- \tabskip \if@fleqn \@mathmargin \else \z@skip \fi
- \totwidth@\displaywidth
- \if@fleqn
- \advance\totwidth@-\@mathmargin
- \fi
- \halign\bgroup
- \hbox to\totwidth@{%
- \if@fleqn
- \hskip \@centering \relax
- \else
- \hfil
- \fi
- \strut@
- $\m@th\displaystyle{}##\endmultline@math
- \hfil
- }% $
- \crcr
- \if@fleqn
- \hskip-\@mathmargin
- \def\multline@indent{\hskip\@mathmargin}%
- \else
- \hfilneg
- \def\multline@indent{\hskip\multlinegap}%
- \fi
- \iftagsleft@
- \iftag@
- \begingroup
- \ifshifttag@
- \rlap{\vbox{%
- \normalbaselines
- \hbox{%
- \strut@
- \make@display@tag
- }%
- \vbox to\lineht@{}%
- \raise@tag
- }}%
- \multline@indent
- \else
- \setbox\z@\hbox{\make@display@tag}%
- \dimen@\@mathmargin \advance\dimen@-\wd\z@
- \ifdim\dimen@<\multlinetaggap
- \dimen@\multlinetaggap
- \fi
- \box\z@ \hskip\dimen@\relax
- \fi
- \endgroup
- \else
- \multline@indent
- \fi
- \else
- \multline@indent
- \fi
- #1%
-}
-\def\mmeasure@#1{%
- \begingroup
- \measuring@true
- \def\label{% <<< cleveref modification
- \@ifnextchar[\label@in@mmeasure@optarg%]
- \label@in@mmeasure@noarg}%
- \def\math@cr@@@{\cr}%
- \let\shoveleft\@iden \let\shoveright\@iden
- \savecounters@
- \global\row@\z@
- \setbox\@ne\vbox{%
- \global\let\df@tag\@empty
- \halign{%
- \setboxz@h{\@lign$\m@th\displaystyle{}##$}%
- \iftagsleft@
- \ifnum\row@=\@ne
- \global\totwidth@\wdz@
- \global\lineht@\ht\z@
- \fi
- \else
- \global\totwidth@\wdz@
- \global\lineht@\dp\z@
- \fi
- \crcr
- #1%
- \crcr
- }%
- }%
- \ifx\df@tag\@empty\else\global\tag@true\fi
- \if@eqnsw\global\tag@true\fi
- \iftag@
- \setboxz@h{%
- \if@eqnsw
- \stepcounter{equation}%
- \tagform@\theequation
- \else
- \df@tag
- \fi
- }%
- \global\tagwidth@\wdz@
- \dimen@\totwidth@
- \advance\dimen@\tagwidth@
- \advance\dimen@\multlinetaggap
- \iftagsleft@\else
- \if@fleqn
- \advance\dimen@\@mathmargin
- \fi
- \fi
- \ifdim\dimen@>\displaywidth
- \global\shifttag@true
- \else
- \global\shifttag@false
- \fi
- \fi
- \restorecounters@
- \endgroup
-}
-\def\label@in@mmeasure@noarg#1{%
- \begingroup%
- \measuring@false%
- \cref@old@label@in@display{{#1}}%
- \endgroup}
-\def\label@in@mmeasure@optarg[#1]#2{%
- \begingroup%
- \measuring@false%
- \cref@old@label@in@display{[#1]{#2}}%
- \endgroup}
- \let\cref@old@subequations\subequations%
- \let\cref@old@endsubequations\endsubequations%
- \cref@resetby{equation}{\cref@result}%
- \ifx\cref@result\relax\else%
- \@addtoreset{parentequation}{\cref@result}%
+ \@esphack}
+}% end of AtBeginDocument
+\let\cref@old@footnotetext\@footnotetext
+\let\cref@old@mpfootnotetext\@mpfootnotetext
+\def\@footnotetext{%
+ \cref@constructprefix{footnote}{\cref@result}%
+ \protected@xdef\cref@currentlabel{%
+ [footnote][\arabic{footnote}][\cref@result]%
+ \p@footnote\@thefnmark}%
+ \cref@old@footnotetext}
+\def\@mpfootnotetext#1{%
+ \cref@constructprefix{mpfootnote}{\cref@result}%
+ \protected@xdef\cref@currentlabel{%
+ [footnote][\arabic{mpfootnote}][\cref@result]%
+ \p@footnote\@thefnmark}%
+ \cref@old@mpfootnotetext{#1}}
+\let\cref@old@othm\@othm
+\def\@othm#1[#2]#3{%
+ \edef\@tempa{\expandafter\noexpand%
+ \csname cref@#1@name@preamble\endcsname}%
+ \edef\@tempb{\expandafter\noexpand%
+ \csname Cref@#1@name@preamble\endcsname}%
+ \def\@tempc{#3}%
+ \ifx\@tempc\@empty\relax%
+ \expandafter\gdef\@tempa{}%
+ \expandafter\gdef\@tempb{}%
+ \else%
+ \if@cref@capitalise%
+ \expandafter\expandafter\expandafter\gdef\expandafter%
+ \@tempa\expandafter{\MakeUppercase #3}%
+ \else%
+ \expandafter\expandafter\expandafter\gdef\expandafter%
+ \@tempa\expandafter{\MakeLowercase #3}%
+ \fi%
+ \expandafter\expandafter\expandafter\gdef\expandafter%
+ \@tempb\expandafter{\MakeUppercase #3}%
\fi%
- \renewenvironment{subequations}{%
- \@addtoreset{equation}{parentequation}%
- \cref@old@subequations%
- }{%
- \gdef\cl@parentequation{}%
- \cref@old@endsubequations%
- \setcounter{parentequation}{0}%
- }%
- \def\make@df@tag@@#1{%
- \gdef\df@tag{\maketag@@@{#1}\def\@currentlabel{#1}%
- \def\cref@currentlabel{[equation][2147483647][]#1}}}
- \def\make@df@tag@@@#1{%
- \gdef\df@tag{\tagform@{#1}%
- \toks@\@xp{\p@equation{#1}}%
- \edef\@currentlabel{\the\toks@}%
- \edef\cref@currentlabel{[equation][2147483647][]\the\toks@}}}
- }{}% end of \@ifpackageloaded{amsmath}
-}% end of AtBeginDocument
+ \cref@stack@add{#1}{\cref@label@types}%
+ \cref@old@othm{#1}[#2]{#3}}
+\let\cref@old@xnthm\@xnthm
+\def\@xnthm#1#2[#3]{%
+ \edef\@tempa{\expandafter\noexpand%
+ \csname cref@#1@name@preamble\endcsname}%
+ \edef\@tempb{\expandafter\noexpand%
+ \csname Cref@#1@name@preamble\endcsname}%
+ \def\@tempc{#2}%
+ \ifx\@tempc\@empty\relax%
+ \expandafter\gdef\@tempa{}%
+ \expandafter\gdef\@tempb{}%
+ \else%
+ \if@cref@capitalise%
+ \expandafter\expandafter\expandafter\gdef\expandafter%
+ \@tempa\expandafter{\MakeUppercase #2}%
+ \else%
+ \expandafter\expandafter\expandafter\gdef\expandafter%
+ \@tempa\expandafter{\MakeLowercase #2}%
+ \fi%
+ \expandafter\expandafter\expandafter\gdef\expandafter%
+ \@tempb\expandafter{\MakeUppercase #2}%
+ \fi%
+ \cref@stack@add{#1}{\cref@label@types}%
+ \cref@old@xnthm{#1}{#2}[#3]}
+\let\cref@old@ynthm\@ynthm
+\def\@ynthm#1#2{%
+ \edef\@tempa{\expandafter\noexpand%
+ \csname cref@#1@name@preamble\endcsname}%
+ \edef\@tempb{\expandafter\noexpand%
+ \csname Cref@#1@name@preamble\endcsname}%
+ \def\@tempc{#2}%
+ \ifx\@tempc\@empty\relax%
+ \expandafter\gdef\@tempa{}%
+ \expandafter\gdef\@tempb{}%
+ \else%
+ \if@cref@capitalise%
+ \expandafter\expandafter\expandafter\gdef\expandafter%
+ \@tempa\expandafter{\MakeUppercase #2}%
+ \else%
+ \expandafter\expandafter\expandafter\gdef\expandafter%
+ \@tempa\expandafter{\MakeLowercase #2}%
+ \fi%
+ \expandafter\expandafter\expandafter\gdef\expandafter%
+ \@tempb\expandafter{\MakeUppercase #2}%
+ \fi%
+ \cref@stack@add{#1}{\cref@label@types}%
+ \cref@old@ynthm{#1}{#2}}
\let\cref@old@appendix\appendix
\renewcommand\appendix{%
\cref@old@appendix%
@@ -505,42 +257,41 @@
\def\@gobble@optarg{\@ifnextchar[\@@gobble@optarg\@gobble@orig}%]
\def\@gobble@orig#1{}
\def\@@gobble@optarg[#1]#2{}
-\def\cref@getlabel#1#2{%
- \expandafter\let\expandafter\@tempa\csname r@cref@#1\endcsname%
+\def\cref@append@toks#1#2{\toks0={#2}%
+ \edef\act{\noexpand#1={\the#1\the\toks0}}%
+ \act}%
+\def\cref@getref#1#2{%
+ \expandafter\let\expandafter#2\csname r@cref@#1\endcsname%
\expandafter\expandafter\expandafter\def%
- \expandafter\expandafter\expandafter\@tempa%
+ \expandafter\expandafter\expandafter#2%
+ \expandafter\expandafter\expandafter{%
+ \expandafter\@firstoftwo#2}}
+\def\cref@getpageref#1#2{%
+ \expandafter\let\expandafter#2\csname r@cref@#1\endcsname%
+ \expandafter\expandafter\expandafter\def%
+ \expandafter\expandafter\expandafter#2%
\expandafter\expandafter\expandafter{%
- \expandafter\@firstoftwo\@tempa}%
+ \expandafter\@secondoftwo#2}}
+\def\cref@getlabel#1#2{%
+ \cref@getref{#1}{\@tempa}%
\expandafter\@cref@getlabel\@tempa\@nil#2}%
\def\@cref@getlabel{\@ifnextchar[%]
\@@cref@getlabel{\@@cref@getlabel[][][]}}
\def\@@cref@getlabel[#1][#2][#3]#4\@nil#5{\def#5{#4}}
\def\cref@gettype#1#2{%
- \expandafter\let\expandafter\@tempa\csname r@cref@#1\endcsname%
- \expandafter\expandafter\expandafter\def%
- \expandafter\expandafter\expandafter\@tempa%
- \expandafter\expandafter\expandafter{%
- \expandafter\@firstoftwo\@tempa}%
+ \cref@getref{#1}{\@tempa}%
\expandafter\@cref@gettype\@tempa\@nil#2}%
\def\@cref@gettype{\@ifnextchar[%]
\@@cref@gettype{\@@cref@gettype[][][]}}
\def\@@cref@gettype[#1][#2][#3]#4\@nil#5{\def#5{#1}}
\def\cref@getcounter#1#2{%
- \expandafter\let\expandafter\@tempa\csname r@cref@#1\endcsname%
- \expandafter\expandafter\expandafter\def%
- \expandafter\expandafter\expandafter\@tempa%
- \expandafter\expandafter\expandafter{%
- \expandafter\@firstoftwo\@tempa}%
+ \cref@getref{#1}{\@tempa}%
\expandafter\@cref@getcounter\@tempa\@nil#2}
\def\@cref@getcounter{\@ifnextchar[%]
\@@cref@getcounter{\@@cref@getcounter[][][]}}
\def\@@cref@getcounter[#1][#2][#3]#4\@nil#5{\def#5{#2}}
\def\cref@getprefix#1#2{%
- \expandafter\let\expandafter\@tempa\csname r@cref@#1\endcsname%
- \expandafter\expandafter\expandafter\def%
- \expandafter\expandafter\expandafter\@tempa%
- \expandafter\expandafter\expandafter{%
- \expandafter\@firstoftwo\@tempa}%
+ \cref@getref{#1}{\@tempa}%
\expandafter\@cref@getprefix\@tempa\@nil#2}
\def\@cref@getprefix{\@ifnextchar[%]
\@@cref@getprefix{\@@cref@getprefix[][][]}}
@@ -563,9 +314,6 @@
\expandafter\expandafter\expandafter\@cref@constructprefix%
\expandafter\@tempa\expandafter{\expandafter#2\expandafter}%
\fi}
-\def\cref@append@toks#1#2{\toks0={#2}%
- \edef\act{\noexpand#1={\the#1\the\toks0}}%
- \act}%
\def\cref@stack@init#1{\def#1{\@nil}}
\def\cref@stack@top#1{\expandafter\@cref@stack@top#1}
\def\@cref@stack@top#1,#2\@nil{#1}
@@ -678,24 +426,24 @@
\@cref@stack@insert{}{#1}{#2}{#3}%
\cref@stack@pop{#3}}
\def\@cref@stack@insert#1#2#3#4{%
- \let\@iterate\relax%
+ \let\cref@iterate\relax%
\cref@isstackempty{#4}%
\if@cref@stackempty%
\cref@stack@push{#1,#2#3}{#4}%
\else%
- \edef\@tempa{\cref@stack@top{#4}}%
- \expandafter\@cmp\expandafter{\@tempa}{#2}{\cref@result}%
+ \edef\cref@elem{\cref@stack@top{#4}}%
+ \expandafter\@cmp\expandafter{\cref@elem}{#2}{\cref@result}%
\ifnum\cref@result=2\relax%
\cref@stack@push{#1,#2#3}{#4}%
\else%
\cref@stack@pop{#4}%
- \edef\@tempa{{\noexpand#1,\@tempa}{\noexpand#2}%
+ \edef\cref@elem{{\noexpand#1,\cref@elem}{\noexpand#2}%
{\noexpand#3}{\noexpand#4}}%
- \expandafter\def\expandafter\@iterate\expandafter%
- {\expandafter\@cref@stack@insert\@tempa}%
+ \expandafter\def\expandafter\cref@iterate\expandafter%
+ {\expandafter\@cref@stack@insert\cref@elem}%
\fi%
\fi%
- \@iterate}
+ \cref@iterate}
\def\cref@counter@first#1#2\@nil{#1}
\def\cref@counter@rest#1#2\@nil{#2}
\def\cref@countercmp#1#2#3{%
@@ -770,6 +518,39 @@
\fi%
\fi%
\@iterate}
+\def\cref@pagecmp#1#2#3{%
+ \begingroup%
+ \def\@tempa{#1}%
+ \ifx\@tempa\@empty%
+ \def\cref@result{1}%
+ \else%
+ \def\@tempa{#2}%
+ \ifx\@tempa\@empty%
+ \def\cref@result{2}%
+ \else%
+ \expandafter\ifx\csname r@cref@#1\endcsname\relax%
+ \def\cref@result{2}%
+ \else%
+ \expandafter\ifx\csname r@cref@#2\endcsname\relax%
+ \def\cref@result{1}%
+ \else%
+ \cref@getpageref{#1}{\@tempa}%
+ \cref@getpageref{#2}{\@tempb}%
+ \ifnum\@tempa<\@tempb\relax%
+ \def\cref@result{1}\relax%
+ \else%
+ \ifnum\@tempa>\@tempb\relax%
+ \def\cref@result{2}\relax%
+ \else%
+ \def\cref@result{0}\relax%
+ \fi%
+ \fi%
+ \fi%
+ \fi%
+ \fi%
+ \fi%
+ \expandafter\endgroup\expandafter%
+ \chardef\expandafter#3\expandafter=\cref@result\relax}
\newif\if@cref@inresetlist
\def\cref@isinresetlist#1#2{%
\begingroup%
@@ -930,6 +711,24 @@
\fi%
\fi%
\expandafter\endgroup\@after}
+\def\cref@ispagerefconsecutive#1#2{%
+ \begingroup%
+ \countdef\refa@counter=0%
+ \countdef\refb@counter=1%
+ \cref@getpageref{#1}{\cref@result}%
+ \refa@counter=\cref@result%
+ \cref@getpageref{#2}{\cref@result}%
+ \refb@counter=\cref@result%
+ \def\@after{\@cref@refconsecutivefalse}%
+ \ifnum\refa@counter=\refb@counter\relax%
+ \def\@after{\@cref@refconsecutivetrue}%
+ \else%
+ \advance\refa@counter 1\relax%
+ \ifnum\refa@counter=\refb@counter\relax%
+ \def\@after{\@cref@refconsecutivetrue}%
+ \fi%
+ \fi%
+ \expandafter\endgroup\@after}
\def\cref@processgroup#1#2{%
\edef\@nextref{\cref@stack@top{#1}}%
\expandafter\ifx\csname r@cref@\@nextref\endcsname\relax%
@@ -1034,7 +833,7 @@
\let\@lastformat\@nextformat%
\cref@isstackfull{#1}}%
\let#1\@tempstack}
-\def\cref@processconsecutive#1#2#3#4{%
+\def\cref@processconsecutive#1#2#3#4#5{%
#4=0%
\edef\@nextref{\cref@stack@top{#1}}%
\cref@stack@pop{#1}%
@@ -1066,7 +865,7 @@
\@cref@refconsecutivefalse%
\else%
\edef\@tempa{{#2}{\@nextref}}%
- \expandafter\cref@isrefconsecutive\@tempa%
+ \expandafter#5\@tempa%
\fi%
\fi%
\fi%
@@ -1094,7 +893,7 @@
\@cref@refconsecutivefalse%
\else%
\edef\@tempa{{#3}{\@nextref}}%
- \expandafter\cref@isrefconsecutive\@tempa%
+ \expandafter#5\@tempa%
\fi%
\fi%
\fi}%
@@ -1105,6 +904,7 @@
\DeclareRobustCommand{\Crefrange}[2]{\@setcrefrange{#1}{#2}{Cref}{}}
\@ifpackageloaded{hyperref}{\newif\if@crefstarred}{%
\@ifpackageloaded{varioref}{\newif\if@crefstarred}{}}
+\let\if@crefstarred\iffalse%
\def\@cref#1#2{%
\leavevmode%
\begingroup%
@@ -1144,6 +944,7 @@
\if@cref@compress%
\cref@processconsecutive%
{\@refsubstack}{\@beginref}{\@endref}{\count@consecutive}%
+ {\cref@isrefconsecutive}%
\else%
\edef\@beginref{\cref@stack@top{\@refsubstack}}%
\cref@stack@pop{\@refsubstack}%
@@ -1188,6 +989,7 @@
\if@cref@compress%
\cref@processconsecutive%
{\@refsubstack}{\@beginref}{\@endref}{\count@consecutive}%
+ {\cref@isrefconsecutive}%
\else%
\edef\@beginref{\cref@stack@top{\@refsubstack}}%
\cref@stack@pop{\@refsubstack}%
@@ -1310,7 +1112,7 @@
type `\@typea' undefined}%
\fi%
\else%
- \ifx\formata\formatb%
+ \ifx\@formata\@formatb%
\expandafter\@@setcrefrange\expandafter{\@formata}{#1}{#2}%
\else%
\protect\G@refundefinedtrue%
@@ -1331,85 +1133,219 @@
\def\@setcref@lastgroupconjunction{\creflastgroupconjunction}
\DeclareRobustCommand{\labelcref}[1]{\@cref{labelcref}{#1}}
\DeclareRobustCommand{\namecref}[1]{%
- \expandafter\ifx\csname r@cref@#1\endcsname\relax%
- \protect\G@refundefinedtrue%
- \nfss@text{\reset@font\bfseries ??}%
- \@latex@warning{Reference `#1' on page \thepage \space undefined}%
- \else%
- \cref@gettype{#1}{\@tempa}%
- \@ifundefined{cref@\@tempa @name}{%
- \protect\G@refundefinedtrue%``
- \nfss@text{\reset@font\bfseries ??}%
- \@latex@warning{Reference name for label type `\@tempa' undefined}%
- }{\csname cref@\@tempa @name\endcsname}%
- \fi}
+ \@setnamecref{cref}{#1}{}{}}
\DeclareRobustCommand{\nameCref}[1]{%
- \expandafter\ifx\csname r@cref@#1\endcsname\relax%
- \protect\G@refundefinedtrue%
- \nfss@text{\reset@font\bfseries ??}%
- \@latex@warning{Reference `#1' on page \thepage \space undefined}%
- \else%
- \cref@gettype{#1}{\@tempa}%
- \@ifundefined{Cref@\@tempa @name}{%
- \protect\G@refundefinedtrue%``
- \nfss@text{\reset@font\bfseries ??}%
- \@latex@warning{Reference name for label type `\@tempa' undefined}%
- }{\csname Cref@\@tempa @name\endcsname}%
- \fi}
+ \@setnamecref{Cref}{#1}{}{}}
\DeclareRobustCommand{\lcnamecref}[1]{%
- \expandafter\ifx\csname r@cref@#1\endcsname\relax%
- \protect\G@refundefinedtrue%
- \nfss@text{\reset@font\bfseries ??}%
- \@latex@warning{Reference `#1' on page \thepage \space undefined}%
- \else%
- \cref@gettype{#1}{\@tempa}%
- \@ifundefined{cref@\@tempa @name}{%
- \protect\G@refundefinedtrue%``
- \nfss@text{\reset@font\bfseries ??}%
- \@latex@warning{Reference name for label type `\@tempa' undefined}%
- }{\expandafter\expandafter\expandafter%
- \MakeLowercase\csname cref@\@tempa @name\endcsname}%
- \fi}
+ \@setnamecref{Cref}{#1}{}{\MakeLowercase}}
\DeclareRobustCommand{\namecrefs}[1]{%
- \expandafter\ifx\csname r@cref@#1\endcsname\relax%
- \protect\G@refundefinedtrue%
- \nfss@text{\reset@font\bfseries ??}%
- \@latex@warning{Reference `#1' on page \thepage \space undefined}%
- \else%
- \cref@gettype{#1}{\@tempa}%
- \@ifundefined{cref@\@tempa @name@plural}{%
- \protect\G@refundefinedtrue%``
- \nfss@text{\reset@font\bfseries ??}%
- \@latex@warning{Reference name for label type `\@tempa' undefined}%
- }{\csname cref@\@tempa @name@plural\endcsname}%
- \fi}
+ \@setnamecref{cref}{#1}{@plural}{}}
\DeclareRobustCommand{\nameCrefs}[1]{%
- \expandafter\ifx\csname r@cref@#1\endcsname\relax%
+ \@setnamecref{Cref}{#1}{@plural}{}}
+\DeclareRobustCommand{\lcnamecrefs}[1]{%
+ \@setnamecref{Cref}{#1}{@plural}{\MakeLowercase}}
+\def\@setnamecref#1#2#3#4{%
+ \expandafter\ifx\csname r@cref@#2\endcsname\relax%
\protect\G@refundefinedtrue%
\nfss@text{\reset@font\bfseries ??}%
\@latex@warning{Reference `#1' on page \thepage \space undefined}%
\else%
- \cref@gettype{#1}{\@tempa}%
- \@ifundefined{Cref@\@tempa @name@plural}{%
+ \cref@gettype{#2}{\@tempa}%
+ \@ifundefined{#1@\@tempa @name#3}{%
\protect\G@refundefinedtrue%``
\nfss@text{\reset@font\bfseries ??}%
- \@latex@warning{Reference name for label type `\@tempa' undefined}%
- }{\csname Cref@\@tempa @name@plural\endcsname}%
+ \@latex@warning{Reference name for
+ label type `\@tempa' undefined}%
+ }{%
+ \edef\@tempa{%
+ \expandafter\noexpand\csname #1@\@tempa @name#3\endcsname}%
+ \expandafter\@@setnamecref\expandafter{\@tempa}{#4}%
+ }%
\fi}
-\DeclareRobustCommand{\lcnamecrefs}[1]{%
+\def\@@setnamecref#1#2{%
+ \edef\@tempa{#1}%
+ \expandafter#2\@tempa}
+\DeclareRobustCommand{\cpageref}[1]{%
+ \@cpageref{cref}{#1}{\@setcpageref}{\@setcpagerefrange}}
+\DeclareRobustCommand{\Cpageref}[1]{%
+ \@cpageref{Cref}{#1}{\@setcpageref}{\@setcpagerefrange}}
+\DeclareRobustCommand{\cpagerefrange}[2]{%
+ \@setcpagerefrange{#1}{#2}{cref}{}}
+\DeclareRobustCommand{\Cpagerefrange}[2]{%
+ \@setcpagerefrange{#1}{#2}{Cref}{}}
+\DeclareRobustCommand{\labelcpageref}[1]{%
+ \@cpageref{labelcref}{#1}{\@setcpageref}{\@setcpagerefrange}}
+\def\@cpageref#1#2#3#4{%
+ \leavevmode%
+ \begingroup%
+ \countdef\count@consecutive=0%
+ \countdef\count@group=1%
+ \countdef\@counta=2%
+ \countdef\@countb=3%
+ \count@group=0%
+ \cref@stack@init{\@refstack}%
+ \edef\@tempa{#2}%
+ \expandafter\cref@stack@push\expandafter{\@tempa}{\@refstack}%
+ \if@cref@sort%
+ \cref@stack@sort{\@refstack}{\cref@pagecmp}%
+ \fi%
+ \cref@isstackfull{\@refstack}%
+ \@whilesw\if@cref@stackfull\fi{%
+ \if@cref@compress%
+ \cref@processconsecutive%
+ {\@refstack}{\@beginref}{\@endref}{\count@consecutive}%
+ {\cref@ispagerefconsecutive}%
+ \else%
+ \edef\@beginref{\cref@stack@top{\@refstack}}%
+ \cref@stack@pop{\@refstack}%
+ \@whilesw\ifx\@beginref\@empty\fi{%
+ \cref@stack@pop{\@refstack}%
+ \cref@isstackempty{\@refstack}%
+ \if@cref@stackempty%
+ \let\@beginref\relax%
+ \else%
+ \edef\@beginref{\cref@stack@top{\@refstack}}%
+ \fi}%
+ \let\@endref\relax%
+ \count@consecutive=1\relax%
+ \fi%
+ \ifx\@endref\relax\else%
+ \expandafter\ifx\csname r@cref@\@beginref\endcsname\relax\else%
+ \expandafter\ifx\csname r@cref@\@endref\endcsname\relax\else%
+ \cref@getpageref{\@beginref}{\@tempa}%
+ \cref@getpageref{\@endref}{\@tempb}%
+ \ifx\@tempa\@tempb\relax%
+ \count@consecutive=1%
+ \let\@endref\relax%
+ \else%
+ \@counta=\@tempa\relax%
+ \@countb=\@tempb\relax%
+ \advance\@counta 1\relax%
+ \ifnum\@counta=\@countb\relax%
+ \count@consecutive=2%
+ \fi%
+ \fi%
+ \fi%
+ \fi%
+ \fi%
+ \cref@isstackempty{\@refstack}%
+ \if@cref@stackempty%
+ \ifcase\count@group\relax%
+ \ifnum\count@consecutive=2\relax%
+ \def\@pos{@first}%
+ \else%
+ \def\@pos{}%
+ \fi%
+ \or%
+ \ifnum\count@consecutive=2\relax%
+ \def\@pos{@middle}%
+ \else%
+ \def\@pos{@second}%
+ \fi%
+ \else%
+ \def\@pos{@last}%
+ \fi%
+ \else%
+ \ifnum\count@group=0\relax%
+ \def\@pos{@first}%
+ \else%
+ \def\@pos{@middle}%
+ \fi%
+ \fi%
+ \ifnum\count@consecutive=1\relax%
+ \def\@tempa{#3}%
+ \edef\@tempb{{\@beginref}{#1}{\@pos}}%
+ \expandafter\@tempa\@tempb%
+ \else%
+ \ifnum\count@consecutive=2\relax%
+ \def\@tempa{#3}%
+ \edef\@tempb{{\@beginref}{#1}{\@pos}}%
+ \expandafter\@tempa\@tempb%
+ \expandafter\cref@stack@push\expandafter%
+ {\@endref,}{\@refstack}%
+ \else%
+ \def\@tempa{#4}%
+ \edef\@tempb{{\@beginref}{\@endref}{#1}{\@pos}}%
+ \expandafter\@tempa\@tempb%
+ \fi%
+ \fi%
+ \advance\count@group 1%
+ \cref@isstackfull{\@refstack}%
+ }% end loop over reference stack
+ \endgroup}
+\def\@setcpageref#1#2#3{%
\expandafter\ifx\csname r@cref@#1\endcsname\relax%
\protect\G@refundefinedtrue%
\nfss@text{\reset@font\bfseries ??}%
\@latex@warning{Reference `#1' on page \thepage \space undefined}%
\else%
- \cref@gettype{#1}{\@tempa}%
- \@ifundefined{cref@\@tempa @name@plural}{%
- \protect\G@refundefinedtrue%``
- \nfss@text{\reset@font\bfseries ??}%
- \@latex@warning{Reference name for label type `\@tempa' undefined}%
- }{\expandafter\expandafter\expandafter%
- \MakeLowercase\csname cref@\@tempa @name@plural\endcsname}%
+ \cref@getpageref{#1}{\@temppage}%
+ \expandafter\ifx\csname #2@page@format#3\endcsname\relax%
+ \edef\@tempa{#2}\def\@tempb{labelcref}%
+ \ifx\@tempa\@tempb\relax%
+ \expandafter\@@setcpageref\expandafter%
+ {\csname #2@default@format#3\endcsname}{#1}%
+ \else%
+ \protect\G@refundefinedtrue%
+ \nfss@text{\reset@font\bfseries ??}~\@temppage%
+ \@latex@warning{#2 \space reference format for
+ page references undefined}%
+ \fi%
+ \else%
+ \expandafter\@@setcpageref\expandafter%
+ {\csname #2@page@format#3\endcsname}{#1}%
+ \fi%
\fi}
+\def\@@setcpageref#1#2{%
+ \cref@getpageref{#2}{\@temppage}#1{\@temppage}{}{}}
+\def\@setcpagerefrange#1#2#3#4{%
+ \begingroup%
+ \expandafter\ifx\csname r@cref@#1\endcsname\relax%
+ \protect\G@refundefinedtrue%
+ \@latex@warning{Reference `#1' on page \thepage \space%
+ undefined}%
+ \expandafter\ifx\csname r@cref@#2\endcsname\relax%
+ \nfss@text{\reset@font\bfseries ??}--%
+ \nfss@text{\reset@font\bfseries ??}%
+ \@latex@warning{Reference `#2' on page \thepage \space%
+ undefined}%
+ \else%
+ \cref@getpageref{#2}{\@pageb}%
+ \nfss@text{\reset@font\bfseries ??}--\@pageb%
+ \fi%
+ \else%
+ \expandafter\ifx\csname r@cref@#2\endcsname\relax%
+ \protect\G@refundefinedtrue%
+ \cref@getpageref{#1}{\@pagea}%
+ \@pagea--\nfss@text{\reset@font\bfseries ??}%
+ \@latex@warning{Reference `#2' on page \thepage %
+ \space undefined}%
+ \else%
+ \cref@getpageref{#1}{\@pagea}%
+ \cref@getpageref{#2}{\@pageb}%
+ \edef\@format{\expandafter\noexpand%
+ \csname #3range@page@format#4\endcsname}%
+ \expandafter\ifx\@format\relax%
+ \edef\@tempa{#3}\def\@tempb{labelcref}%
+ \ifx\@tempa\@tempb\relax%
+ \expandafter\@@setcpagerefrange\expandafter%
+ {\csname #3range@default@format#4\endcsname}{#1}{#2}%
+ \else%
+ \protect\G@refundefinedtrue%
+ \nfss@text{\reset@font\bfseries ??}~\@pagea--\@pageb%
+ \@latex@warning{#3\space reference range format for page
+ references undefined}%
+ \fi%
+ \else%
+ \expandafter\@@setcpagerefrange\expandafter{\@format}{#1}{#2}%
+ \fi%
+ \fi%
+ \fi%
+ \endgroup}
+\def\@@setcpagerefrange#1#2#3{%
+ \cref@getpageref{#2}{\@pagea}%
+ \cref@getpageref{#3}{\@pageb}%
+ #1{\@pagea}{\@pageb}{}{}{}{}}
\cref@stack@init{\cref@label@types}
\newcommand{\crefdefaultlabelformat}[1]{%
\def\cref@default@label##1##2##3{#1}}
@@ -1498,38 +1434,85 @@
\expandafter\let\expandafter\@temprangelabel%
\csname cref@#1@rangelabel\endcsname%
}%
+ \if@cref@nameinlink%
+ \expandafter\def\expandafter\@templabel@first\expandafter{%
+ \@templabel{########1}{}{########3}}%
+ \expandafter\def\expandafter\@temprangelabel@first\expandafter{%
+ \@temprangelabel{########1}{########2}%
+ {}{########4}{########5}{########6}}%
+ \fi%
\expandafter\def\expandafter\@templabel\expandafter{%
\@templabel{########1}{########2}{########3}}%
\expandafter\def\expandafter\@temprangelabel\expandafter{%
\@temprangelabel{########1}{########2}{########3}%
{########4}{########5}{########6}}%
- \expandafter\def\expandafter\@tempname\expandafter{%
- \csname cref@#1@name\endcsname}%
- \expandafter\def\expandafter\@tempName\expandafter{%
- \csname Cref@#1@name\endcsname}%
- \expandafter\def\expandafter\@tempnameplural\expandafter{%
- \csname cref@#1@name@plural\endcsname}%
- \expandafter\def\expandafter\@tempNameplural\expandafter{%
- \csname Cref@#1@name@plural\endcsname}%
+ \if@cref@nameinlink\else%
+ \let\@templabel@first\@templabel%
+ \let\@temprangelabel@first\@temprangelabel%
+ \fi%
+ \if@cref@nameinlink%
+ \def\@tempa##1##2{##2##1}%
+ \expandafter\expandafter\expandafter\def%
+ \expandafter\expandafter\expandafter\@tempname%
+ \expandafter\expandafter\expandafter{%
+ \expandafter\@tempa\expandafter%
+ {\csname cref@#1@name\endcsname}{########2}}%
+ \expandafter\expandafter\expandafter\def%
+ \expandafter\expandafter\expandafter\@tempName%
+ \expandafter\expandafter\expandafter{%
+ \expandafter\@tempa\expandafter%
+ {\csname Cref@#1@name\endcsname}{########2}}%
+ \expandafter\expandafter\expandafter\def%
+ \expandafter\expandafter\expandafter\@tempnameplural%
+ \expandafter\expandafter\expandafter{%
+ \expandafter\@tempa\expandafter%
+ {\csname cref@#1@name@plural\endcsname}{########2}}%
+ \expandafter\expandafter\expandafter\def%
+ \expandafter\expandafter\expandafter\@tempNameplural%
+ \expandafter\expandafter\expandafter{%
+ \expandafter\@tempa\expandafter%
+ {\csname Cref@#1@name@plural\endcsname}{########2}}%
+ \expandafter\expandafter\expandafter\def%
+ \expandafter\expandafter\expandafter\@tempnameplural@range%
+ \expandafter\expandafter\expandafter{%
+ \expandafter\@tempa\expandafter%
+ {\csname cref@#1@name@plural\endcsname}{########3}}%
+ \expandafter\expandafter\expandafter\def%
+ \expandafter\expandafter\expandafter\@tempNameplural@range%
+ \expandafter\expandafter\expandafter{%
+ \expandafter\@tempa\expandafter%
+ {\csname Cref@#1@name@plural\endcsname}{########3}}%
+ \else%
+ \expandafter\def\expandafter\@tempname\expandafter{%
+ \csname cref@#1@name\endcsname}%
+ \expandafter\def\expandafter\@tempName\expandafter{%
+ \csname Cref@#1@name\endcsname}%
+ \expandafter\def\expandafter\@tempnameplural\expandafter{%
+ \csname cref@#1@name@plural\endcsname}%
+ \expandafter\def\expandafter\@tempNameplural\expandafter{%
+ \csname Cref@#1@name@plural\endcsname}%
+ \let\@tempnameplural@range\@tempnameplural%
+ \let\@tempNameplural@range\@tempNameplural%
+ \fi%
}
\def\@crefdefineformat#1{%
\begingroup%
\@crefconstructcomponents{#1}%
- \expandafter\ifx\@tempname\@empty\relax%
+ \ifx\@tempname\@empty\relax%
\expandafter\def\expandafter\@tempfirst\expandafter{\@templabel}%
\else%
\expandafter\expandafter\expandafter\def%
\expandafter\expandafter\expandafter\@tempfirst%
\expandafter\expandafter\expandafter{%
- \expandafter\@tempname\expandafter\nobreakspace\@templabel}%
+ \expandafter\@tempname\expandafter\nobreakspace\@templabel@first}%
\fi%
- \expandafter\ifx\@tempName\@empty\relax%
+ \ifx\@tempName\@empty\relax%
\expandafter\def\expandafter\@tempFirst\expandafter{\@templabel}%
\else%
\expandafter\expandafter\expandafter\def%
\expandafter\expandafter\expandafter\@tempFirst%
\expandafter\expandafter\expandafter{%
- \expandafter\@tempName\expandafter\nobreakspace\@templabel}%
+ \expandafter\@tempName\expandafter\nobreakspace\@templabel@first}%
\fi%
\expandafter\def\expandafter\@templabel\expandafter{\@templabel}%
\toksdef\@toksa=0%
@@ -1544,23 +1527,25 @@
\def\@crefrangedefineformat#1{%
\begingroup%
\@crefconstructcomponents{#1}%
- \expandafter\ifx\@tempname\@empty\relax%
+ \ifx\@tempname\@empty\relax%
\expandafter\def\expandafter\@tempfirst%
\expandafter{\@temprangelabel}%
\else%
\expandafter\expandafter\expandafter\def%
\expandafter\expandafter\expandafter\@tempfirst%
\expandafter\expandafter\expandafter{%
- \expandafter\@tempnameplural\expandafter\nobreakspace\@temprangelabel}%
+ \expandafter\@tempnameplural@range%
+ \expandafter\nobreakspace\@temprangelabel@first}%
\fi%
- \expandafter\ifx\@tempName\@empty\relax%
+ \ifx\@tempName\@empty\relax%
\expandafter\def\expandafter\@tempFirst%
\expandafter{\@temprangelabel}%
\else%
\expandafter\expandafter\expandafter\def%
\expandafter\expandafter\expandafter\@tempFirst%
\expandafter\expandafter\expandafter{%
- \expandafter\@tempNameplural\expandafter\nobreakspace\@temprangelabel}%
+ \expandafter\@tempNameplural@range%
+ \expandafter\nobreakspace\@temprangelabel@first}%
\fi%
\expandafter\def\expandafter\@temprangelabel%
\expandafter{\@temprangelabel}%
@@ -1571,7 +1556,7 @@
\expandafter\the\expandafter\@toksa\expandafter{\@tempFirst}%
\@ifundefined{cref@#1@rangelabel}{%
\@ifundefined{cref@#1@label}{\let\@tempa\relax}{\def\@tempa{}}}%
- {\def\@tempa{}}%
+ {\def\@tempa{}}%
\ifx\@tempa\@empty\relax%
\@toksa={\labelcrefrangeformat{#1}}%
\expandafter\the\expandafter\@toksa\expandafter{%
@@ -1581,23 +1566,25 @@
\def\@crefdefinemultiformat#1{%
\begingroup%
\@crefconstructcomponents{#1}%
- \expandafter\ifx\@tempnameplural\@empty\relax%
+ \ifx\@tempnameplural\@empty\relax%
\expandafter\def\expandafter\@tempfirst%
\expandafter{\@templabel}%
\else%
\expandafter\expandafter\expandafter\def%
\expandafter\expandafter\expandafter\@tempfirst%
\expandafter\expandafter\expandafter{%
- \expandafter\@tempnameplural\expandafter\nobreakspace\@templabel}%
+ \expandafter\@tempnameplural%
+ \expandafter\nobreakspace\@templabel@first}%
\fi%
- \expandafter\ifx\@tempNameplural\@empty\relax%
+ \ifx\@tempNameplural\@empty\relax%
\expandafter\def\expandafter\@tempFirst%
\expandafter{\@templabel}%
\else%
\expandafter\expandafter\expandafter\def%
\expandafter\expandafter\expandafter\@tempFirst%
\expandafter\expandafter\expandafter{%
- \expandafter\@tempNameplural\expandafter\nobreakspace\@templabel}%
+ \expandafter\@tempNameplural%
+ \expandafter\nobreakspace\@templabel@first}%
\fi%
\expandafter\def\expandafter\@tempsecond\expandafter{%
\expandafter\crefpairconjunction\@templabel}%
@@ -1646,23 +1633,25 @@
\def\@crefrangedefinemultiformat#1{%
\begingroup%
\@crefconstructcomponents{#1}%
- \expandafter\ifx\@tempnameplural\@empty\relax%
+ \ifx\@tempnameplural\@empty\relax%
\expandafter\def\expandafter\@tempfirst%
\expandafter{\@temprangelabel}%
\else%
\expandafter\expandafter\expandafter\def%
\expandafter\expandafter\expandafter\@tempfirst%
\expandafter\expandafter\expandafter{%
- \expandafter\@tempnameplural\expandafter\nobreakspace\@temprangelabel}%
+ \expandafter\@tempnameplural@range%
+ \expandafter\nobreakspace\@temprangelabel@first}%
\fi%
- \expandafter\ifx\@tempNameplural\@empty\relax%
+ \ifx\@tempNameplural\@empty\relax%
\expandafter\def\expandafter\@tempFirst%
\expandafter{\@temprangelabel}%
\else%
\expandafter\expandafter\expandafter\def%
\expandafter\expandafter\expandafter\@tempFirst%
\expandafter\expandafter\expandafter{%
- \expandafter\@tempNameplural\expandafter\nobreakspace\@temprangelabel}%
+ \expandafter\@tempNameplural@range%
+ \expandafter\nobreakspace\@temprangelabel@first}%
\fi%
\expandafter\def\expandafter\@tempsecond\expandafter{%
\expandafter\crefpairconjunction\@temprangelabel}%
@@ -1768,11 +1757,11 @@
\expandafter\cref@append@toks\expandafter\@toksb\expandafter{%
\expandafter{\@temprangelabel}}%
\expandafter\cref@append@toks\expandafter\@toksb\expandafter{%
- \expandafter{\@tempsecond}}%
+ \expandafter{\@temprangesecond}}%
\expandafter\cref@append@toks\expandafter\@toksb\expandafter{%
- \expandafter{\@tempmiddle}}%
+ \expandafter{\@temprangemiddle}}%
\expandafter\cref@append@toks\expandafter\@toksb\expandafter{%
- \expandafter{\@templast}}%
+ \expandafter{\@temprangelast}}%
\@toksa={\labelcrefrangemultiformat{default}}%
\expandafter\the\expandafter\@toksa\the\@toksb%
\endgroup}
@@ -2006,9 +1995,7 @@
\endgroup}
\let\if@cref@hyperrefloaded\iffalse
\@ifpackageloaded{hyperref}{%
- \@ifpackagewith{hyperref}{implicit=false}{%
- \let\if@cref@hyperrefloaded\iffalse%
- }{%
+ \@ifpackagewith{hyperref}{implicit=false}{}{%
\let\if@cref@hyperrefloaded\iftrue%
\PackageInfo{cleveref}{`hyperref' support loaded}
\def\cref@hyperref#1{\expandafter\expandafter\expandafter%
@@ -2133,13 +2120,48 @@
\def\@crefrangenostar#1#2#3{\@setcrefrange{#2}{#3}{#1}{}}
\def\@crefrangestar#1#2#3{%
\@crefstarredtrue\@setcrefrange{#2}{#3}{#1}{}\@crefstarredfalse}
+ \DeclareRobustCommand{\cpageref}{%
+ \@ifstar{\@cpagerefstar{cref}}{\@cpagerefnostar{cref}}}
+ \DeclareRobustCommand{\Cpageref}{%
+ \@ifstar{\@cpagerefstar{Cref}}{\@cpagerefnostar{Cref}}}
+ \def\@cpagerefnostar#1#2{%
+ \@cpageref{#1}{#2}{\@setcpageref}{\@setcpagerefrange}}
+ \def\@cpagerefstar#1#2{%
+ \@crefstarredtrue%
+ \@cpageref{#1}{#2}{\@setcpageref}{\@setcpagerefrange}%
+ \@crefstarredfalse}
+ \DeclareRobustCommand{\cpagerefrange}{%
+ \@ifstar{\@cpagerefrangestar{cref}}{\@cpagerefrangenostar{cref}}}
+ \DeclareRobustCommand{\Cpagerefrange}{%
+ \@ifstar{\@cpagerefrangestar{Cref}}{\@cpagerefrangenostar{Cref}}}
+ \def\@cpagerefrangenostar#1#2#3{\@setcpagerefrange{#2}{#3}{#1}{}}
+ \def\@cpagerefrangestar#1#2#3{%
+ \@crefstarredtrue%
+ \@setcpagerefrange{#2}{#3}{#1}{}%
+ \@crefstarredfalse}
+ \DeclareRobustCommand{\labelcref}{%
+ \@ifstar{\@labelcrefstar}{\@labelcrefnostar}}
+ \def\@labelcrefnostar#1{\@cref{labelcref}{#1}}
+ \def\@labelcrefstar#1{%
+ \@crefstarredtrue%
+ \@cref{labelcref}{#1}%
+ \@crefstarredfalse}
+ \DeclareRobustCommand{\labelcpageref}{%
+ \@ifstar{\@labelcpagerefstar}{\@labelcpagerefnostar}}
+ \def\@labelcpagerefnostar#1{%
+ \@cpageref{labelcref}{#1}{\@setcpageref}{\@setcpagerefrange}}
+ \def\@labelcpagerefstar#1{%
+ \@crefstarredtrue%
+ \@cpageref{labelcref}{#1}{\@setcpageref}{\@setcpagerefrange}%
+ \@crefstarredfalse}
\def\@@setcref#1#2{%
\cref@getlabel{#2}{\@templabel}%
\if@crefstarred%
#1{\@templabel}{}{}%
\else%
\edef\@templink{\cref@hyperref{#2}}%
- #1{\@templabel}{\hyper@linkstart{link}{\@templink}}{\hyper@linkend}%
+ #1{\@templabel}{\hyper@linkstart{link}{\@templink}}%
+ {\hyper@linkend}%
\fi}
\def\@@setcrefrange#1#2#3{%
\cref@getlabel{#2}{\@labela}%
@@ -2153,91 +2175,368 @@
{\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}{%
- \PackageWarning{cleveref}{`cleveref' supersedes `ntheorem's `thref'
- option}%
- \renewcommand{\thref}{\cref}}{}
- \@ifundefined{theorem@prework}{\let\theorem@prework\relax}{}
- \gdef\@thm#1#2#3{%
- \if@thmmarks%
- \stepcounter{end\InTheoType ctr}%
- \fi%
- \renewcommand{\InTheoType}{#1}%
- \if@thmmarks%
- \stepcounter{curr#1ctr}%
- \setcounter{end#1ctr}{0}%
- \fi%
- \refstepcounter[#1]{#2}% <<< cleveref modification
- \theorem@prework%
- \thm@topsepadd \theorempostskipamount%
- \ifvmode \advance\thm@topsepadd\partopsep\fi%
- \trivlist%
- \@topsep \theorempreskipamount%
- \@topsepadd \thm@topsepadd%
- \advance\linewidth -\theorem@indent%
- \advance\@totalleftmargin \theorem@indent%
- \parshape \@ne \@totalleftmargin \linewidth%
- \@ifnextchar[{\@ythm{#1}{#2}{#3}}{\@xthm{#1}{#2}{#3}}%]
- }
- }{}% end of \@ifpackageloaded{ntheorem}
-\let\cref@old@othm\@othm
-\def\@othm#1[#2]#3{%
- \edef\@tempa{\expandafter\noexpand%
- \csname cref@#1@name@preamble\endcsname}%
- \edef\@tempb{\expandafter\noexpand%
- \csname Cref@#1@name@preamble\endcsname}%
- \def\@tempc{#3}%
- \ifx\@tempc\@empty\relax%
- \expandafter\gdef\@tempa{}%
- \expandafter\gdef\@tempb{}%
- \else%
- \expandafter\expandafter\expandafter\gdef\expandafter%
- \@tempa\expandafter{\MakeLowercase #3}%
- \expandafter\expandafter\expandafter\gdef\expandafter%
- \@tempa\expandafter{\MakeUppercase #3}%
- \fi%
- \cref@stack@add{#1}{\cref@label@types}%
- \cref@old@othm{#1}[#2]{#3}}
-\let\cref@old@xnthm\@xnthm
-\def\@xnthm#1#2[#3]{%
- \edef\@tempa{\expandafter\noexpand%
- \csname cref@#1@name@preamble\endcsname}%
- \edef\@tempb{\expandafter\noexpand%
- \csname Cref@#1@name@preamble\endcsname}%
- \def\@tempc{#2}%
- \ifx\@tempc\@empty\relax%
- \expandafter\gdef\@tempa{}%
- \expandafter\gdef\@tempb{}%
- \else%
- \expandafter\expandafter\expandafter\gdef\expandafter%
- \@tempa\expandafter{\MakeLowercase #2}%
- \expandafter\expandafter\expandafter\gdef\expandafter%
- \@tempa\expandafter{\MakeUppercase #2}%
+ \def\@@setcpageref#1#2{%
+ \cref@getpageref{#2}{\@temppage}%
+ \if@crefstarred%
+ #1{\@temppage}{}{}%
+ \else%
+ \edef\@templink{\cref@hyperref{#2}}%
+ #1{\@temppage}{\hyper@linkstart{link}{\@templink}}%
+ {\hyper@linkend}%
+ \fi}
+ \def\@@setcpagerefrange#1#2#3{%
+ \cref@getpageref{#2}{\@pagea}%
+ \cref@getpageref{#3}{\@pageb}%
+ \if@crefstarred%
+ #1{\@pagea}{\@pageb}{}{}{}{}%
+ \else%
+ \edef\@linka{\cref@hyperref{#2}}%
+ \edef\@linkb{\cref@hyperref{#3}}%
+ #1{\@pagea}{\@pageb}%
+ {\hyper@linkstart{link}{\@linka}}{\hyper@linkend}%
+ {\hyper@linkstart{link}{\@linkb}}{\hyper@linkend}%
+ \fi}%
+ }% end of false case of \@ifpackagewith{hyperref}{implicit=false}
+}{% false case of \@ifpackageloaded{hyperref}
+ \@ifclassloaded{revtex4}{\let\if@cref@hyperrefloaded\iftrue}{}%
+ \@ifclassloaded{revtex4-1}{\let\if@cref@hyperrefloaded\iftrue}{}%
+ \if@cref@hyperrefloaded\relax%
+ \let\cref@old@H@refstepcounter\H@refstepcounter%
+ \def\H@refstepcounter#1{%
+ \cref@old@H@refstepcounter{#1}%
+ \cref@constructprefix{#1}{\cref@result}%
+ \@ifundefined{cref@#1@alias}%
+ {\def\@tempa{#1}}%
+ {\def\@tempa{\csname cref@#1@alias\endcsname}}%
+ \protected@xdef\cref@currentlabel{%
+ [\@tempa][\arabic{#1}][\cref@result]%
+ \csname p@#1\endcsname\csname the#1\endcsname}}%
\fi%
- \cref@stack@add{#1}{\cref@label@types}%
- \cref@old@xnthm{#1}{#2}[#3]}
-\let\cref@old@ynthm\@ynthm
-\def\@ynthm#1#2{%
- \edef\@tempa{\expandafter\noexpand%
- \csname cref@#1@name@preamble\endcsname}%
- \edef\@tempb{\expandafter\noexpand%
- \csname Cref@#1@name@preamble\endcsname}%
- \def\@tempc{#2}%
- \ifx\@tempc\@empty\relax%
- \expandafter\gdef\@tempa{}%
- \expandafter\gdef\@tempb{}%
- \else%
- \expandafter\expandafter\expandafter\gdef\expandafter%
- \@tempa\expandafter{\MakeLowercase #2}%
- \expandafter\expandafter\expandafter\gdef\expandafter%
- \@tempa\expandafter{\MakeUppercase #2}%
+ \let\if@cref@hyperrefloaded\iffalse%
+}% end of \@ifpackageloaded{hyperref}
+\@ifpackageloaded{amsmath}{%
+ \AtBeginDocument{
+ \let\cref@old@label@in@display\label@in@display
+ \def\label@in@display{%
+ \@ifnextchar[\label@in@display@optarg\label@in@display@noarg}%]
+ \def\label@in@display@noarg#1{\cref@old@label@in@display{{#1}}}
+ \def\label@in@display@optarg[#1]#2{%
+ \cref@old@label@in@display{[#1]{#2}}}
+ \def\ltx@label#1{\cref@label#1}
+ }% end of AtBeginDocument
+ \def\measure@#1{%
+ \begingroup
+ \measuring@true
+ \global\eqnshift@\z@
+ \global\alignsep@\z@
+ \global\let\tag@lengths\@empty
+ \global\let\field@lengths\@empty
+ \savecounters@
+ \global\setbox0\vbox{%
+ \let\math@cr@@@\math@cr@@@align@measure
+ \everycr{\noalign{\global\tag@false
+ \global\let\raise@tag\@empty \global\column@\z@}}%
+ \let\label\@gobble@optarg% <<< cleveref modification
+ \global\row@\z@
+ \tabskip\z@
+ \halign{\span\align@preamble\crcr
+ #1%
+ \math@cr@@@
+ \global\column@\z@
+ \add@amps\maxfields@\cr
+ }%
+ }%
+ \restorecounters@
+ \ifodd\maxfields@
+ \global\advance\maxfields@\@ne
+ \fi
+ \ifnum\xatlevel@=\tw@
+ \ifnum\maxfields@<\thr@@
+ \let\xatlevel@\z@
+ \fi
+ \fi
+ \setbox\z@\vbox{%
+ \unvbox\z@ \unpenalty \global\setbox\@ne\lastbox
+ }%
+ \global\totwidth@\wd\@ne
+ \if@fleqn \global\advance\totwidth@\@mathmargin \fi
+ \global\let\maxcolumn@widths\@empty
+ \begingroup
+ \let\or\relax
+ \loop
+ \global\setbox\@ne\hbox{%
+ \unhbox\@ne \unskip \global\setbox\thr@@\lastbox
+ }%
+ \ifhbox\thr@@
+ \xdef\maxcolumn@widths{ \or \the\wd\thr@@ \maxcolumn@widths}%
+ \repeat
+ \endgroup
+ \dimen@\displaywidth
+ \advance\dimen@-\totwidth@
+ \ifcase\xatlevel@
+ \global\alignsep@\z@
+ \let\minalignsep\z@
+ \@tempcntb\z@
+ \if@fleqn
+ \@tempcnta\@ne
+ \global\eqnshift@\@mathmargin
+ \else
+ \@tempcnta\tw@
+ \global\eqnshift@\dimen@
+ \global\divide\eqnshift@\@tempcnta
+ \fi
+ \or
+ \@tempcntb\maxfields@
+ \divide\@tempcntb\tw@
+ \@tempcnta\@tempcntb
+ \advance\@tempcntb\m@ne
+ \if@fleqn
+ \global\eqnshift@\@mathmargin
+ \global\alignsep@\dimen@
+ \global\divide\alignsep@\@tempcnta
+ \else
+ \global\advance\@tempcnta\@ne
+ \global\eqnshift@\dimen@
+ \global\divide\eqnshift@\@tempcnta
+ \global\alignsep@\eqnshift@
+ \fi
+ \or
+ \@tempcntb\maxfields@
+ \divide\@tempcntb\tw@
+ \global\advance\@tempcntb\m@ne
+ \global\@tempcnta\@tempcntb
+ \global\eqnshift@\z@
+ \global\alignsep@\dimen@
+ \if@fleqn
+ \global\advance\alignsep@\@mathmargin\relax
+ \fi
+ \global\divide\alignsep@\@tempcntb
+ \fi
+ \ifdim\alignsep@<\minalignsep\relax
+ \global\alignsep@\minalignsep\relax
+ \ifdim\eqnshift@>\z@
+ \if@fleqn\else
+ \global\eqnshift@\displaywidth
+ \global\advance\eqnshift@-\totwidth@
+ \global\advance\eqnshift@-\@tempcntb\alignsep@
+ \global\divide\eqnshift@\tw@
+ \fi
+ \fi
+ \fi
+ \ifdim\eqnshift@<\z@
+ \global\eqnshift@\z@
+ \fi
+ \calc@shift@align
+ \global\tagshift@\totwidth@
+ \global\advance\tagshift@\@tempcntb\alignsep@
+ \if@fleqn
+ \ifnum\xatlevel@=\tw@
+ \global\advance\tagshift@-\@mathmargin\relax
+ \fi
+ \else
+ \global\advance\tagshift@\eqnshift@
+ \fi
+ \iftagsleft@ \else
+ \global\advance\tagshift@-\displaywidth
+ \fi
+ \dimen@\minalignsep\relax
+ \global\advance\totwidth@\@tempcntb\dimen@
+ \ifdim\totwidth@>\displaywidth
+ \global\let\displaywidth@\totwidth@
+ \else
+ \global\let\displaywidth@\displaywidth
+ \fi
+ \endgroup
+ }
+ \def\gmeasure@#1{%
+ \begingroup
+ \measuring@true
+ \totwidth@\z@
+ \global\let\tag@lengths\@empty
+ \savecounters@
+ \setbox\@ne\vbox{%
+ \everycr{\noalign{\global\tag@false
+ \global\let\raise@tag\@empty \global\column@\z@}}%
+ \let\label\@gobble% <<< cleveref modification
+ \halign{%
+ \setboxz@h{$\m@th\displaystyle{##}$}%
+ \ifdim\wdz@>\totwidth@
+ \global\totwidth@\wdz@
+ \fi
+ &\setboxz@h{\strut@{##}}%
+ \savetaglength@
+ \crcr
+ #1%
+ \math@cr@@@
+ }%
+ }%
+ \restorecounters@
+ \if@fleqn
+ \global\advance\totwidth@\@mathmargin
+ \fi
+ \iftagsleft@
+ \ifdim\totwidth@>\displaywidth
+ \global\let\gdisplaywidth@\totwidth@
+ \else
+ \global\let\gdisplaywidth@\displaywidth
+ \fi
+ \fi
+ \endgroup
+}
+ \def\multline@#1{%
+ \Let@
+ \@display@init{\global\advance\row@\@ne \global\dspbrk@lvl\m@ne}%
+ \chardef\dspbrk@context\z@
+ \restore@math@cr
+ \let\tag\tag@in@align
+ \global\tag@false \global\let\raise@tag\@empty
+ \mmeasure@{#1}%
+ \let\tag\gobble@tag \let\label\@gobble@optarg% <<< cleveref modification
+ \tabskip \if@fleqn \@mathmargin \else \z@skip \fi
+ \totwidth@\displaywidth
+ \if@fleqn
+ \advance\totwidth@-\@mathmargin
+ \fi
+ \halign\bgroup
+ \hbox to\totwidth@{%
+ \if@fleqn
+ \hskip \@centering \relax
+ \else
+ \hfil
+ \fi
+ \strut@
+ $\m@th\displaystyle{}##\endmultline@math
+ \hfil
+ }% $
+ \crcr
+ \if@fleqn
+ \hskip-\@mathmargin
+ \def\multline@indent{\hskip\@mathmargin}%
+ \else
+ \hfilneg
+ \def\multline@indent{\hskip\multlinegap}%
+ \fi
+ \iftagsleft@
+ \iftag@
+ \begingroup
+ \ifshifttag@
+ \rlap{\vbox{%
+ \normalbaselines
+ \hbox{%
+ \strut@
+ \make@display@tag
+ }%
+ \vbox to\lineht@{}%
+ \raise@tag
+ }}%
+ \multline@indent
+ \else
+ \setbox\z@\hbox{\make@display@tag}%
+ \dimen@\@mathmargin \advance\dimen@-\wd\z@
+ \ifdim\dimen@<\multlinetaggap
+ \dimen@\multlinetaggap
+ \fi
+ \box\z@ \hskip\dimen@\relax
+ \fi
+ \endgroup
+ \else
+ \multline@indent
+ \fi
+ \else
+ \multline@indent
+ \fi
+ #1%
+ }
+ \def\mmeasure@#1{%
+ \begingroup
+ \measuring@true
+ \def\label{% <<< cleveref modification
+ \@ifnextchar[\label@in@mmeasure@optarg%]
+ \label@in@mmeasure@noarg}%
+ \def\math@cr@@@{\cr}%
+ \let\shoveleft\@iden \let\shoveright\@iden
+ \savecounters@
+ \global\row@\z@
+ \setbox\@ne\vbox{%
+ \global\let\df@tag\@empty
+ \halign{%
+ \setboxz@h{\@lign$\m@th\displaystyle{}##$}%
+ \iftagsleft@
+ \ifnum\row@=\@ne
+ \global\totwidth@\wdz@
+ \global\lineht@\ht\z@
+ \fi
+ \else
+ \global\totwidth@\wdz@
+ \global\lineht@\dp\z@
+ \fi
+ \crcr
+ #1%
+ \crcr
+ }%
+ }%
+ \ifx\df@tag\@empty\else\global\tag@true\fi
+ \if@eqnsw\global\tag@true\fi
+ \iftag@
+ \setboxz@h{%
+ \if@eqnsw
+ \stepcounter{equation}%
+ \tagform@\theequation
+ \else
+ \df@tag
+ \fi
+ }%
+ \global\tagwidth@\wdz@
+ \dimen@\totwidth@
+ \advance\dimen@\tagwidth@
+ \advance\dimen@\multlinetaggap
+ \iftagsleft@\else
+ \if@fleqn
+ \advance\dimen@\@mathmargin
+ \fi
+ \fi
+ \ifdim\dimen@>\displaywidth
+ \global\shifttag@true
+ \else
+ \global\shifttag@false
+ \fi
+ \fi
+ \restorecounters@
+ \endgroup
+ }
+ \def\label@in@mmeasure@noarg#1{%
+ \begingroup%
+ \measuring@false%
+ \cref@old@label@in@display{{#1}}%
+ \endgroup}
+ \def\label@in@mmeasure@optarg[#1]#2{%
+ \begingroup%
+ \measuring@false%
+ \cref@old@label@in@display{[#1]{#2}}%
+ \endgroup}
+ \let\cref@old@subequations\subequations%
+ \let\cref@old@endsubequations\endsubequations%
+ \cref@resetby{equation}{\cref@result}%
+ \ifx\cref@result\relax\else%
+ \@addtoreset{parentequation}{\cref@result}%
\fi%
- \cref@stack@add{#1}{\cref@label@types}%
- \cref@old@ynthm{#1}{#2}}
+ \renewenvironment{subequations}{%
+ \@addtoreset{equation}{parentequation}%
+ \cref@old@subequations%
+ }{%
+ \gdef\cl@parentequation{}%
+ \cref@old@endsubequations%
+ \setcounter{parentequation}{0}%
+ }%
+ \def\make@df@tag@@#1{%
+ \gdef\df@tag{\maketag@@@{#1}\def\@currentlabel{#1}%
+ \def\cref@currentlabel{[equation][2147483647][]#1}}}
+ \def\make@df@tag@@@#1{%
+ \gdef\df@tag{\tagform@{#1}%
+ \toks@\@xp{\p@equation{#1}}%
+ \edef\@currentlabel{\the\toks@}%
+ \edef\cref@currentlabel{[equation][2147483647][]\the\toks@}}}
+}{}% end of \@ifpackageloaded{amsmath}
\@ifpackageloaded{amsthm}{%
\PackageInfo{cleveref}{`amsthm' support loaded}
\let\cref@thmnoarg\@thm
@@ -2298,6 +2597,255 @@
\@tempa}
\let\@xnthm\cref@old@xnthm
}{}% end of \@ifpackageloaded{amsthm}
+ \@ifpackageloaded{ntheorem}{%
+ \PackageInfo{cleveref}{`ntheorem' support loaded}
+ \@ifpackagewith{ntheorem}{thref}{%
+ \PackageWarning{cleveref}{`cleveref' supersedes `ntheorem's `thref'
+ option}%
+ \renewcommand{\thref}{\cref}}{}
+ \@ifundefined{theorem@prework}{\let\theorem@prework\relax}{}
+ \gdef\@thm#1#2#3{%
+ \if@thmmarks%
+ \stepcounter{end\InTheoType ctr}%
+ \fi%
+ \renewcommand{\InTheoType}{#1}%
+ \if@thmmarks%
+ \stepcounter{curr#1ctr}%
+ \setcounter{end#1ctr}{0}%
+ \fi%
+ \refstepcounter[#1]{#2}% <<< cleveref modification
+ \theorem@prework%
+ \thm@topsepadd \theorempostskipamount%
+ \ifvmode \advance\thm@topsepadd\partopsep\fi%
+ \trivlist%
+ \@topsep \theorempreskipamount%
+ \@topsepadd \thm@topsepadd%
+ \advance\linewidth -\theorem@indent%
+ \advance\@totalleftmargin \theorem@indent%
+ \parshape \@ne \@totalleftmargin \linewidth%
+ \@ifnextchar[{\@ythm{#1}{#2}{#3}}{\@xthm{#1}{#2}{#3}}%]
+ }
+ }{}% end of \@ifpackageloaded{ntheorem}
+\@ifpackageloaded{varioref}{%
+ \PackageInfo{cleveref}{`varioref' support loaded}
+ \PackageInfo{cleveref}{`cleveref' supersedes `varioref's %
+ \string\labelformat command}
+ \def\cref@@vpageref#1[#2]#3{%
+ \@cpageref{cref}{#3}%
+ {\@setvpageref[#1][\vref@space]}{\@setvpagerefrange[#1]}}
+ \def\cref@vref#1#2{%
+ \leavevmode%
+ \@cref{#1}{#2}\@setcref@space%
+ \cref@@vpageref{\reftextcurrent}[]{#2}}
+ \def\cref@vrefrange#1#2#3{%
+ \@setcrefrange{#2}{#3}{#1}{}\@setcref@space\vpagerefrange{#2}{#3}}
+ \def\cref@fullref#1#2{%
+ \@cref{#1}{#2}\@setcref@space%
+ \@cpageref{cref}{#2}{\@setfullpageref}{\@setfullpagerefrange}}
+ \def\cref@vpagerefconjunction#1{%
+ \def\@tempa{#1}%
+ \def\@tempb{@second}%
+ \ifx\@tempa\@tempb\relax%
+ \@setcref@pairconjunction%
+ \else%
+ \def\@tempb{@middle}%
+ \ifx\@tempa\@tempb\relax%
+ \@setcref@middleconjunction%
+ \else%
+ \def\@tempb{@last}%
+ \ifx\@tempa\@tempb\relax%
+ \@setcref@lastconjunction%
+ \fi%
+ \fi%
+ \fi}
+ \def\@setcref@space{ }
+ \def\@setvpageref[#1][#2]#3#4#5{%
+ \cref@vpagerefconjunction{#5}%
+ \def\vref@space{}%
+ \begingroup%
+ \cref@patchreftexts{#5}%
+ \@@setvpageref{#1}[#2]{#3}%
+ \endgroup}
+ \def\@@setvpageref#1[#2]#3{\cref@old@@vpageref{#1}[#2]{#3}}
+ \def\@setvpagerefrange[#1]#2#3#4#5{%
+ \cref@vpagerefconjunction{#5}%
+ \let\vref@space\relax%
+ \begingroup%
+ \cref@patchreftexts{#5}%
+ \@@setvpagerefrange[#1]{#2}{#3}%
+ \endgroup}
+ \def\@@setvpagerefrange[#1]#2#3{\vpagerefrange[#1]{#2}{#3}}
+ \def\@setfullpageref#1#2#3{%
+ \cref@vpagerefconjunction{#3}%
+ \begingroup%
+ \cref@patchreftexts{#3}%
+ \@@setfullpageref{#1}%
+ \endgroup}
+ \def\@@setfullpageref#1{\reftextfaraway{#1}}
+ \def\@setfullpagerefrange#1#2#3#4{%
+ \cref@vpagerefconjunction{#4}%
+ \begingroup%
+ \cref@patchreftexts{#4}%
+ \@@setfullpagerefrange{#1}{#2}%
+ \endgroup}
+ \def\@@setfullpagerefrange#1#2{\reftextpagerange{#1}{#2}}
+ \def\cref@old@@vpageref#1[#2]#3{%
+ \leavevmode%\unskip <<<
+ \global\advance\c@vrcnt\@ne
+ \vref@pagenum\@tempa{\the\c@vrcnt @vr}%
+ \vref@pagenum\@tempb{\the\c@vrcnt @xvr}%
+ %\vref@label{\the\c@vrcnt @xvr}% <<<
+ \ifx\@tempa\@tempb\else
+ \vref@err{\noexpand\vref or \noexpand\vpageref at page boundary
+ \@tempb-\@tempa\space (may loop)%
+ }%
+ \fi
+ \vrefpagenum\thevpagerefnum{#3}%
+ \vref@space
+ \ifx\@tempa\thevpagerefnum
+ \def\@tempc{#1}%
+ \ifx\@tempc\@empty
+ \unskip
+ \else
+ #1%
+ \fi
+ \else
+ #2%
+ \is@pos@number\thevpagerefnum
+ {%
+ \is@pos@number\@tempa
+ {\@tempcnta\@tempa
+ \advance\@tempcnta\@ne
+ }%
+ {\@tempcnta\maxdimen}%
+ \ifnum \thevpagerefnum =\@tempcnta
+ \ifodd\@tempcnta
+ \if@twoside
+ \reftextfaceafter
+ \else
+ \reftextafter
+ \fi
+ \else
+ \reftextafter
+ \fi
+ \else
+ \advance\@tempcnta-2
+ \ifnum \thevpagerefnum =\@tempcnta
+ \ifodd\@tempcnta
+ \reftextbefore
+ \else
+ \if@twoside
+ \reftextfacebefore
+ \else
+ \reftextbefore
+ \fi
+ \fi
+ \else
+ \reftextfaraway{#3}%
+ \fi
+ \fi
+ }%
+ {\reftextfaraway{#3}}%
+ \fi
+ \vref@label{\the\c@vrcnt @xvr}% <<<
+ \vref@label{\the\c@vrcnt @vr}%
+ }
+ \let\creftextcurrent\reftextcurrent
+ \let\creftextfaceafter\reftextfaceafter
+ \let\creftextfacebefore\reftextfacebefore
+ \let\creftextafter\reftextafter
+ \let\creftextbefore\reftextbefore
+ \let\creftextfaraway\reftextfaraway
+ \let\creftextpagerange\reftextpagerange
+ \def\cref@patchreftexts#1{%
+ \cref@patchreftext{reftextcurrent}{#1}%
+ \cref@patchreftext{reftextfaceafter}{#1}%
+ \cref@patchreftext{reftextfacebefore}{#1}%
+ \cref@patchreftext{reftextafter}{#1}%
+ \cref@patchreftext{reftextbefore}{#1}}
+ \def\cref@patchreftext#1#2{%
+ \def\@tempa{#2}%
+ \ifx\@tempa\@empty%
+ \def\@tempc{}%
+ \expandafter\ifx\csname #1\endcsname\@tempc\relax%
+ \expandafter\def\csname #1\endcsname{\unskip}%
+ %{\advance\count@group -1\reftextcurrent@orig}%
+ \else%
+ \long\def\@tempc{}%
+ \expandafter\ifx\csname #1\endcsname\@tempc\relax%
+ \expandafter\def\csname #1\endcsname{\unskip}%
+ %{\advance\count@group -1\reftextcurrent@orig}%
+ \fi%
+ \fi%
+ \else%
+ \long\def\@tempc{\unskip}%
+ \expandafter\ifx\csname #1\endcsname\@tempc\relax%
+ \expandafter\expandafter\expandafter\def%
+ \expandafter\expandafter\csname #1\endcsname\expandafter{%
+ \csname c#1\endcsname}%
+ \else%
+ \long\def\@tempc{}%
+ \expandafter\ifx\csname #1\endcsname\@tempc\relax%
+ \expandafter\expandafter\expandafter\def%
+ \expandafter\expandafter\csname #1\endcsname\expandafter{%
+ \csname c#1\endcsname}%
+ \else%
+ \def\@tempc{\unskip}%
+ \expandafter\ifx\csname #1\endcsname\@tempc\relax%
+ \expandafter\expandafter\expandafter\def%
+ \expandafter\expandafter\csname #1\endcsname\expandafter{%
+ \csname c#1\endcsname}%
+ \else%
+ \def\@tempc{}%
+ \expandafter\ifx\csname #1\endcsname\@tempc\relax%
+ \expandafter\expandafter\expandafter\def%
+ \expandafter\expandafter\csname #1\endcsname\expandafter{%
+ \csname c#1\endcsname}%
+ \fi%
+ \fi%
+ \fi%
+ \fi%
+ \fi}
+ \def\@setcref@pairconjunction{\crefpairconjunction}
+ \def\@setcref@middleconjunction{\crefmiddleconjunction}
+ \def\@setcref@lastconjunction{\creflastconjunction}
+ \AtBeginDocument{%
+ \def\@@vpageref#1[#2]#3{\cref@@vpageref{#1}[#2]{#3}}
+ }
+ \if@cref@hyperrefloaded\relax% hyperref loaded
+ \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
+}{}% end of \@ifpackageloaded{varioref}
\@ifpackageloaded{algorithm}{%
\PackageInfo{cleveref}{`algorithm' support loaded}
\let\cref@old@ALG@step\ALG@step
@@ -2307,14 +2855,16 @@
\refstepcounter[line]{ALG@line}}
}{}% end of \@ifpackageloaded{algorithm}
\@ifpackageloaded{listings}{%
- \PackageInfo{cleveref}{`listings' support loaded}
- \crefalias{lstnumber}{line}%
- \crefalias{lstlisting}{listing}}{}% end of \@ifpackageloaded{listings}
+ \PackageInfo{cleveref}{`listings' support loaded}
+ \crefalias{lstnumber}{line}%
+ \crefalias{lstlisting}{listing}%
+ }{}% end of \@ifpackageloaded{listings}
\@ifpackageloaded{algorithm2e}{%
- \PackageInfo{cleveref}{`algorithm2e' support loaded}
- \crefalias{algocf}{algorithm}%
- \crefalias{algocfline}{line}}{}% end of \@ifpackageloaded{listings}
- \@ifpackageloaded{subfig}{%
+ \PackageInfo{cleveref}{`algorithm2e' support loaded}
+ \crefalias{algocf}{algorithm}%
+ \crefalias{algocfline}{line}%
+ }{}% end of \@ifpackageloaded{listings}
+\@ifpackageloaded{subfig}{%
\PackageInfo{cleveref}{`subfig' support loaded}
\AtBeginDocument{
\let\cref@old@refsteponlycounter\refsteponlycounter
@@ -2322,7 +2872,24 @@
\@ifnextchar[{\refstepcounter@optarg}%
{\cref@old@refsteponlycounter}%]
}}
+ \def\sf@sub@label(#1){%
+ \ifhyperrefloaded
+ \protected@edef\@currentlabelname{%
+ \expandafter\strip@period #1\relax.\relax\@@@}%
+ \fi%
+ \let\sf@oldlabel\cref@old@label%
+ \let\cref@old@label\sf@@sub@label%
+ \cref@label}%
}{}% end of \@ifpackageloaded{subfig}
+\@ifpackageloaded{caption}{%
+ \PackageInfo{cleveref}{`caption' support loaded}
+ \let\cref@old@caption@xlabel\caption@xlabel
+ \def\caption@xlabel{%
+ \let\cref@ORI@label\cref@old@label%
+ \let\cref@old@label\cref@old@caption@xlabel%
+ \let\caption@ORI@label\cref@ORI@label%
+ \cref@label}%
+ }{}% end of \@ifpackageloaded{caption}
\@ifpackageloaded{aliascnt}{%
\PackageInfo{cleveref}{`aliascnt' support loaded}
\let\cref@old@newaliascnt\newaliascnt
@@ -2333,98 +2900,6 @@
\@addtoreset{#1}{\cref@result}%
\fi}
}{}% end of \@ifpackageloaded{aliascnt}
-\@ifpackageloaded{varioref}{%
- \PackageInfo{cleveref}{`varioref' support loaded}
- \PackageInfo{cleveref}{`cleveref' supersedes `varioref's %
- \string\labelformat command}
- \AtBeginDocument{%
- \def\cref@vref#1#2{%
- \if@cref@legacyvarioref%
- \leavevmode\unskip\vref@space%
- \fi%
- \@cref{#1}{#2} % space here is deliberate
- \begingroup%
- \def\@tempstack{#2,\@nil}%
- \cref@stack@topandbottom{\@tempstack}{\@firstref}{\@lastref}%
- \ifx\@lastref\@empty%
- \vpageref[\unskip]{#2}%
- \else%
- \edef\@tempa{{\@firstref}{\@lastref}}%
- \expandafter\def\expandafter\@tempa\expandafter{%
- \expandafter[\expandafter\unskip\expandafter]%
- \@tempa}%
- \expandafter\vpagerefrange\@tempa%
- \fi%
- \endgroup}
- \def\cref@vrefrange#1#2#3{%
- \@setcrefrange{#2}{#3}{#1}{} \vpagerefrange[\unskip]{#2}{#3}}
- \def\cref@fullref#1#2{%
- \@cref{#1}{#2} % space here is deliberate
- \begingroup%
- \def\@tempstack{#2,\@nil}%
- \cref@stack@topandbottom{\@tempstack}{\@firstref}{\@lastref}%
- \ifx\@lastref\@empty%
- \reftextfaraway{#2}%
- \else%
- \expandafter\vrefpagenum\expandafter%
- \@tempa\expandafter{\@firstref}%
- \expandafter\vrefpagenum\expandafter%
- \@tempb\expandafter{\@lastref}%
- \ifx\@tempa\@tempb%
- \expandafter\reftextfaraway\expandafter{\@firstref}%
- \else%
- \edef\@tempa{{\@firstref}{\@lastref}}%
- \expandafter\reftextpagerange\@tempa%
- \fi%
- \fi%
- \endgroup}
- \if@cref@legacyvarioref%
- \def\vr@f#1{\cref@vref{cref}{#1}}
- \def\Vr@f#1{\cref@vref{Cref}{#1}}
- \renewcommand\vrefrange[3][\reftextcurrent]{%
- \crefrange{#2}{#3} \vpagerefrange[\unskip]{#2}{#3}}
- \def\fullref#1{\cref@fullref{cref}{#1}}
- \else%
- \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}
-\let\if@cref@legacyvarioref\iffalse
-\DeclareOption{legacyvarioref}{%
- \PackageInfo{cleveref}{legacy `varioref' compatibility enabled}
- \let\if@cref@legacyvarioref\iftrue}
\DeclareOption{poorman}{%
\PackageInfo{cleveref}{option `poorman' loaded}
\gdef\cref@poorman@text{}
@@ -2728,145 +3203,144 @@
\string\Crefrange*\string{#2\string}\string{#3\string}}%
\fi}%
\@tempa#1\@nil}
+ \def\@cpagerefnostar#1#2{%
+ \gdef\cref@poorman@text{}%
+ \@cpageref{#1}{#2}{\@setcpageref}{\@setcpagerefrange}%
+ \def\@tempa##1##2\@nil{%
+ \if##1c%
+ \cref@writescript{}{\string\cpageref\string{#2\string}}%
+ \else%
+ \cref@writescript{}{\string\Cpageref\string{#2\string}}%
+ \fi}%
+ \@tempa#1\@nil}
+ \def\@cpagerefstar#1#2{%
+ \gdef\cref@poorman@text{}%
+ \@crefstarredtrue%
+ \@cpageref{#1}{#2}{\@setcpageref}{\@setcpagerefrange}%
+ \@crefstarredfalse%
+ \def\@tempa##1##2\@nil{%
+ \if##1c%
+ \cref@writescript{}{\string\cpageref*\string{#2\string}}%
+ \else%
+ \cref@writescript{}{\string\Cpageref*\string{#2\string}}%
+ \fi}%
+ \@tempa#1\@nil}
+ \def\@cpagerefrangenostar#1#2#3{%
+ \gdef\cref@poorman@text{}%
+ \@setcpagerefrange{#2}{#3}{#1}{}%
+ \def\@tempa##1##2\@nil{%
+ \if##1c%
+ \cref@writescript{}{%
+ \string\cpagerefrange\string{#2\string}\string{#3\string}}%
+ \else%
+ \cref@writescript{}{%
+ \string\Cpagerefrange\string{#2\string}\string{#3\string}}%
+ \fi}%
+ \@tempa#1\@nil}
+ \def\@cpagerefrangestar#1#2#3{%
+ \gdef\cref@poorman@text{}%
+ \@crefstarredtrue%
+ \@setcpagerefrange{#2}{#3}{#1}{}%
+ \@crefstarredfalse%
+ \def\@tempa##1##2\@nil{%
+ \if##1c%
+ \cref@writescript{}{%
+ \string\cpagerefrange*\string{#2\string}\string{#3\string}}%
+ \else%
+ \cref@writescript{}{%
+ \string\Cpagerefrange*\string{#2\string}\string{#3\string}}%
+ \fi}%
+ \@tempa#1\@nil}
+ \def\@labelcrefnostar#1{%
+ \gdef\cref@poorman@text{}%
+ \@cref{labelcref}{#1}%
+ \cref@writescript{}{\string\labelcref\string{#1\string}}}
+ \def\@labelcrefstar#1{%
+ \gdef\cref@poorman@text{}%
+ \@crefstarredtrue%
+ \@cref{labelcref}{#1}%
+ \@crefstarredfalse%
+ \cref@writescript{}{\string\labelcref*\string{#1\string}}}
+ \def\@labelcpagerefnostar#1{%
+ \gdef\cref@poorman@text{}%
+ \@cpageref{labelcref}{#1}{\@setcpageref}{\@setcpagerefrange}%
+ \cref@writescript{}{\string\labelcpageref\string{#1\string}}}
+ \def\@labelcpagerefstar#1{%
+ \gdef\cref@poorman@text{}%
+ \@crefstarredtrue%
+ \@cpageref{labelcref}{#1}{\@setcpageref}{\@setcpagerefrange}%
+ \@crefstarredfalse%
+ \cref@writescript{}{\string\labelcpageref*\string{#1\string}}}
\else% hyperref not loaded
\DeclareRobustCommand{\cref}[1]{%
- \edef\cref@poorman@text{}%
+ \gdef\cref@poorman@text{}%
\@cref{cref}{#1}%
\cref@writescript{}{\string\cref\string{#1\string}}}
\DeclareRobustCommand{\Cref}[1]{%
- \edef\cref@poorman@text{}%
+ \gdef\cref@poorman@text{}%
\@cref{Cref}{#1}%
\cref@writescript{}{\string\Cref\string{#1\string}}}
\DeclareRobustCommand{\crefrange}[2]{%
- \edef\cref@poorman@text{}%
+ \gdef\cref@poorman@text{}%
\@setcrefrange{#1}{#2}{cref}{}%
\cref@writescript{}{%
\string\crefrange\string{#1\string}\string{#2\string}}}
\DeclareRobustCommand{\Crefrange}[2]{%
- \edef\cref@poorman@text{}%
+ \gdef\cref@poorman@text{}%
\@setcrefrange{#1}{#2}{Cref}{}%
\cref@writescript{}{%
\string\Crefrange\string{#1\string}\string{#2\string}}}
+ \DeclareRobustCommand{\cpageref}[1]{%
+ \gdef\cref@poorman@text{}%
+ \@cpageref{cref}{#1}{\@setcpageref}{\@setcpagerefrange}%
+ \cref@writescript{}{\string\cpageref\string{#1\string}}}
+ \DeclareRobustCommand{\Cpageref}[1]{%
+ \gdef\cref@poorman@text{}%
+ \@cpageref{Cref}{#1}{\@setcpageref}{\@setcpagerefrange}%
+ \cref@writescript{}{\string\Cpageref\string{#1\string}}}
+ \DeclareRobustCommand{\cpagerefrange}[2]{%
+ \gdef\cref@poorman@text{}%
+ \@setcpagerefrange{#1}{#2}{cref}{}%
+ \cref@writescript{}{%
+ \string\cpagerefrange\string{#1\string}\string{#2\string}}}
+ \DeclareRobustCommand{\Cpagerefrange}[2]{%
+ \gdef\cref@poorman@text{}%
+ \@setcpagerefrange{#1}{#2}{Cref}{}%
+ \cref@writescript{}{%
+ \string\Cpagerefrange\string{#1\string}\string{#2\string}}}
+ \DeclareRobustCommand{\labelcref}[1]{%
+ \gdef\cref@poorman@text{}%
+ \@cref{labelcref}{#1}%
+ \cref@writescript{}{\string\labelcref\string{#1\string}}}
+ \DeclareRobustCommand{\labelcpageref}[1]{%
+ \gdef\cref@poorman@text{}%
+ \@cpageref{labelcref}{#1}{\@setcpageref}{\@setcpagerefrange}%
+ \cref@writescript{}{\string\labelcpageref\string{#1\string}}}
\fi% end of test for hyperref
- \@ifpackageloaded{varioref}{%
- \AtBeginDocument{%
- \if@cref@legacyvarioref%
- \DeclareRobustCommand{\vref}{%
- \@ifstar{\cref@vrefstar{cref}}{\cref@vref{cref}}}
- \def\cref@vrefstar#1#2{%
- \@crefstarredtrue\cref@vref{#1}{#2}\@crefstarredfalse}
- \fi%
- \def\cref@vref#1#2{%
- \gdef\cref@poorman@text{}%
- \if@cref@legacyvarioref%
- \leavevmode\unskip\vref@space%
- \fi%
- \begingroup%
- \let\if@tmp\if@crefstarred%
- \if@cref@legacyvarioref\@crefstarredfalse\fi%
- \@cref{#1}{#2} % space here is deliberate
- \let\if@crefstarred\if@tmp%
- \def\@tempstack{#2,\@nil}%
- \cref@stack@topandbottom{\@tempstack}{\@firstref}{\@lastref}%
- \ifx\@lastref\@empty%
- \vpageref[\unskip]{#2}%
- \g@addto@macro\cref@poorman@text{ \vpageref[\unskip]{#2}}%
- \else%
- \g@addto@macro\cref@poorman@text{ }%
- \edef\@tempa{{\@firstref}{\@lastref}}%
- \expandafter\def\expandafter\@tempa\expandafter{%
- \expandafter[\expandafter\unskip\expandafter]%
- \@tempa}%
- \expandafter\vpagerefrange\@tempa%
- \expandafter\g@addto@macro\expandafter\cref@poorman@text%
- \expandafter{\expandafter\vpagerefrange\@tempa}%
- \fi%
- \def\@tempa##1##2\@nil{%
- \if##1c%
- \if@crefstarred%
- \cref@writescript{}{\string\vref*\string{#2\string}}%
- \else%
- \cref@writescript{}{\string\vref\string{#2\string}}%
- \fi%
- \else%
- \if@crefstarred%
- \cref@writescript{}{\string\Vref*\string{#2\string}}%
- \else%
- \cref@writescript{}{\string\Vref\string{#2\string}}%
- \fi%
- \fi}%
- \@tempa#1\@nil%
- \endgroup}
- \def\cref@vrefrange#1#2#3{%
- \gdef\cref@poorman@text{}%
- \@setcrefrange{#2}{#3}{#1}{} \vpagerefrange[\unskip]{#2}{#3}%
- \g@addto@macro\cref@poorman@text%
- { \vpagerefrange[\unskip]{#2}{#3}}%
- \def\@tempa##1##2\@nil{%
- \if##1c%
- \if@crefstarred%
- \cref@writescript{}{%
- \string\vrefrange*\string{#2\string}\string{#3\string}}%
- \else%
- \cref@writescript{}{%
- \string\vrefrange\string{#2\string}\string{#3\string}}%
- \fi%
- \else%
- \if@crefstarred%
- \cref@writescript{}{%
- \string\Vrefrange*\string{#2\string}\string{#3\string}}%
- \else%
- \cref@writescript{}{%
- \string\Vrefrange\string{#2\string}\string{#3\string}}%
- \fi%
- \fi}%
- \@tempa#1\@nil}
- \def\cref@fullref#1#2{%
- \gdef\cref@poorman@text{}%
- \begingroup%
- \@cref{#1}{#2} % space here is deliberate
- \def\@tempstack{#2,\@nil}%
- \cref@stack@topandbottom{\@tempstack}{\@firstref}{\@lastref}%
- \ifx\@lastref\@empty%
- \reftextfaraway{#2}%
- \def\@pageref{\reftextfaraway{#1}}%
- \else%
- \expandafter\vrefpagenum\expandafter%
- \@tempa\expandafter{\@firstref}%
- \expandafter\vrefpagenum\expandafter%
- \@tempb\expandafter{\@lastref}%
- \ifx\@tempa\@tempb%
- \expandafter\reftextfaraway\expandafter{\@firstref}%
- \expandafter\def\expandafter\@pageref\expandafter{%
- \expandafter\reftextfaraway\expandafter{\@firstref}}%
- \else%
- \edef\@tempa{{\@firstref}{\@lastref}}%
- \expandafter\reftextpagerange\@tempa%
- \expandafter\def\expandafter\@pageref\expandafter{%
- \expandafter\reftextpagerange\@tempa}%
- \fi%
- \fi%
- \g@addto@macro\cref@poorman@text{ }%
- \expandafter\g@addto@macro\expandafter\cref@poorman@text%
- \expandafter{\@pageref}%
- \def\@tempa##1##2\@nil{%
- \if##1c%
- \if@crefstarred%
- \cref@writescript{}{\string\fullref*\string{#2\string}}%
- \else%
- \cref@writescript{}{\string\fullref\string{#2\string}}%
- \fi%
- \else%
- \if@crefstarred%
- \cref@writescript{}{\string\Fullref*\string{#2\string}}%
- \else%
- \cref@writescript{}{\string\Fullref\string{#2\string}}%
- \fi%
- \fi}%
- \@tempa#1\@nil%
- \endgroup}
- }% end of \AtBeginDocument
- }{}% end of \@ifpackageloaded{varioref}
+ \DeclareRobustCommand{\namecref}[1]{%
+ \gdef\cref@poorman@text{}%
+ \@setnamecref{cref}{#1}{}{}%
+ \cref@writescript{}{\string\namecref\string{#1\string}}}
+ \DeclareRobustCommand{\nameCref}[1]{%
+ \gdef\cref@poorman@text{}%
+ \@setnamecref{Cref}{#1}{}{}%
+ \cref@writescript{}{\string\nameCref\string{#1\string}}}
+ \DeclareRobustCommand{\lcnamecref}[1]{%
+ \gdef\cref@poorman@text{}%
+ \@setnamecref{Cref}{#1}{}{\MakeLowercase}%
+ \cref@writescript{}{\string\lcnamecref\string{#1\string}}}
+ \DeclareRobustCommand{\namecrefs}[1]{%
+ \gdef\cref@poorman@text{}%
+ \@setnamecref{cref}{#1}{@plural}{}%
+ \cref@writescript{}{\string\namecrefs\string{#1\string}}}
+ \DeclareRobustCommand{\nameCrefs}[1]{%
+ \gdef\cref@poorman@text{}%
+ \@setnamecref{Cref}{#1}{@plural}{}%
+ \cref@writescript{}{\string\nameCrefs\string{#1\string}}}
+ \DeclareRobustCommand{\lcnamecrefs}[1]{%
+ \gdef\cref@poorman@text{}%
+ \@setnamecref{Cref}{#1}{@plural}{\MakeLowercase}%
+ \cref@writescript{}{\string\lcnamecrefs\string{#1\string}}}
\def\@setcref@pairgroupconjunction{%
\crefpairgroupconjunction%
\expandafter\g@addto@macro\expandafter\cref@poorman@text%
@@ -2879,50 +3353,174 @@
\creflastgroupconjunction%
\expandafter\g@addto@macro\expandafter\cref@poorman@text%
\expandafter{\creflastgroupconjunction}}
+ \let\old@@setcref\@@setcref
+ \let\old@@setcrefrange\@@setcrefrange
+ \let\old@@setcpageref\@@setcpageref
+ \let\old@@setcpagerefrange\@@setcpagerefrange
\if@cref@hyperrefloaded\relax% hyperref loaded
\def\@@setcref#1#2{%
- \cref@getlabel{#2}{\@templabel}%
+ \old@@setcref{#1}{#2}%
\if@crefstarred%
- #1{\@templabel}{}{}%
\expandafter\g@addto@macro\expandafter\cref@poorman@text%
\expandafter{#1{\ref*{#2}}{}{}}%
\else%
- \edef\@templink{\cref@hyperref{#2}}%
- #1{\@templabel}{\hyper@linkstart{link}{\@templink}}%
- {\hyper@linkend}%
\expandafter\g@addto@macro\expandafter\cref@poorman@text%
\expandafter{#1{\ref{#2}}{}{}}%
\fi}
\def\@@setcrefrange#1#2#3{%
- \cref@getlabel{#2}{\@labela}%
- \cref@getlabel{#3}{\@labelb}%
+ \old@@setcrefrange{#1}{#2}{#3}%
\if@crefstarred%
- #1{\@labela}{\@labelb}{}{}{}{}%
\expandafter\g@addto@macro\expandafter\cref@poorman@text%
\expandafter{#1{\ref*{#2}}{\ref*{#3}}{}{}{}{}}%
\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}%
\expandafter\g@addto@macro\expandafter\cref@poorman@text%
\expandafter{#1{\ref{#2}}{\ref{#3}}{}{}{}{}}%
\fi}
+ \def\@@setcpageref#1#2{%
+ \old@@setcpageref{#1}{#2}%
+ \if@crefstarred%
+ \expandafter\g@addto@macro\expandafter\cref@poorman@text%
+ \expandafter{#1{\pageref*{#2}}{}{}}%
+ \else%
+ \expandafter\g@addto@macro\expandafter\cref@poorman@text%
+ \expandafter{#1{\pageref{#2}}{}{}}%
+ \fi}
+ \def\@@setcpagerefrange#1#2#3{%
+ \old@@setcpagerefrange{#1}{#2}{#3}%
+ \if@crefstarred%
+ \expandafter\g@addto@macro\expandafter\cref@poorman@text%
+ \expandafter{#1{\pageref*{#2}}{\pageref*{#3}}{}{}{}{}}%
+ \else%
+ \expandafter\g@addto@macro\expandafter\cref@poorman@text%
+ \expandafter{#1{\pageref{#2}}{\pageref{#3}}{}{}{}{}}%
+ \fi}
\else% hyperref not loaded
- \let\old@@setcref\@@setcref%
- \let\old@@setcrefrange\@@setcrefrange%
\def\@@setcref#1#2{%
\old@@setcref{#1}{#2}%
\expandafter\g@addto@macro\expandafter{%
- \expandafter\cref@poorman@text\expandafter}\expandafter{%
- #1{\ref{#2}}{}{}}}
+ \expandafter\cref@poorman@text\expandafter}%
+ \expandafter{#1{\ref{#2}}{}{}}}
\def\@@setcrefrange#1#2#3{%
\old@@setcrefrange{#1}{#2}{#3}%
\expandafter\g@addto@macro%
\expandafter{\expandafter\cref@poorman@text\expandafter}%
\expandafter{#1{\ref{#2}}{\ref{#3}}{}{}{}{}}}
+ \def\@@setcpageref#1#2{%
+ \old@@setcpageref{#1}{#2}%
+ \expandafter\g@addto@macro\expandafter{%
+ \expandafter\cref@poorman@text\expandafter}%
+ \expandafter{#1{\pageref{#2}}{}{}}}
+ \def\@@setcpagerefrange#1#2#3{%
+ \old@@setcpagerefrange{#1}{#2}{#3}%
+ \expandafter\g@addto@macro%
+ \expandafter{\expandafter\cref@poorman@text\expandafter}%
+ \expandafter{#1{\pageref{#2}}{\pageref{#3}}{}{}{}{}}}
\fi% end of hyperref test
+ \let\old@@setnamecref\@@setnamecref
+ \def\@@setnamecref#1#2{%
+ \old@@setnamecref{#1}{#2}%
+ \edef\@tempa{#1}%
+ \def\@tempb{#2}%
+ \expandafter\expandafter\expandafter\g@addto@macro%
+ \expandafter\expandafter\expandafter{%
+ \expandafter\expandafter\expandafter\cref@poorman@text%
+ \expandafter\expandafter\expandafter}%
+ \expandafter\expandafter\expandafter{\expandafter\@tempb\@tempa}}
+ \@ifpackageloaded{varioref}{%
+ \AtBeginDocument{%
+ \def\@@vpageref#1[#2]#3{%
+ \gdef\cref@poorman@text{}%
+ \cref@@vpageref{#1}[#2]{#3}%
+ \cref@writescript{}{\string\vpageref\string{#3\string}}}
+ \let\old@cref@vref\cref@vref
+ \def\cref@vref#1#2{%
+ \gdef\cref@poorman@text{}%
+ \old@cref@vref{#1}{#2}%
+ \def\@tempa##1##2\@nil{%
+ \if##1c%
+ \if@crefstarred%
+ \cref@writescript{}{\string\vref*\string{#2\string}}%
+ \else%
+ \cref@writescript{}{\string\vref\string{#2\string}}%
+ \fi%
+ \else%
+ \if@crefstarred%
+ \cref@writescript{}{\string\Vref*\string{#2\string}}%
+ \else%
+ \cref@writescript{}{\string\Vref\string{#2\string}}%
+ \fi%
+ \fi}%
+ \@tempa#1\@nil}
+ \let\old@cref@fullref\cref@fullref
+ \def\cref@fullref#1#2{%
+ \gdef\cref@poorman@text{}%
+ \old@cref@fullref{#1}{#2}%
+ \def\@tempa##1##2\@nil{%
+ \if##1c%
+ \if@crefstarred%
+ \cref@writescript{}{\string\fullref*\string{#2\string}}%
+ \else%
+ \cref@writescript{}{\string\fullref\string{#2\string}}%
+ \fi%
+ \else%
+ \if@crefstarred%
+ \cref@writescript{}{\string\Fullref*\string{#2\string}}%
+ \else%
+ \cref@writescript{}{\string\Fullref\string{#2\string}}%
+ \fi%
+ \fi}%
+ \@tempa#1\@nil}
+ \let\old@cref@vrefrange\cref@vrefrange
+ \def\cref@vrefrange#1#2#3{%
+ \gdef\cref@poorman@text{}%
+ \old@cref@vrefrange{#1}{#2}{#3}%
+ \def\@tempa##1##2\@nil{%
+ \if##1c%
+ \if@crefstarred%
+ \cref@writescript{}{%
+ \string\vrefrange*\string{#2\string}\string{#3\string}}%
+ \else%
+ \cref@writescript{}{%
+ \string\vrefrange\string{#2\string}\string{#3\string}}%
+ \fi%
+ \else%
+ \if@crefstarred%
+ \cref@writescript{}{%
+ \string\Vrefrange*\string{#2\string}\string{#3\string}}%
+ \else%
+ \cref@writescript{}{%
+ \string\Vrefrange\string{#2\string}\string{#3\string}}%
+ \fi%
+ \fi}%
+ \@tempa#1\@nil}
+ \def\@@setvpageref#1[#2]#3{%
+ \cref@old@@vpageref{#1}[#2]{#3}%
+ \g@addto@macro\cref@poorman@text{\vpageref{#3}}}
+ \def\@@setvpagerefrange[#1]#2#3{%
+ \vpagerefrange[#1]{#2}{#3}%
+ \g@addto@macro\cref@poorman@text{\vpagerefrange{#2}{#3}}}
+ \def\@@setfullpageref#1{%
+ \reftextfaraway{#1}%
+ \g@addto@macro\cref@poorman@text{\reftextfaraway{#1}}}
+ \def\@@setfullpagerefrange#1#2{%
+ \reftextpagerange{#1}{#2}%
+ \g@addto@macro\cref@poorman@text{\reftextpagerange{#1}{#2}}}
+ \def\@setcref@space{ % space here is deliberate
+ \g@addto@macro\cref@poorman@text{ }}
+ \def\@setcref@pairconjunction{%
+ \crefpairconjunction%
+ \expandafter\g@addto@macro\expandafter\cref@poorman@text%
+ \expandafter{\crefpairconjunction}}
+ \def\@setcref@middleconjunction{%
+ \crefmiddleconjunction%
+ \expandafter\g@addto@macro\expandafter\cref@poorman@text%
+ \expandafter{\crefmiddleconjunction}}
+ \def\@setcref@lastconjunction{%
+ \creflastconjunction%
+ \expandafter\g@addto@macro\expandafter\cref@poorman@text%
+ \expandafter{\creflastconjunction}}
+ }% end of \AtBeginDocument
+ }{}% end of \@ifpackageloaded{varioref}
}% end of poorman option
\newif\if@cref@sort
\newif\if@cref@compress
@@ -2952,9 +3550,16 @@
\DeclareOption{capitalize}{%
\PackageInfo{cleveref}{always capitalise cross-reference names}
\@cref@capitalisetrue}
-\crefdefaultlabelformat{#2#1#3}
-\creflabelformat{equation}{\textup{(#2#1#3)}}
-\@labelcrefdefinedefaultformats
+\newif\if@cref@nameinlink
+\@cref@nameinlinkfalse
+\DeclareOption{nameinlink}{%
+ \PackageInfo{cleveref}{include cross-reference names in hyperlinks}
+ \@cref@nameinlinktrue}
+\newif\if@cref@abbrev
+\@cref@abbrevtrue
+\DeclareOption{noabbrev}{%
+ \PackageInfo{cleveref}{no abbreviation of names}
+ \@cref@abbrevfalse}
\def\cref@addto#1#2{%
\@temptokena{#2}%
\ifx#1\undefined%
@@ -2978,15 +3583,17 @@
\def\crefpairgroupconjunction@preamble{ and\nobreakspace}%
\def\crefmiddlegroupconjunction@preamble{, }%
\def\creflastgroupconjunction@preamble{, and\nobreakspace}%
+ %
\Crefname@preamble{equation}{Equation}{Equations}%
+ \Crefname@preamble{figure}{Figure}{Figures}%
+ \Crefname@preamble{table}{Table}{Tables}%
+ \Crefname@preamble{page}{Page}{Pages}%
\Crefname@preamble{part}{Part}{Parts}%
\Crefname@preamble{chapter}{Chapter}{Chapters}%
\Crefname@preamble{section}{Section}{Sections}%
\Crefname@preamble{appendix}{Appendix}{Appendices}%
\Crefname@preamble{enumi}{Item}{Items}%
\Crefname@preamble{footnote}{Footnote}{Footnotes}%
- \Crefname@preamble{figure}{Figure}{Figures}%
- \Crefname@preamble{table}{Table}{Tables}%
\Crefname@preamble{theorem}{Theorem}{Theorems}%
\Crefname@preamble{lemma}{Lemma}{Lemmas}%
\Crefname@preamble{corollary}{Corollary}{Corollaries}%
@@ -2999,16 +3606,23 @@
\Crefname@preamble{algorithm}{Algorithm}{Algorithms}%
\Crefname@preamble{listing}{Listing}{Listings}%
\Crefname@preamble{line}{Line}{Lines}%
- \if@cref@capitalise%
- \crefname@preamble{equation}{Eq.}{Eqs.}%
+ %
+ \if@cref@capitalise% capitalise set
+ \if@cref@abbrev%
+ \crefname@preamble{equation}{Eq.}{Eqs.}%
+ \crefname@preamble{figure}{Fig.}{Figs.}%
+ \else%
+ \crefname@preamble{equation}{Equation}{Equations}%
+ \crefname@preamble{figure}{Figure}{Figures}%
+ \fi%
+ \crefname@preamble{page}{Page}{Pages}%
+ \crefname@preamble{table}{Table}{Tables}%
\crefname@preamble{part}{Part}{Parts}%
\crefname@preamble{chapter}{Chapter}{Chapters}%
\crefname@preamble{section}{Section}{Sections}%
\crefname@preamble{appendix}{Appendix}{Appendices}%
\crefname@preamble{enumi}{Item}{Items}%
\crefname@preamble{footnote}{Footnote}{Footnotes}%
- \crefname@preamble{figure}{Fig.}{Figs.}%
- \crefname@preamble{table}{Table}{Tables}%
\crefname@preamble{theorem}{Theorem}{Theorems}%
\crefname@preamble{lemma}{Lemma}{Lemmas}%
\crefname@preamble{corollary}{Corollary}{Corollaries}%
@@ -3021,16 +3635,23 @@
\crefname@preamble{algorithm}{Algorithm}{Algorithms}%
\crefname@preamble{listing}{Listing}{Listings}%
\crefname@preamble{line}{Line}{Lines}%
- \else%
- \crefname@preamble{equation}{eq.}{eqs.}%
+ %
+ \else% capitalise unset
+ \if@cref@abbrev%
+ \crefname@preamble{equation}{eq.}{eqs.}%
+ \crefname@preamble{figure}{fig.}{figs.}%
+ \else%
+ \crefname@preamble{equation}{equation}{equations}%
+ \crefname@preamble{figure}{figure}{figures}%
+ \fi%
+ \crefname@preamble{page}{page}{pages}%
+ \crefname@preamble{table}{table}{tables}%
\crefname@preamble{part}{part}{parts}%
\crefname@preamble{chapter}{chapter}{chapters}%
\crefname@preamble{section}{section}{sections}%
\crefname@preamble{appendix}{appendix}{appendices}%
\crefname@preamble{enumi}{item}{items}%
\crefname@preamble{footnote}{footnote}{footnotes}%
- \crefname@preamble{figure}{fig.}{figs.}%
- \crefname@preamble{table}{table}{tables}%
\crefname@preamble{theorem}{theorem}{theorems}%
\crefname@preamble{lemma}{lemma}{lemmas}%
\crefname@preamble{corollary}{corollary}{corollaries}%
@@ -3055,7 +3676,13 @@
\renewcommand{\crefpairgroupconjunction}{ and\nobreakspace}%
\renewcommand{\crefmiddlegroupconjunction}{, }%
\renewcommand{\creflastgroupconjunction}{, and\nobreakspace}%
+ %
\Crefname{equation}{Equation}{Equations}%
+ \Crefname{figure}{Figure}{Figures}%
+ \Crefname{subfigure}{Figure}{Figures}%
+ \Crefname{table}{Table}{Tables}%
+ \Crefname{subtable}{Table}{Tables}%
+ \Crefname{page}{Page}{Pages}%
\Crefname{part}{Part}{Parts}%
\Crefname{chapter}{Chapter}{Chapters}%
\Crefname{section}{Section}{Sections}%
@@ -3071,10 +3698,6 @@
\Crefname{enumiv}{Item}{Items}%
\Crefname{enumv}{Item}{Items}%
\Crefname{footnote}{Footnote}{Footnotes}%
- \Crefname{figure}{Figure}{Figures}%
- \Crefname{subfigure}{Figure}{Figures}%
- \Crefname{table}{Table}{Tables}%
- \Crefname{subtable}{Table}{Tables}%
\Crefname{theorem}{Theorem}{Theorems}%
\Crefname{lemma}{Lemma}{Lemmas}%
\Crefname{corollary}{Corollary}{Corollaries}%
@@ -3087,8 +3710,20 @@
\Crefname{algorithm}{Algorithm}{Algorithms}%
\Crefname{listing}{Listing}{Listings}%
\Crefname{line}{Line}{Lines}%
- \if@cref@capitalise%
- \crefname{equation}{Eq.}{Eqs.}%
+ %
+ \if@cref@capitalise% capitalise set
+ \if@cref@abbrev%
+ \crefname{equation}{Eq.}{Eqs.}%
+ \crefname{figure}{Fig.}{Figs.}%
+ \crefname{subfigure}{Fig.}{Figs.}%
+ \else%
+ \crefname{equation}{Equation}{Equations}%
+ \crefname{figure}{Figure}{Figures}%
+ \crefname{subfigure}{Figure}{Figures}%
+ \fi%
+ \crefname{page}{Page}{Pages}%
+ \crefname{table}{Table}{Tables}%
+ \crefname{subtable}{Table}{Tables}%
\crefname{part}{Part}{Parts}%
\crefname{chapter}{Chapter}{Chapters}%
\crefname{section}{Section}{Sections}%
@@ -3104,10 +3739,6 @@
\crefname{enumiv}{Item}{Items}%
\crefname{enumv}{Item}{Items}%
\crefname{footnote}{Footnote}{Footnotes}%
- \crefname{figure}{Fig.}{Figs.}%
- \crefname{subfigure}{Fig.}{Figs.}%
- \crefname{table}{Table}{Tables}%
- \crefname{subtable}{Table}{Tables}%
\crefname{theorem}{Theorem}{Theorems}%
\crefname{lemma}{Lemma}{Lemmas}%
\crefname{corollary}{Corollary}{Corollaries}%
@@ -3120,8 +3751,20 @@
\crefname{algorithm}{Algorithm}{Algorithms}%
\crefname{listing}{Listing}{Listings}%
\crefname{line}{Line}{Lines}%
- \else%
- \crefname{equation}{eq.}{eqs.}%
+ %
+ \else% capitalise unset
+ \if@cref@abbrev%
+ \crefname{equation}{eq.}{eqs.}%
+ \crefname{figure}{fig.}{figs.}%
+ \crefname{subfigure}{fig.}{figs.}%
+ \else%
+ \crefname{equation}{equation}{equations}%
+ \crefname{figure}{figure}{figures}%
+ \crefname{subfigure}{figure}{figures}%
+ \fi%
+ \crefname{table}{table}{tables}%
+ \crefname{subtable}{table}{tables}%
+ \crefname{page}{page}{pages}%
\crefname{part}{part}{parts}%
\crefname{chapter}{chapter}{chapters}%
\crefname{section}{section}{sections}%
@@ -3137,10 +3780,6 @@
\crefname{enumiv}{item}{items}%
\crefname{enumv}{item}{items}%
\crefname{footnote}{footnote}{footnotes}%
- \crefname{figure}{fig.}{figs.}%
- \crefname{subfigure}{fig.}{figs.}%
- \crefname{table}{table}{tables}%
- \crefname{subtable}{table}{tables}%
\crefname{theorem}{theorem}{theorems}%
\crefname{lemma}{lemma}{lemmas}%
\crefname{corollary}{corollary}{corollaries}%
@@ -3167,18 +3806,20 @@
\def\crefpairgroupconjunction@preamble{ und\nobreakspace}%
\def\crefmiddlegroupconjunction@preamble{, }%
\def\creflastgroupconjunction@preamble{ und\nobreakspace}%
+ %
\Crefname@preamble{equation}{Gleichung}{Gleichungen}%
- \Crefname@preamble{part}{Teil}{Teilen}%
+ \Crefname@preamble{figure}{Abbildung}{Abbildungen}%
+ \Crefname@preamble{table}{Tabelle}{Tabellen}%
+ \Crefname@preamble{page}{Seite}{Seiten}%
+ \Crefname@preamble{part}{Teil}{Teile}%
\Crefname@preamble{chapter}{Kapitel}{Kapitel}%
\Crefname@preamble{section}{Abschnitt}{Abschnitte}%
\Crefname@preamble{appendix}{Anhang}{Anh\"ange}%
\Crefname@preamble{enumi}{Punkt}{Punkte}%
\Crefname@preamble{footnote}{Fu\ss note}{Fu\ss noten}%
- \Crefname@preamble{figure}{Abbildung}{Abbildungen}%
- \Crefname@preamble{table}{Tabelle}{Tabellen}%
- \Crefname@preamble{theorem}{Theorem}{Theoremen}%
+ \Crefname@preamble{theorem}{Theorem}{Theoreme}%
\Crefname@preamble{lemma}{Lemma}{Lemmata}%
- \Crefname@preamble{corollary}{Korollar}{Korollaren}%
+ \Crefname@preamble{corollary}{Korollar}{Korollare}%
\Crefname@preamble{proposition}{Satz}{S\"atze}%
\Crefname@preamble{definition}{Definition}{Definitionen}%
\Crefname@preamble{result}{Ergebnis}{Ergebnisse}%
@@ -3188,51 +3829,29 @@
\Crefname@preamble{algorithm}{Algorithmus}{Algorithmen}%
\Crefname@preamble{listing}{Listing}{Listings}%
\Crefname@preamble{line}{Zeile}{Zeilen}%
- \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}%
- \crefname@preamble{enumi}{Punkt}{Punkte}%
- \crefname@preamble{footnote}{Fu\ss note}{Fu\ss noten}%
- \crefname@preamble{figure}{Abbildung}{Abbildungen}%
- \crefname@preamble{table}{Tabelle}{Tabellen}%
- \crefname@preamble{theorem}{Theorem}{Theoremen}%
- \crefname@preamble{lemma}{Lemma}{Lemmata}%
- \crefname@preamble{corollary}{Korollar}{Korollaren}%
- \crefname@preamble{proposition}{Satz}{S\"atze}%
- \crefname@preamble{definition}{Definition}{Definitionen}%
- \crefname@preamble{result}{Ergebnis}{Ergebnisse}%
- \crefname@preamble{example}{Beispiel}{Beispiele}%
- \crefname@preamble{remark}{Bemerkung}{Bemerkungen}%
- \crefname@preamble{note}{Anmerkung}{Anmerkungen}%
- \crefname@preamble{algorithm}{Algorithmus}{Algorithmen}%
- \crefname@preamble{listing}{Listing}{Listings}%
- \crefname@preamble{line}{Zeile}{Zeilen}%
- \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}%
- \crefname@preamble{enumi}{Punkt}{Punkte}%
- \crefname@preamble{footnote}{Fu\ss note}{Fu\ss noten}%
- \crefname@preamble{figure}{Abbildung}{Abbildungen}%
- \crefname@preamble{table}{Tabelle}{Tabellen}%
- \crefname@preamble{theorem}{Theorem}{Theoremen}%
- \crefname@preamble{lemma}{Lemma}{Lemmata}%
- \crefname@preamble{corollary}{Korollar}{Korollaren}%
- \crefname@preamble{proposition}{Satz}{S\"atze}%
- \crefname@preamble{definition}{Definition}{Definitionen}%
- \crefname@preamble{result}{Ergebnis}{Ergebnisse}%
- \crefname@preamble{example}{Beispiel}{Beispiele}%
- \crefname@preamble{remark}{Bemerkung}{Bemerkungen}%
- \crefname@preamble{note}{Anmerkung}{Anmerkungen}%
- \crefname@preamble{algorithm}{Algorithmus}{Algorithmen}%
- \crefname@preamble{listing}{Listing}{Listings}%
- \crefname@preamble{line}{Zeile}{Zeilen}%
- \fi%
+ %
+ \crefname@preamble{equation}{Gleichung}{Gleichungen}%
+ \crefname@preamble{figure}{Abbildung}{Abbildungen}%
+ \crefname@preamble{table}{Tabelle}{Tabellen}%
+ \crefname@preamble{page}{Seite}{Seiten}%
+ \crefname@preamble{part}{Teil}{Teile}%
+ \crefname@preamble{chapter}{Kapitel}{Kapitel}%
+ \crefname@preamble{section}{Abschnitt}{Abschnitte}%
+ \crefname@preamble{appendix}{Anhang}{Anh\"ange}%
+ \crefname@preamble{enumi}{Punkt}{Punkte}%
+ \crefname@preamble{footnote}{Fu\ss note}{Fu\ss noten}%
+ \crefname@preamble{theorem}{Theorem}{Theoreme}%
+ \crefname@preamble{lemma}{Lemma}{Lemmata}%
+ \crefname@preamble{corollary}{Korollar}{Korollare}%
+ \crefname@preamble{proposition}{Satz}{S\"atze}%
+ \crefname@preamble{definition}{Definition}{Definitionen}%
+ \crefname@preamble{result}{Ergebnis}{Ergebnisse}%
+ \crefname@preamble{example}{Beispiel}{Beispiele}%
+ \crefname@preamble{remark}{Bemerkung}{Bemerkungen}%
+ \crefname@preamble{note}{Anmerkung}{Anmerkungen}%
+ \crefname@preamble{algorithm}{Algorithmus}{Algorithmen}%
+ \crefname@preamble{listing}{Listing}{Listings}%
+ \crefname@preamble{line}{Zeile}{Zeilen}%
\def\cref@language{german}%
\cref@addto\extrasgerman{%
\renewcommand{\crefrangeconjunction}{ bis\nobreakspace}%
@@ -3244,8 +3863,14 @@
\renewcommand{\crefpairgroupconjunction}{ und\nobreakspace}%
\renewcommand{\crefmiddlegroupconjunction}{, }%
\renewcommand{\creflastgroupconjunction}{ und\nobreakspace}%
+ %
\Crefname{equation}{Gleichung}{Gleichungen}%
- \Crefname{part}{Teil}{Teilen}%
+ \Crefname{figure}{Abbildung}{Abbildungen}%
+ \Crefname{subfigure}{Abbildung}{Abbildungen}%
+ \Crefname{table}{Tabelle}{Tabellen}%
+ \Crefname{subtable}{Tabelle}{Tabellen}%
+ \Crefname{page}{Seite}{Seiten}%
+ \Crefname{part}{Teil}{Teile}%
\Crefname{chapter}{Kapitel}{Kapitel}%
\Crefname{section}{Abschnitt}{Abschnitte}%
\Crefname{subsection}{Abschnitt}{Abschnitte}%
@@ -3260,13 +3885,9 @@
\Crefname{enumiv}{Punkt}{Punkte}%
\Crefname{enumv}{Punkt}{Punkte}%
\Crefname{footnote}{Fu\ss note}{Fu\ss noten}%
- \Crefname{figure}{Abbildung}{Abbildungen}%
- \Crefname{subfigure}{Abbildung}{Abbildungen}%
- \Crefname{table}{Tabelle}{Tabellen}%
- \Crefname{subtable}{Tabelle}{Tabellen}%
- \Crefname{theorem}{Theorem}{Theoremen}%
+ \Crefname{theorem}{Theorem}{Theoreme}%
\Crefname{lemma}{Lemma}{Lemmata}%
- \Crefname{corollary}{Korollar}{Korollaren}%
+ \Crefname{corollary}{Korollar}{Korollare}%
\Crefname{proposition}{Satz}{S\"atze}%
\Crefname{definition}{Definition}{Definitionen}%
\Crefname{result}{Ergebnis}{Ergebnisse}%
@@ -3276,73 +3897,40 @@
\Crefname{algorithm}{Algorithmus}{Algorithmen}%
\Crefname{listing}{Listing}{Listings}%
\Crefname{line}{Zeile}{Zeilen}%
- \if@cref@capitalise%
- \crefname{equation}{Gleichung}{Gleichungen}%
- \crefname{part}{Teil}{Teilen}%
- \crefname{chapter}{Kapitel}{Kapitel}%
- \crefname{section}{Abschnitt}{Abschnitte}%
- \crefname{subsection}{Abschnitt}{Abschnitte}%
- \crefname{subsubsection}{Abschnitt}{Abschnitte}%
- \crefname{appendix}{Anhang}{Anh\"ange}%
- \crefname{subappendix}{Anhang}{Anh\"ange}%
- \crefname{subsubappendix}{Anhang}{Anh\"ange}%
- \crefname{subsubsubappendix}{Anhang}{Anh\"ange}%
- \crefname{enumi}{Punkt}{Punkte}%
- \crefname{enumii}{Punkt}{Punkte}%
- \crefname{enumiii}{Punkt}{Punkte}%
- \crefname{enumiv}{Punkt}{Punkte}%
- \crefname{enumv}{Punkt}{Punkte}%
- \crefname{footnote}{Fu\ss note}{Fu\ss noten}%
- \crefname{figure}{Abbildung}{Abbildungen}%
- \crefname{subfigure}{Abbildung}{Abbildungen}%
- \crefname{table}{Tabelle}{Tabellen}%
- \crefname{subtable}{Tabelle}{Tabellen}%
- \crefname{theorem}{Theorem}{Theoremen}%
- \crefname{lemma}{Lemma}{Lemmata}%
- \crefname{corollary}{Korollar}{Korollaren}%
- \crefname{proposition}{Satz}{S\"atze}%
- \crefname{definition}{Definition}{Definitionen}%
- \crefname{result}{Ergebnis}{Ergebnisse}%
- \crefname{example}{Beispiel}{Beispiele}%
- \crefname{remark}{Bemerkung}{Bemerkungen}%
- \crefname{note}{Anmerkung}{Anmerkungen}%
- \crefname{algorithm}{Algorithmus}{Algorithmen}%
- \crefname{listing}{Listing}{Listings}%
- \crefname{line}{Zeile}{Zeilen}%
- \else%
- \crefname{equation}{Gleichung}{Gleichungen}%
- \crefname{part}{Teil}{Teilen}%
- \crefname{chapter}{Kapitel}{Kapitel}%
- \crefname{section}{Abschnitt}{Abschnitte}%
- \crefname{subsection}{Abschnitt}{Abschnitte}%
- \crefname{subsubsection}{Abschnitt}{Abschnitte}%
- \crefname{appendix}{Anhang}{Anh\"ange}%
- \crefname{subappendix}{Anhang}{Anh\"ange}%
- \crefname{subsubappendix}{Anhang}{Anh\"ange}%
- \crefname{subsubsubappendix}{Anhang}{Anh\"ange}%
- \crefname{enumi}{Punkt}{Punkte}%
- \crefname{enumii}{Punkt}{Punkte}%
- \crefname{enumiii}{Punkt}{Punkte}%
- \crefname{enumiv}{Punkt}{Punkte}%
- \crefname{enumv}{Punkt}{Punkte}%
- \crefname{footnote}{Fu\ss note}{Fu\ss noten}%
- \crefname{figure}{Abbildung}{Abbildungen}%
- \crefname{subfigure}{Abbildung}{Abbildungen}%
- \crefname{table}{Tabelle}{Tabellen}%
- \crefname{subtable}{Tabelle}{Tabellen}%
- \crefname{theorem}{Theorem}{Theoremen}%
- \crefname{lemma}{Lemma}{Lemmata}%
- \crefname{corollary}{Korollar}{Korollaren}%
- \crefname{proposition}{Satz}{S\"atze}%
- \crefname{definition}{Definition}{Definitionen}%
- \crefname{result}{Ergebnis}{Ergebnisse}%
- \crefname{example}{Beispiel}{Beispiele}%
- \crefname{remark}{Bemerkung}{Bemerkungen}%
- \crefname{note}{Anmerkung}{Anmerkungen}%
- \crefname{algorithm}{Algorithmus}{Algorithmen}%
- \crefname{listing}{Listing}{Listings}%
- \crefname{line}{Zeile}{Zeilen}%
- \fi%
+ %
+ \crefname{equation}{Gleichung}{Gleichungen}%
+ \crefname{figure}{Abbildung}{Abbildungen}%
+ \crefname{subfigure}{Abbildung}{Abbildungen}%
+ \crefname{table}{Tabelle}{Tabellen}%
+ \crefname{subtable}{Tabelle}{Tabellen}%
+ \crefname{page}{Seite}{Seiten}%
+ \crefname{part}{Teil}{Teile}%
+ \crefname{chapter}{Kapitel}{Kapitel}%
+ \crefname{section}{Abschnitt}{Abschnitte}%
+ \crefname{subsection}{Abschnitt}{Abschnitte}%
+ \crefname{subsubsection}{Abschnitt}{Abschnitte}%
+ \crefname{appendix}{Anhang}{Anh\"ange}%
+ \crefname{subappendix}{Anhang}{Anh\"ange}%
+ \crefname{subsubappendix}{Anhang}{Anh\"ange}%
+ \crefname{subsubsubappendix}{Anhang}{Anh\"ange}%
+ \crefname{enumi}{Punkt}{Punkte}%
+ \crefname{enumii}{Punkt}{Punkte}%
+ \crefname{enumiii}{Punkt}{Punkte}%
+ \crefname{enumiv}{Punkt}{Punkte}%
+ \crefname{enumv}{Punkt}{Punkte}%
+ \crefname{footnote}{Fu\ss note}{Fu\ss noten}%
+ \crefname{theorem}{Theorem}{Theoreme}%
+ \crefname{lemma}{Lemma}{Lemmata}%
+ \crefname{corollary}{Korollar}{Korollare}%
+ \crefname{proposition}{Satz}{S\"atze}%
+ \crefname{definition}{Definition}{Definitionen}%
+ \crefname{result}{Ergebnis}{Ergebnisse}%
+ \crefname{example}{Beispiel}{Beispiele}%
+ \crefname{remark}{Bemerkung}{Bemerkungen}%
+ \crefname{note}{Anmerkung}{Anmerkungen}%
+ \crefname{algorithm}{Algorithmus}{Algorithmen}%
+ \crefname{listing}{Listing}{Listings}%
+ \crefname{line}{Zeile}{Zeilen}%
}}}
\DeclareOption{ngerman}{%
\PackageInfo{cleveref}{loaded `ngerman' language definitions}
@@ -3359,8 +3947,14 @@
\renewcommand{\crefpairgroupconjunction}{ und\nobreakspace}%
\renewcommand{\crefmiddlegroupconjunction}{, }%
\renewcommand{\creflastgroupconjunction}{ und\nobreakspace}%
+ %
\Crefname{equation}{Gleichung}{Gleichungen}%
- \Crefname{part}{Teil}{Teilen}%
+ \Crefname{figure}{Abbildung}{Abbildungen}%
+ \Crefname{subfigure}{Abbildung}{Abbildungen}%
+ \Crefname{table}{Tabelle}{Tabellen}%
+ \Crefname{subtable}{Tabelle}{Tabellen}%
+ \Crefname{page}{Seite}{Seiten}%
+ \Crefname{part}{Teil}{Teile}%
\Crefname{chapter}{Kapitel}{Kapitel}%
\Crefname{section}{Abschnitt}{Abschnitte}%
\Crefname{subsection}{Abschnitt}{Abschnitte}%
@@ -3375,13 +3969,9 @@
\Crefname{enumiv}{Punkt}{Punkte}%
\Crefname{enumv}{Punkt}{Punkte}%
\Crefname{footnote}{Fu\ss note}{Fu\ss noten}%
- \Crefname{figure}{Abbildung}{Abbildungen}%
- \Crefname{subfigure}{Abbildung}{Abbildungen}%
- \Crefname{table}{Tabelle}{Tabellen}%
- \Crefname{subtable}{Tabelle}{Tabellen}%
- \Crefname{theorem}{Theorem}{Theoremen}%
+ \Crefname{theorem}{Theorem}{Theoreme}%
\Crefname{lemma}{Lemma}{Lemmata}%
- \Crefname{corollary}{Korollar}{Korollaren}%
+ \Crefname{corollary}{Korollar}{Korollare}%
\Crefname{proposition}{Satz}{S\"atze}%
\Crefname{definition}{Definition}{Definitionen}%
\Crefname{result}{Ergebnis}{Ergebnisse}%
@@ -3391,73 +3981,40 @@
\Crefname{algorithm}{Algorithmus}{Algorithmen}%
\Crefname{listing}{Listing}{Listings}%
\Crefname{line}{Zeile}{Zeilen}%
- \if@cref@capitalise%
- \crefname{equation}{Gleichung}{Gleichungen}%
- \crefname{part}{Teil}{Teilen}%
- \crefname{chapter}{Kapitel}{Kapitel}%
- \crefname{section}{Abschnitt}{Abschnitte}%
- \crefname{subsection}{Abschnitt}{Abschnitte}%
- \crefname{subsubsection}{Abschnitt}{Abschnitte}%
- \crefname{appendix}{Anhang}{Anh\"ange}%
- \crefname{subappendix}{Anhang}{Anh\"ange}%
- \crefname{subsubappendix}{Anhang}{Anh\"ange}%
- \crefname{subsubsubappendix}{Anhang}{Anh\"ange}%
- \crefname{enumi}{Punkt}{Punkte}%
- \crefname{enumii}{Punkt}{Punkte}%
- \crefname{enumiii}{Punkt}{Punkte}%
- \crefname{enumiv}{Punkt}{Punkte}%
- \crefname{enumv}{Punkt}{Punkte}%
- \crefname{footnote}{Fu\ss note}{Fu\ss noten}%
- \crefname{figure}{Abbildung}{Abbildungen}%
- \crefname{subfigure}{Abbildung}{Abbildungen}%
- \crefname{table}{Tabelle}{Tabellen}%
- \crefname{subtable}{Tabelle}{Tabellen}%
- \crefname{theorem}{Theorem}{Theoremen}%
- \crefname{lemma}{Lemma}{Lemmata}%
- \crefname{corollary}{Korollar}{Korollaren}%
- \crefname{proposition}{Satz}{S\"atze}%
- \crefname{definition}{Definition}{Definitionen}%
- \crefname{result}{Ergebnis}{Ergebnisse}%
- \crefname{example}{Beispiel}{Beispiele}%
- \crefname{remark}{Bemerkung}{Bemerkungen}%
- \crefname{note}{Anmerkung}{Anmerkungen}%
- \crefname{algorithm}{Algorithmus}{Algorithmen}%
- \crefname{listing}{Listing}{Listings}%
- \crefname{line}{Zeile}{Zeilen}%
- \else%
- \crefname{equation}{Gleichung}{Gleichungen}%
- \crefname{part}{Teil}{Teilen}%
- \crefname{chapter}{Kapitel}{Kapitel}%
- \crefname{section}{Abschnitt}{Abschnitte}%
- \crefname{subsection}{Abschnitt}{Abschnitte}%
- \crefname{subsubsection}{Abschnitt}{Abschnitte}%
- \crefname{appendix}{Anhang}{Anh\"ange}%
- \crefname{subappendix}{Anhang}{Anh\"ange}%
- \crefname{subsubappendix}{Anhang}{Anh\"ange}%
- \crefname{subsubsubappendix}{Anhang}{Anh\"ange}%
- \crefname{enumi}{Punkt}{Punkte}%
- \crefname{enumii}{Punkt}{Punkte}%
- \crefname{enumiii}{Punkt}{Punkte}%
- \crefname{enumiv}{Punkt}{Punkte}%
- \crefname{enumv}{Punkt}{Punkte}%
- \crefname{footnote}{Fu\ss note}{Fu\ss noten}%
- \crefname{figure}{Abbildung}{Abbildungen}%
- \crefname{subfigure}{Abbildung}{Abbildungen}%
- \crefname{table}{Tabelle}{Tabellen}%
- \crefname{subtable}{Tabelle}{Tabellen}%
- \crefname{theorem}{Theorem}{Theoremen}%
- \crefname{lemma}{Lemma}{Lemmata}%
- \crefname{corollary}{Korollar}{Korollaren}%
- \crefname{proposition}{Satz}{S\"atze}%
- \crefname{definition}{Definition}{Definitionen}%
- \crefname{result}{Ergebnis}{Ergebnisse}%
- \crefname{example}{Beispiel}{Beispiele}%
- \crefname{remark}{Bemerkung}{Bemerkungen}%
- \crefname{note}{Anmerkung}{Anmerkungen}%
- \crefname{algorithm}{Algorithmus}{Algorithmen}%
- \crefname{listing}{Listing}{Listings}%
- \crefname{line}{Zeile}{Zeilen}%
- \fi%
+ %
+ \crefname{equation}{Gleichung}{Gleichungen}%
+ \crefname{figure}{Abbildung}{Abbildungen}%
+ \crefname{subfigure}{Abbildung}{Abbildungen}%
+ \crefname{table}{Tabelle}{Tabellen}%
+ \crefname{subtable}{Tabelle}{Tabellen}%
+ \crefname{page}{Seite}{Seiten}%
+ \crefname{part}{Teil}{Teile}%
+ \crefname{chapter}{Kapitel}{Kapitel}%
+ \crefname{section}{Abschnitt}{Abschnitte}%
+ \crefname{subsection}{Abschnitt}{Abschnitte}%
+ \crefname{subsubsection}{Abschnitt}{Abschnitte}%
+ \crefname{appendix}{Anhang}{Anh\"ange}%
+ \crefname{subappendix}{Anhang}{Anh\"ange}%
+ \crefname{subsubappendix}{Anhang}{Anh\"ange}%
+ \crefname{subsubsubappendix}{Anhang}{Anh\"ange}%
+ \crefname{enumi}{Punkt}{Punkte}%
+ \crefname{enumii}{Punkt}{Punkte}%
+ \crefname{enumiii}{Punkt}{Punkte}%
+ \crefname{enumiv}{Punkt}{Punkte}%
+ \crefname{enumv}{Punkt}{Punkte}%
+ \crefname{footnote}{Fu\ss note}{Fu\ss noten}%
+ \crefname{theorem}{Theorem}{Theoreme}%
+ \crefname{lemma}{Lemma}{Lemmata}%
+ \crefname{corollary}{Korollar}{Korollare}%
+ \crefname{proposition}{Satz}{S\"atze}%
+ \crefname{definition}{Definition}{Definitionen}%
+ \crefname{result}{Ergebnis}{Ergebnisse}%
+ \crefname{example}{Beispiel}{Beispiele}%
+ \crefname{remark}{Bemerkung}{Bemerkungen}%
+ \crefname{note}{Anmerkung}{Anmerkungen}%
+ \crefname{algorithm}{Algorithmus}{Algorithmen}%
+ \crefname{listing}{Listing}{Listings}%
+ \crefname{line}{Zeile}{Zeilen}%
}}}
\DeclareOption{dutch}{%
\PackageInfo{cleveref}{loaded `dutch' language definitions}
@@ -3471,13 +4028,15 @@
\def\crefpairgroupconjunction@preamble{ en\nobreakspace}%
\def\crefmiddlegroupconjunction@preamble{, }%
\def\creflastgroupconjunction@preamble{ en\nobreakspace}%
+ %
\Crefname@preamble{equation}{Vergel\ij{}king}{Vergel\ij{}kingen}%
+ \Crefname@preamble{figure}{Figuur}{Figuren}%
+ \Crefname@preamble{table}{Tabel}{Tabellen}%
+ \Crefname@preamble{page}{Pagina}{Pagina's}%
\Crefname@preamble{part}{Deel}{Delen}%
\Crefname@preamble{chapter}{Hoofdstuk}{Hoofdstuken}%
\Crefname@preamble{section}{Paragraaf}{Paragrafen}%
\Crefname@preamble{appendix}{Appendix}{Appendices}%
- \Crefname@preamble{figure}{Figuur}{Figuren}%
- \Crefname@preamble{table}{Tabel}{Tabellen}%
\Crefname@preamble{enumi}{Punt}{Punten}%
\Crefname@preamble{footnote}{Voetnote}{Voetnoten}%
\Crefname@preamble{lemma}{Lemma}{Lemma's}%
@@ -3491,16 +4050,23 @@
\Crefname@preamble{algorithm}{Algoritme}{Algoritmen}%
\Crefname@preamble{listing}{Listing}{Listings}%
\Crefname@preamble{line}{Lijn}{Lijnen}%
- \if@cref@capitalise%
- \crefname@preamble{equation}{Verg.}{Verg's.}%
+ %
+ \if@cref@capitalise% capitalise set
+ \if@cref@abbrev%
+ \crefname@preamble{equation}{Verg.}{Verg's.}%
+ \crefname@preamble{figure}{Fig.}{Fig's.}%
+ \else%
+ \crefname@preamble{equation}{Vergel\ij{}king}{Vergel\ij{}kingen}%
+ \crefname@preamble{figure}{Figuur}{Figuren}%
+ \fi%
+ \crefname@preamble{page}{Pagina}{Pagina's}%
+ \crefname@preamble{table}{Tabel}{Tabellen}%
\crefname@preamble{part}{Deel}{Delen}%
\crefname@preamble{chapter}{Hoofdstuk}{Hoofdstukken}%
\crefname@preamble{section}{Paragraaf}{Paragrafen}%
\crefname@preamble{appendix}{Appendix}{Appendices}%
\crefname@preamble{enumi}{Punt}{Punten}%
\crefname@preamble{footnote}{Voetnote}{Voetnoten}%
- \crefname@preamble{figure}{Fig.}{Fig's.}%
- \crefname@preamble{table}{Tabel}{Tabellen}%
\crefname@preamble{theorem}{Theorema}{Theorema's}%
\crefname@preamble{lemma}{Lemma}{Lemma's}%
\crefname@preamble{corollary}{Corollarium}{Corollaria}%
@@ -3513,16 +4079,23 @@
\crefname@preamble{algorithm}{Algoritme}{Algoritmen}%
\crefname@preamble{listing}{Listing}{Listings}%
\crefname@preamble{line}{Lijn}{Lijnen}%
- \else%
- \crefname@preamble{equation}{verg.}{verg's.}%
+ %
+ \else% capitalise unset
+ \if@cref@abbrev%
+ \crefname@preamble{equation}{verg.}{verg's.}%
+ \crefname@preamble{figure}{fig.}{fig's.}%
+ \else%
+ \crefname@preamble{equation}{vergel\ij{}king}{vergel\ij{}kingen}%
+ \crefname@preamble{figure}{figuur}{figuren}%
+ \fi%
+ \crefname@preamble{page}{pagina}{pagina's}%
+ \crefname@preamble{table}{tabel}{tabellen}%
\crefname@preamble{part}{deel}{delen}%
\crefname@preamble{chapter}{hoofdstuk}{hoofdstukken}%
\crefname@preamble{section}{paragraaf}{paragrafen}%
\crefname@preamble{appendix}{appendix}{appendices}%
\crefname@preamble{enumi}{punt}{punten}%
\crefname@preamble{footnote}{voetnote}{voetnoten}%
- \crefname@preamble{figure}{fig.}{fig's.}%
- \crefname@preamble{table}{tabel}{tabellen}%
\crefname@preamble{theorem}{theorema}{theorema's}%
\crefname@preamble{lemma}{lemma}{lemma's}%
\crefname@preamble{corollary}{corollarium}{corollaria}%
@@ -3547,7 +4120,13 @@
\renewcommand{\crefpairgroupconjunction}{ en\nobreakspace}%
\renewcommand{\crefmiddlegroupconjunction}{, }%
\renewcommand{\creflastgroupconjunction}{ en\nobreakspace}%
+ %
\Crefname{equation}{Vergel\ij{}king}{Vergel\ij{}kingen}%
+ \Crefname{figure}{Figuur}{Figuren}%
+ \Crefname{subfigure}{Figuur}{Figuren}%
+ \Crefname{table}{Tabel}{Tabellen}%
+ \Crefname{subtable}{Tabel}{Tabellen}%
+ \Crefname{page}{Pagina}{Pagina's}%
\Crefname{part}{Deel}{Delen}%
\Crefname{chapter}{Hoofdstuk}{Hoofdstuken}%
\Crefname{section}{Paragraaf}{Paragrafen}%
@@ -3563,10 +4142,6 @@
\Crefname{enumiv}{Punt}{Punten}%
\Crefname{enumv}{Punt}{Punten}%
\Crefname{footnote}{Voetnote}{Voetnoten}%
- \Crefname{figure}{Figuur}{Figuren}%
- \Crefname{subfigure}{Figuur}{Figuren}%
- \Crefname{table}{Tabel}{Tabellen}%
- \Crefname{subtable}{Tabel}{Tabellen}%
\Crefname{theorem}{Theorema}{Theorema's}%
\Crefname{lemma}{Lemma}{Lemma's}%
\Crefname{corollary}{Corollarium}{Corollaria}%
@@ -3579,16 +4154,26 @@
\Crefname{algorithm}{Algoritme}{Algoritmen}%
\Crefname{listing}{Listing}{Listings}%
\Crefname{line}{Lijn}{Lijnen}%
- \if@cref@capitalise%
- \crefname{equation}{Verg.}{Verg's.}%
+ %
+ \if@cref@capitalise% capitalise set
+ \if@cref@abbrev%
+ \crefname{equation}{Verg.}{Verg's.}%
+ \crefname{figure}{Fig.}{Fig's.}%
+ \crefname{subfigure}{Fig.}{Fig's.}%
+ \else%
+ \crefname{equation}{Vergel\ij{}king}{Vergel\ij{}kingen}%
+ \crefname{figure}{Figuur}{Figuren}%
+ \crefname{subfigure}{Figuur}{Figuren}%
+ \fi%
+ \crefname{table}{Tabel}{Tabellen}%
+ \crefname{subtable}{Tabel}{Tabellen}%
+ \crefname{page}{Pagina}{Pagina's}%
\crefname{part}{Deel}{Delen}%
\crefname{chapter}{Hoofdstuk}{Hoofdstukken}%
\crefname{section}{Paragraaf}{Paragrafen}%
\crefname{appendix}{Appendix}{Appendices}%
\crefname{enumi}{Punt}{Punten}%
\crefname{footnote}{Voetnote}{Voetnoten}%
- \crefname{figure}{Fig.}{Fig's.}%
- \crefname{table}{Tabel}{Tabellen}%
\crefname{theorem}{Theorema}{Theorema's}%
\crefname{lemma}{Lemma}{Lemma's}%
\crefname{corollary}{Corollarium}{Corollaria}%
@@ -3601,16 +4186,26 @@
\crefname{algorithm}{Algoritme}{Algoritmen}%
\crefname{listing}{Listing}{Listings}%
\crefname{line}{Lijn}{Lijnen}%
- \else%
- \crefname{equation}{verg.}{verg's.}%
+ %
+ \else% capitalise unset
+ \if@cref@abbrev%
+ \crefname{equation}{verg.}{verg's.}%
+ \crefname{figure}{fig.}{fig's.}%
+ \crefname{subfigure}{fig.}{fig's.}%
+ \else%
+ \crefname{equation}{vergel\ij{}king}{vergel\ij{}kingen}%
+ \crefname{figure}{figuur}{figuren}%
+ \crefname{subfigure}{figuur}{figuren}%
+ \fi%
+ \crefname{table}{tabel}{tabellen}%
+ \crefname{subtable}{tabel}{tabellen}%
+ \crefname{page}{pagina}{pagina's}%
\crefname{part}{deel}{delen}%
\crefname{chapter}{hoofdstuk}{hoofdstukken}%
\crefname{section}{paragraaf}{paragrafen}%
\crefname{appendix}{appendix}{appendices}%
\crefname{enumi}{punt}{punten}%
\crefname{footnote}{voetnote}{voetnoten}%
- \crefname{figure}{fig.}{fig's.}%
- \crefname{table}{tabel}{tabellen}%
\crefname{theorem}{theorema}{theorema's}%
\crefname{lemma}{lemma}{lemma's}%
\crefname{corollary}{corollarium}{corollaria}%
@@ -3637,15 +4232,17 @@
\def\crefpairgroupconjunction@preamble{ et\nobreakspace}%
\def\crefmiddlegroupconjunction@preamble{, }%
\def\creflastgroupconjunction@preamble{, et\nobreakspace}%
+ %
\Crefname@preamble{equation}{{\'E}quation}{{\'E}quations}%
+ \Crefname@preamble{figure}{Figure}{Figures}%
+ \Crefname@preamble{table}{Tableau}{Tableaux}%
+ \Crefname@preamble{page}{Page}{Pages}%
\Crefname@preamble{part}{Partie}{Parties}%
\Crefname@preamble{chapter}{Chapitre}{Chapitres}%
\Crefname@preamble{section}{Section}{Sections}%
\Crefname@preamble{appendix}{Annexe}{Annexes}%
\Crefname@preamble{enumi}{Point}{Points}%
\Crefname@preamble{footnote}{Note}{Notes}%
- \Crefname@preamble{figure}{Figure}{Figures}%
- \Crefname@preamble{table}{Tableau}{Tableaux}%
\Crefname@preamble{theorem}{Th\'eor\`eme}{Th\'eor\`emes}%
\Crefname@preamble{lemma}{Lemme}{Lemmes}%
\Crefname@preamble{corollary}{Corollaire}{Corollaires}%
@@ -3657,16 +4254,18 @@
\Crefname@preamble{algorithm}{Algorithme}{Algorithmes}%
\Crefname@preamble{listing}{Liste}{Listes}%
\Crefname@preamble{line}{Ligne}{Lignes}%
- \if@cref@capitalise%
+ %
+ \if@cref@capitalise% capitalise set
\crefname@preamble{equation}{{\'E}quation}{{\'E}quations}%
+ \crefname@preamble{figure}{Figure}{Figures}%
+ \crefname@preamble{table}{Tableau}{Tableaux}%
+ \crefname@preamble{page}{Page}{Pages}%
\crefname@preamble{part}{Partie}{Parties}%
\crefname@preamble{chapter}{Chapitre}{Chapitres}%
\crefname@preamble{section}{Section}{Sections}%
\crefname@preamble{appendix}{Annexe}{Annexes}%
\crefname@preamble{enumi}{Point}{Points}%
\crefname@preamble{footnote}{Note}{Notes}%
- \crefname@preamble{figure}{Figure}{Figures}%
- \crefname@preamble{table}{Tableau}{Tableaux}%
\crefname@preamble{theorem}{Th\'eor\`eme}{Th\'eor\`emes}%
\crefname@preamble{lemma}{Lemme}{Lemmes}%
\crefname@preamble{corollary}{Corollaire}{Corollaires}%
@@ -3679,16 +4278,18 @@
\crefname@preamble{algorithm}{Algorithme}{Algorithmes}%
\crefname@preamble{listing}{Liste}{Listes}%
\crefname@preamble{line}{Ligne}{Lignes}%
- \else%
+ %
+ \else% capitalise unset
\crefname@preamble{equation}{{\'e}quation}{{\'e}quations}%
+ \crefname@preamble{figure}{figure}{figures}%
+ \crefname@preamble{table}{tableau}{tableaux}%
+ \crefname@preamble{page}{page}{pages}%
\crefname@preamble{part}{partie}{parties}%
\crefname@preamble{chapter}{chapitre}{chapitres}%
\crefname@preamble{section}{section}{sections}%
\crefname@preamble{appendix}{annexe}{annexes}%
\crefname@preamble{enumi}{point}{points}%
\crefname@preamble{footnote}{note}{notes}%
- \crefname@preamble{figure}{figure}{figures}%
- \crefname@preamble{table}{tableau}{tableaux}%
\crefname@preamble{theorem}{th\'eor\`eme}{th\'eor\`emes}%
\crefname@preamble{lemma}{lemme}{lemmes}%
\crefname@preamble{corollary}{corollaire}{corollaires}%
@@ -3713,7 +4314,13 @@
\renewcommand{\crefpairgroupconjunction}{ et\nobreakspace}%
\renewcommand{\crefmiddlegroupconjunction}{, }%
\renewcommand{\creflastgroupconjunction}{ et\nobreakspace}%
+ %
\Crefname{equation}{{\'E}quation}{{\'E}quations}%
+ \Crefname{figure}{Figure}{Figures}%
+ \Crefname{subfigure}{Figure}{Figures}%
+ \Crefname{table}{Tableau}{Tableaux}%
+ \Crefname{subtable}{Tableau}{Tableaux}%
+ \Crefname{page}{Page}{Pages}%
\Crefname{part}{Partie}{Parties}%
\Crefname{chapter}{Chapitre}{Chapitres}%
\Crefname{section}{Section}{Sections}%
@@ -3729,10 +4336,6 @@
\Crefname{enumiv}{Point}{Points}%
\Crefname{enumv}{Point}{Points}%
\Crefname{footnote}{Note}{Notes}%
- \Crefname{figure}{Figure}{Figures}%
- \Crefname{subfigure}{Figure}{Figures}%
- \Crefname{table}{Tableau}{Tableaux}%
- \Crefname{subtable}{Tableau}{Tableaux}%
\Crefname{theorem}{Th\'eor\`eme}{Th\'eor\`emes}%
\Crefname{lemma}{Lemme}{Lemmes}%
\Crefname{corollary}{Corollaire}{Corollaires}%
@@ -3745,8 +4348,14 @@
\Crefname{algorithm}{Algorithme}{Algorithmes}%
\Crefname{listing}{Liste}{Listes}%
\Crefname{line}{Ligne}{Lignes}%
- \if@cref@capitalise%
+ %
+ \if@cref@capitalise% capitalise set
\crefname{equation}{{\'E}quation}{{\'E}quations}%
+ \crefname{figure}{Figure}{Figures}%
+ \crefname{subfigure}{Figure}{Figures}%
+ \crefname{table}{Tableau}{Tableaux}%
+ \crefname{subtable}{Tableau}{Tableaux}%
+ \crefname{page}{Page}{Pages}%
\crefname{part}{Partie}{Parties}%
\crefname{chapter}{Chapitre}{Chapitres}%
\crefname{section}{Section}{Sections}%
@@ -3762,10 +4371,6 @@
\crefname{enumiv}{Point}{Points}%
\crefname{enumv}{Point}{Points}%
\crefname{footnote}{Note}{Notes}%
- \crefname{figure}{Figure}{Figures}%
- \crefname{subfigure}{Figure}{Figures}%
- \crefname{table}{Tableau}{Tableaux}%
- \crefname{subtable}{Tableau}{Tableaux}%
\crefname{theorem}{Th\'eor\`eme}{Th\'eor\`emes}%
\crefname{lemma}{Lemme}{Lemmes}%
\crefname{corollary}{Corollaire}{Corollaires}%
@@ -3778,8 +4383,14 @@
\crefname{algorithm}{Algorithme}{Algorithmes}%
\crefname{listing}{Liste}{Listes}%
\crefname{line}{Ligne}{Lignes}%
- \else%
+ %
+ \else% capitalise unset
\crefname{equation}{{\'e}quation}{{\'e}quations}%
+ \crefname{figure}{figure}{figures}%
+ \crefname{subfigure}{figure}{figures}%
+ \crefname{table}{tableau}{tableaux}%
+ \crefname{subtable}{tableau}{tableaux}%
+ \crefname{page}{page}{pages}%
\crefname{part}{partie}{parties}%
\crefname{chapter}{chapitre}{chapitres}%
\crefname{section}{section}{sections}%
@@ -3795,10 +4406,6 @@
\crefname{enumiv}{point}{points}%
\crefname{enumv}{point}{points}%
\crefname{footnote}{note}{notes}%
- \crefname{figure}{figure}{figures}%
- \crefname{subfigure}{figure}{figures}%
- \crefname{table}{tableau}{tableaux}%
- \crefname{subtable}{tableau}{tableaux}%
\crefname{theorem}{th\'eor\`eme}{th\'eor\`emes}%
\crefname{lemma}{lemme}{lemmes}%
\crefname{corollary}{corollaire}{corollaires}%
@@ -3825,15 +4432,17 @@
\def\crefpairgroupconjunction@preamble{ y\nobreakspace}%
\def\crefmiddlegroupconjunction@preamble{, }%
\def\creflastgroupconjunction@preamble{ y\nobreakspace}%
+ %
\Crefname@preamble{equation}{Ecuaci\'on}{Ecuaciones}%
+ \Crefname@preamble{figure}{Figura}{Figuras}%
+ \Crefname@preamble{table}{Cuadro}{Cuadros}%
+ \Crefname@preamble{page}{P\'agina}{P\'aginas}%
\Crefname@preamble{part}{Parte}{Partes}%
\Crefname@preamble{chapter}{Cap\'itulo}{Cap\'itulos}%
- \Crefname@preamble{section}{Secci\'on}{Secciones}%
+ \Crefname@preamble{section}{Apartado}{Apartados}%
\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}%
@@ -3846,16 +4455,18 @@
\Crefname@preamble{algorithm}{Algoritmo}{Algoritmos}%
\Crefname@preamble{listing}{Listado}{Listados}%
\Crefname@preamble{line}{L\'inea}{L\'ineas}%
- \if@cref@capitalise%
+ %
+ \if@cref@capitalise% capitalise set
\crefname@preamble{equation}{Ecuaci\'on}{Ecuaciones}%
+ \crefname@preamble{figure}{Figura}{Figuras}%
+ \crefname@preamble{table}{Cuadro}{Cuadros}%
+ \crefname@preamble{page}{P\'agina}{P\'aginas}%
\crefname@preamble{part}{Parte}{Partes}%
\crefname@preamble{chapter}{Cap\'itulo}{Cap\'itulos}%
- \crefname@preamble{section}{Secci\'on}{Secciones}%
+ \crefname@preamble{section}{Apartado}{Apartados}%
\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}%
@@ -3868,16 +4479,18 @@
\crefname@preamble{algorithm}{Algoritmo}{Algoritmos}%
\crefname@preamble{listing}{Listado}{Listados}%
\crefname@preamble{line}{L\'inea}{L\'ineas}%
- \else%
+ %
+ \else% capitalise unset
\crefname@preamble{equation}{ecuaci\'on}{ecuaciones}%
+ \crefname@preamble{figure}{figura}{figuras}%
+ \crefname@preamble{table}{cuadro}{cuadros}%
+ \crefname@preamble{page}{p\'agina}{p\'aginas}%
\crefname@preamble{part}{parte}{partes}%
\crefname@preamble{chapter}{cap\'itulo}{cap\'itulos}%
- \crefname@preamble{section}{secci\'on}{secciones}%
+ \crefname@preamble{section}{apartado}{apartados}%
\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}%
@@ -3902,12 +4515,18 @@
\renewcommand{\crefpairgroupconjunction}{ y\nobreakspace}%
\renewcommand{\crefmiddlegroupconjunction}{, }%
\renewcommand{\creflastgroupconjunction}{ y\nobreakspace}%
+ %
\Crefname{equation}{Ecuaci\'on}{Ecuaciones}%
+ \Crefname{figure}{Figura}{Figuras}%
+ \Crefname{subfigure}{Figura}{Figuras}%
+ \Crefname{table}{Cuadro}{Cuadros}%
+ \Crefname{subtable}{Cuadro}{Cuadros}%
+ \Crefname{page}{P\'agina}{P\'aginas}%
\Crefname{part}{Parte}{Partes}%
\Crefname{chapter}{Cap\'itulo}{Cap\'itulos}%
- \Crefname{section}{Secci\'on}{Secciones}%
- \Crefname{subsection}{Secci\'on}{Secciones}%
- \Crefname{subsubsection}{Secci\'on}{Secciones}%
+ \Crefname{section}{Apartado}{Apartados}%
+ \Crefname{subsection}{Apartado}{Apartados}%
+ \Crefname{subsubsection}{Apartado}{Apartados}%
\Crefname{appendix}{Ap\'endice}{Ap\'endices}%
\Crefname{subappendix}{Ap\'endice}{Ap\'endices}%
\Crefname{subsubappendix}{Ap\'endice}{Ap\'endices}%
@@ -3918,10 +4537,6 @@
\Crefname{enumiv}{Punto}{Puntos}%
\Crefname{enumv}{Punto}{Puntos}%
\Crefname{footnote}{Nota}{Notas}%
- \Crefname{figure}{Figura}{Figuras}%
- \Crefname{subfigure}{Figura}{Figuras}%
- \Crefname{table}{Cuadro}{Cuadros}%
- \Crefname{subtable}{Cuadro}{Cuadros}%
\Crefname{theorem}{Teorema}{Teoremas}%
\Crefname{lemma}{Lema}{Lemas}%
\Crefname{corollary}{Corolario}{Corolarios}%
@@ -3934,13 +4549,19 @@
\Crefname{algorithm}{Algoritmo}{Algoritmos}%
\Crefname{listing}{Listado}{Listados}%
\Crefname{line}{L\'inea}{L\'ineas}%
- \if@cref@capitalise%
+ %
+ \if@cref@capitalise% capitalise set
\crefname{equation}{Ecuaci\'on}{Ecuaciones}%
+ \crefname{figure}{Figura}{Figuras}%
+ \crefname{subfigure}{Figura}{Figuras}%
+ \crefname{table}{Cuadro}{Cuadros}%
+ \crefname{subtable}{Cuadro}{Cuadros}%
+ \crefname{page}{P\'agina}{P\'aginas}%
\crefname{part}{Parte}{Partes}%
\crefname{chapter}{Cap\'itulo}{Cap\'itulos}%
- \crefname{section}{Secci\'on}{Secciones}%
- \crefname{subsection}{Secci\'on}{Secciones}%
- \crefname{subsubsection}{Secci\'on}{Secciones}%
+ \crefname{section}{Apartado}{Apartados}%
+ \crefname{subsection}{Apartado}{Apartados}%
+ \crefname{subsubsection}{Apartado}{Apartados}%
\crefname{appendix}{Ap\'endice}{Ap\'endices}%
\crefname{subappendix}{Ap\'endice}{Ap\'endices}%
\crefname{subsubappendix}{Ap\'endice}{Ap\'endices}%
@@ -3951,10 +4572,6 @@
\crefname{enumiv}{Punto}{Puntos}%
\crefname{enumv}{Punto}{Puntos}%
\crefname{footnote}{Nota}{Notas}%
- \crefname{figure}{Figura}{Figuras}%
- \crefname{subfigure}{Figura}{Figuras}%
- \crefname{table}{Cuadro}{Cuadros}%
- \crefname{subtable}{Cuadro}{Cuadros}%
\crefname{theorem}{Teorema}{Teoremas}%
\crefname{lemma}{Lema}{Lemas}%
\crefname{corollary}{Corolario}{Corolarios}%
@@ -3967,13 +4584,19 @@
\crefname{algorithm}{Algoritmo}{Algoritmos}%
\crefname{listing}{Listado}{Listados}%
\crefname{line}{L\'inea}{L\'ineas}%
- \else%
+ %
+ \else% capitalise unset
\crefname{equation}{ecuaci\'on}{ecuaciones}%
+ \crefname{figure}{figura}{figuras}%
+ \crefname{subfigure}{figura}{figuras}%
+ \crefname{table}{cuadro}{cuadros}%
+ \crefname{subtable}{cuadro}{cuadros}%
+ \crefname{page}{p\'agina}{p\'aginas}%
\crefname{part}{parte}{partes}%
\crefname{chapter}{cap\'itulo}{cap\'itulos}%
- \crefname{section}{secci\'on}{secciones}%
- \crefname{subsection}{secci\'on}{secciones}%
- \crefname{subsubsection}{secci\'on}{secciones}%
+ \crefname{section}{apartado}{apartados}%
+ \crefname{subsection}{apartado}{apartados}%
+ \crefname{subsubsection}{apartado}{apartados}%
\crefname{appendix}{ap\'endice}{ap\'endices}%
\crefname{subappendix}{ap\'endice}{ap\'endices}%
\crefname{subsubappendix}{ap\'endice}{ap\'endices}%
@@ -3984,10 +4607,6 @@
\crefname{enumiv}{punto}{puntos}%
\crefname{enumv}{punto}{puntos}%
\crefname{footnote}{nota}{notas}%
- \crefname{figure}{figura}{figuras}%
- \crefname{subfigure}{figura}{figuras}%
- \crefname{table}{cuadro}{cuadros}%
- \crefname{subtable}{cuadro}{cuadros}%
\crefname{theorem}{teorema}{teoremas}%
\crefname{lemma}{lema}{lemas}%
\crefname{corollary}{corolario}{corolarios}%
@@ -4014,15 +4633,17 @@
\def\crefpairgroupconjunction@preamble{ e\nobreakspace}%
\def\crefmiddlegroupconjunction@preamble{, }%
\def\creflastgroupconjunction@preamble{ e\nobreakspace}%
+ %
\Crefname@preamble{equation}{Equazione}{Equazioni}%
+ \Crefname@preamble{figure}{Figura}{Figure}%
+ \Crefname@preamble{table}{Tabella}{Tabelle}%
+ \Crefname@preamble{page}{Pagina}{Pagine}%
\Crefname@preamble{part}{Parte}{Parti}%
\Crefname@preamble{chapter}{Capitolo}{Capitoli}%
\Crefname@preamble{section}{Sezione}{Sezioni}%
\Crefname@preamble{appendix}{Appendice}{Appendici}%
\Crefname@preamble{enumi}{Voce}{Voci}%
\Crefname@preamble{footnote}{Nota}{Note}%
- \Crefname@preamble{figure}{Figura}{Figure}%
- \Crefname@preamble{table}{Tabella}{Tabelle}%
\Crefname@preamble{theorem}{Teorema}{Teoremi}%
\Crefname@preamble{lemma}{Lemma}{Lemmi}%
\Crefname@preamble{corollary}{Corollario}{Corollari}%
@@ -4035,16 +4656,23 @@
\Crefname@preamble{algorithm}{Algoritmo}{Algoritmi}%
\Crefname@preamble{listing}{Elenco}{Elenchi}%
\Crefname@preamble{line}{Linea}{Linee}%
- \if@cref@capitalise%
- \crefname@preamble{equation}{Eq.}{Eq.}%
+ %
+ \if@cref@capitalise% capitalise set
+ \if@cref@abbrev%
+ \crefname@preamble{equation}{Eq.}{Eq.}%
+ \crefname@preamble{figure}{Fig.}{Fig.}%
+ \else%
+ \crefname@preamble{equation}{Equazione}{Equazioni}%
+ \crefname@preamble{figure}{Figura}{Figure}%
+ \fi%
+ \crefname@preamble{table}{Tabella}{Tabelle}%
+ \crefname@preamble{page}{Pagina}{Pagine}%
\crefname@preamble{part}{Parte}{Parti}%
\crefname@preamble{chapter}{Capitolo}{Capitoli}%
\crefname@preamble{section}{Sezione}{Sezioni}%
\crefname@preamble{appendix}{Appendice}{Appendici}%
\crefname@preamble{enumi}{Voce}{Voci}%
\crefname@preamble{footnote}{Nota}{Note}%
- \crefname@preamble{figure}{Fig.}{Fig.}%
- \crefname@preamble{table}{Tabella}{Tabelle}%
\crefname@preamble{theorem}{Teorema}{Teoremi}%
\crefname@preamble{lemma}{Lemma}{Lemmi}%
\crefname@preamble{corollary}{Corollario}{Corollari}%
@@ -4057,16 +4685,23 @@
\crefname@preamble{algorithm}{Algoritmo}{Algoritmi}%
\crefname@preamble{listing}{Elenco}{Elenchi}%
\crefname@preamble{line}{Linea}{Linee}%
- \else%
- \crefname@preamble{equation}{eq.}{eq.}%
+ %
+ \else% capitalise unset
+ \if@cref@abbrev%
+ \crefname@preamble{equation}{eq.}{eq.}%
+ \crefname@preamble{figure}{fig.}{fig.}%
+ \else%
+ \crefname@preamble{equation}{equazione}{equazioni}%
+ \crefname@preamble{figure}{figura}{figure}%
+ \fi%
+ \crefname@preamble{table}{tabella}{tabelle}%
+ \crefname@preamble{page}{pagina}{pagine}%
\crefname@preamble{part}{parte}{parti}%
\crefname@preamble{chapter}{capitolo}{capitoli}%
\crefname@preamble{section}{sezione}{sezioni}%
\crefname@preamble{appendix}{appendice}{appendici}%
\crefname@preamble{enumi}{voce}{voci}%
\crefname@preamble{footnote}{nota}{note}%
- \crefname@preamble{figure}{fig.}{fig.}%
- \crefname@preamble{table}{tabella}{tabelle}%
\crefname@preamble{theorem}{teorema}{teoremi}%
\crefname@preamble{lemma}{lemma}{lemmi}%
\crefname@preamble{corollary}{corollario}{corollari}%
@@ -4091,7 +4726,13 @@
\renewcommand{\crefpairgroupconjunction}{ e\nobreakspace}%
\renewcommand{\crefmiddlegroupconjunction}{, }%
\renewcommand{\creflastgroupconjunction}{ e\nobreakspace}%
+ %
\Crefname{equation}{Equazione}{Equazioni}%
+ \Crefname{figure}{Figura}{Figure}%
+ \Crefname{subfigure}{Figura}{Figure}%
+ \Crefname{table}{Tabella}{Tabelle}%
+ \Crefname{subtable}{Tabella}{Tabelle}%
+ \Crefname{page}{Pagina}{Pagine}%
\Crefname{part}{Parte}{Parti}%
\Crefname{chapter}{Capitolo}{Capitoli}%
\Crefname{section}{Sezione}{Sezioni}%
@@ -4107,10 +4748,6 @@
\Crefname{enumiv}{Voce}{Voci}%
\Crefname{enumv}{Voce}{Voci}%
\Crefname{footnote}{Nota}{Note}%
- \Crefname{figure}{Figura}{Figure}%
- \Crefname{subfigure}{Figura}{Figure}%
- \Crefname{table}{Tabella}{Tabelle}%
- \Crefname{subtable}{Tabella}{Tabelle}%
\Crefname{theorem}{Teorema}{Teoremi}%
\Crefname{lemma}{Lemma}{Lemmi}%
\Crefname{corollary}{Corollario}{Corollari}%
@@ -4123,8 +4760,20 @@
\Crefname{algorithm}{Algoritmo}{Algoritmi}%
\Crefname{listing}{Elenco}{Elenchi}%
\Crefname{line}{Linea}{Linee}%
- \if@cref@capitalise%
- \crefname{equation}{Eq.}{Eq.}%
+ %
+ \if@cref@capitalise% capitalise set
+ \if@cref@abbrev%
+ \crefname{equation}{Eq.}{Eq.}%
+ \crefname{figure}{Fig.}{Fig.}%
+ \crefname{subfigure}{Fig.}{Fig.}%
+ \else%
+ \crefname{equation}{Equazione}{Equazioni}%
+ \crefname{figure}{Figura}{Figure}%
+ \crefname{figure}{Figura}{Figure}%
+ \fi%
+ \crefname{table}{Tabella}{Tabelle}%
+ \crefname{page}{Pagina}{Pagine}%
+ \crefname{subtable}{Tabella}{Tabelle}%
\crefname{part}{Parte}{Parti}%
\crefname{chapter}{Capitolo}{Capitoli}%
\crefname{section}{Sezione}{Sezioni}%
@@ -4140,10 +4789,6 @@
\crefname{enumiv}{Voce}{Voci}%
\crefname{enumv}{Voce}{Voci}%
\crefname{footnote}{Nota}{Note}%
- \crefname{figure}{Fig.}{Fig.}%
- \crefname{subfigure}{Fig.}{Fig.}%
- \crefname{table}{Tabella}{Tabelle}%
- \crefname{subtable}{Tabella}{Tabelle}%
\crefname{theorem}{Teorema}{Teoremi}%
\crefname{lemma}{Lemma}{Lemmi}%
\crefname{corollary}{Corollario}{Corollari}%
@@ -4156,8 +4801,20 @@
\crefname{algorithm}{Algoritmo}{Algoritmi}%
\crefname{listing}{Elenco}{Elenchi}%
\crefname{line}{Linea}{Linee}%
- \else%
- \crefname{equation}{eq.}{eq.}%
+ %
+ \else% capitalise unset
+ \if@cref@abbrev%
+ \crefname{equation}{eq.}{eq.}%
+ \crefname{figure}{fig.}{fig.}%
+ \crefname{subfigure}{fig.}{fig.}%
+ \else%
+ \crefname{equation}{equazione}{equazioni}%
+ \crefname{figure}{figura}{figure}%
+ \crefname{figure}{figura}{figure}%
+ \fi%
+ \crefname{table}{tabella}{tabelle}%
+ \crefname{page}{pagina}{pagine}%
+ \crefname{subtable}{tabella}{tabelle}%
\crefname{part}{parte}{parti}%
\crefname{chapter}{capitolo}{capitoli}%
\crefname{section}{sezione}{sezioni}%
@@ -4173,10 +4830,6 @@
\crefname{enumiv}{voce}{voci}%
\crefname{enumv}{voce}{voci}%
\crefname{footnote}{nota}{note}%
- \crefname{figure}{fig.}{fig.}%
- \crefname{subfigure}{fig.}{fig.}%
- \crefname{table}{tabella}{tabelle}%
- \crefname{subtable}{tabella}{tabelle}%
\crefname{theorem}{teorema}{teoremi}%
\crefname{lemma}{lemma}{lemmi}%
\crefname{corollary}{corollario}{corollari}%
@@ -4204,12 +4857,19 @@
\def\crefmiddlegroupconjunction@preamble{, }%
\def\creflastgroupconjunction@preamble%
{, \cyra\ \cyrt\cyra\cyrk\cyrzh\cyre\nobreakspace}%
- \Crefname@preamble{equation}%
+ %
+ \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{figure}%
+ {\CYRR\cyri\cyrs\cyru\cyrn\cyro\cyrk}%
+ {\CYRR\cyri\cyrs\cyru\cyrn\cyrk\cyri}%
+ \Crefname@preamble{table}%
+ {\CYRT\cyra\cyrb\cyrl\cyri\cyrc\cyra}%
+ {\CYRT\cyra\cyrb\cyrl\cyri\cyrc\cyrery}%
+ \Crefname@preamble{enumi}%
+ {\CYRP\cyru\cyrn\cyrk\cyrt}%
+ {\CYRP\cyru\cyrn\cyrk\cyrt\cyrery}%
\Crefname@preamble{chapter}%
{\CYRG\cyrl\cyra\cyrv\cyra}%
{\CYRG\cyrl\cyra\cyrv\cyrery}%
@@ -4219,18 +4879,9 @@
\Crefname@preamble{appendix}%
{\CYRP\cyrr\cyri\cyrl\cyro\cyrzh\cyre\cyrn\cyri\cyre}%
{\CYRP\cyrr\cyri\cyrl\cyro\cyrzh\cyre\cyrn\cyri\cyrya}%
- \Crefname@preamble{enumi}%
- {\CYRP\cyru\cyrn\cyrk\cyrt}%
- {\CYRP\cyru\cyrn\cyrk\cyrt\cyrery}%
\Crefname@preamble{footnote}%
{\CYRS\cyrn\cyro\cyrs\cyrk\cyra}%
{\CYRS\cyrn\cyro\cyrs\cyrk\cyri}%
- \Crefname@preamble{figure}%
- {\CYRR\cyri\cyrs\cyru\cyrn\cyro\cyrk}%
- {\CYRR\cyri\cyrs\cyru\cyrn\cyrk\cyri}%
- \Crefname@preamble{table}%
- {\CYRT\cyra\cyrb\cyrl\cyri\cyrc\cyra}%
- {\CYRT\cyra\cyrb\cyrl\cyri\cyrc\cyrery}%
\Crefname@preamble{theorem}%
{\CYRT\cyre\cyro\cyrr\cyre\cyrm\cyra}%
{\CYRT\cyre\cyro\cyrr\cyre\cyrm\cyrery}%
@@ -4267,13 +4918,41 @@
\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{part}%
- {\CYRCH\cyra\cyrs\cyrt\cyrsftsn}%
- {\CYRCH\cyra\cyrs\cyrt\cyri}%
+ \Crefname@preamble{page}%
+ {\CYRS\cyrt\cyrr\cyra\cyrn\cyri\cyrc\cyra}%
+ {\CYRS\cyrt\cyrr\cyra\cyrn\cyri\cyrc\cyrery}%
+ \Crefname@preamble{part}%
+ {\CYRCH\cyra\cyrs\cyrt\cyrsftsn}%
+ {\CYRCH\cyra\cyrs\cyrt\cyri}%
+ %
+ \if@cref@capitalise% capitalise set
+ \if@cref@abbrev% abbrev set
+ \crefname@preamble{equation}%
+ {\CYRF-\cyrl.}%
+ {\CYRF-\cyrl.}%
+ \crefname@preamble{figure}%
+ {\CYRR\cyri\cyrs.}%
+ {\CYRR\cyri\cyrs.}%
+ \crefname@preamble{table}%
+ {\CYRT\cyra\cyrb\cyrl.}%
+ {\CYRT\cyra\cyrb\cyrl.}%
+ \crefname@preamble{enumi}%
+ {\CYRP.}%
+ {\CYRP.\cyrp.}%
+ \else%
+ \crefname@preamble{equation}%
+ {\CYRF\cyro\cyrr\cyrm\cyru\cyrl\cyra}%
+ {\CYRF\cyro\cyrr\cyrm\cyru\cyrl\cyrery}%
+ \crefname@preamble{figure}%
+ {\CYRR\cyri\cyrs\cyru\cyrn\cyro\cyrk}%
+ {\CYRR\cyri\cyrs\cyru\cyrn\cyrk\cyri}%
+ \crefname@preamble{table}%
+ {\CYRT\cyra\cyrb\cyrl\cyri\cyrc\cyra}%
+ {\CYRT\cyra\cyrb\cyrl\cyri\cyrc\cyrery}%
+ \crefname@preamble{enumi}%
+ {\CYRP\cyru\cyrn\cyrk\cyrt}%
+ {\CYRP\cyru\cyrn\cyrk\cyrt\cyrery}%
+ \fi%
\crefname@preamble{chapter}%
{\CYRG\cyrl\cyra\cyrv\cyra}%
{\CYRG\cyrl\cyra\cyrv\cyrery}%
@@ -4283,16 +4962,9 @@
\crefname@preamble{appendix}%
{\CYRP\cyrr\cyri\cyrl\cyro\cyrzh\cyre\cyrn\cyri\cyre}%
{\CYRP\cyrr\cyri\cyrl\cyro\cyrzh\cyre\cyrn\cyri\cyrya}%
- \crefname@preamble{enumi}{\CYRP.}{\CYRP.\cyrp.}%
\crefname@preamble{footnote}%
{\CYRS\cyrn\cyro\cyrs\cyrk\cyra}%
{\CYRS\cyrn\cyro\cyrs\cyrk\cyri}%
- \crefname@preamble{figure}%
- {\CYRR\cyri\cyrs.}%
- {\CYRR\cyri\cyrs.}%
- \crefname@preamble{table}%
- {\CYRT\cyra\cyrb\cyrl.}%
- {\CYRT\cyra\cyrb\cyrl.}%
\crefname@preamble{theorem}%
{\CYRT\cyre\cyro\cyrr\cyre\cyrm\cyra}%
{\CYRT\cyre\cyro\cyrr\cyre\cyrm\cyrery}%
@@ -4329,66 +5001,143 @@
\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{page}%
+ {\CYRS\cyrt\cyrr\cyra\cyrn\cyri\cyrc\cyra}%
+ {\CYRS\cyrt\cyrr\cyra\cyrn\cyri\cyrc\cyrery}%
+ \crefname@preamble{part}%
+ {\CYRCH\cyra\cyrs\cyrt\cyrsftsn}%
+ {\CYRCH\cyra\cyrs\cyrt\cyri}%
+ %
+ \else% capitalise unset
+ \if@cref@abbrev% abbrev set
+ \crefname@preamble{equation}%
+ {\cyrf-\cyrl.}%
+ {\cyrf-\cyrl.}%
+ \crefname@preamble{figure}%
+ {\cyrr\cyri\cyrs.}%
+ {\cyrr\cyri\cyrs.}%
+ \crefname@preamble{table}%
+ {\cyrt\cyra\cyrb\cyrl.}%
+ {\cyrt\cyra\cyrb\cyrl.}%
+ \crefname@preamble{enumi}%
+ {\cyrp.}%
+ {\cyrp.\cyrp.}%
+ \crefname@preamble{chapter}%
+ {\cyrg\cyrl\cyra\cyrv.}%
+ {\cyrg\cyrl\cyra\cyrv.}%
+ \crefname@preamble{section}%
+ {\cyrr\cyra\cyrz\cyrd.}%
+ {\cyrr\cyra\cyrz\cyrd\cyre\cyrl.}%
+ \crefname@preamble{appendix}%
+ {\cyrp\cyrr\cyri\cyrl\cyro\cyrzh.}%
+ {\cyrp\cyrr\cyri\cyrl\cyro\cyrzh.}%
+ \crefname@preamble{footnote}%
+ {\cyrs\cyrn\cyro\cyrs\cyrk.}%
+ {\cyrs\cyrn\cyro\cyrs\cyrk.}%
+ \crefname@preamble{theorem}%
+ {\cyrt\cyre\cyro\cyrr\cyre\cyrm.}%
+ {\cyrt\cyre\cyro\cyrr\cyre\cyrm.}%
+ \crefname@preamble{lemma}%
+ {\cyrl\cyre\cyrm\cyrm.}%
+ {\cyrl\cyre\cyrm\cyrm.}%
+ \crefname@preamble{corollary}%
+ {\cyrv\cyrery\cyrv\cyro\cyrd}%
+ {\cyrv\cyrery\cyrv\cyro\cyrd.}%
+ \crefname@preamble{proposition}%
+ {\cyru\cyrt\cyrv\cyre\cyrr\cyrzh\cyrd.}%
+ {\cyru\cyrt\cyrv\cyre\cyrr\cyrzh\cyrd.}%
+ \crefname@preamble{definition}%
+ {\cyro\cyrp\cyrr\cyre\cyrd\cyre\cyrl\cyre\cyrn.}%
+ {\cyro\cyrp\cyrr\cyre\cyrd\cyre\cyrl\cyre\cyrn.}%
+ \crefname@preamble{result}%
+ {\cyrr\cyre\cyrz\cyru\cyrl\cyrsftsn\cyrt.}%
+ {\cyrr\cyre\cyrz\cyru\cyrl\cyrsftsn\cyrt.}%
+ \crefname@preamble{example}%
+ {\cyrp\cyrr\cyri\cyrm.}%
+ {\cyrp\cyrr\cyri\cyrm\cyre\cyrr.}%
+ \crefname@preamble{remark}%
+ {\cyrp\cyrr\cyri\cyrm\cyre\cyrch.}%
+ {\cyrp\cyrr\cyri\cyrm\cyre\cyrch.}%
+ \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{listing}%
+ {\cyrl\cyri\cyrs\cyrt\cyri\cyrn.}%
+ {\cyrl\cyri\cyrs\cyrt\cyri\cyrn\cyrg.}%
+ \crefname@preamble{line}%
+ {\cyrs\cyrt\cyrr\cyrk.}%
+ {\cyrs\cyrt\cyrr\cyrk.}%
+ \else% abbrev unset
+ \crefname@preamble{equation}%
+ {\cyrf\cyro\cyrr\cyrm\cyru\cyrl\cyra}%
+ {\cyrf\cyro\cyrr\cyrm\cyru\cyrl\cyrery}%
+ \crefname@preamble{figure}%
+ {\cyrr\cyri\cyrs\cyru\cyrn\cyro\cyrk}%
+ {\cyrr\cyri\cyrs\cyru\cyrn\cyrk\cyri}%
+ \crefname@preamble{table}%
+ {\cyrt\cyra\cyrb\cyrl\cyri\cyrc\cyra}%
+ {\cyrt\cyra\cyrb\cyrl\cyri\cyrc\cyrery}%
+ \crefname@preamble{enumi}%
+ {\cyrp\cyru\cyrn\cyrk\cyrt}%
+ {\cyrp\cyru\cyrn\cyrk\cyrt\cyrery}%
+ \crefname@preamble{chapter}%
+ {\cyrg\cyrl\cyra\cyrv\cyra}%
+ {\cyrg\cyrl\cyra\cyrv\cyrery}%
+ \crefname@preamble{section}%
+ {\cyrr\cyra\cyrz\cyrd\cyre\cyrl}%
+ {\cyrr\cyra\cyrz\cyrd\cyre\cyrl\cyrery}%
+ \crefname@preamble{appendix}%
+ {\cyrp\cyrr\cyri\cyrl\cyro\cyrzh\cyre\cyrn\cyri\cyre}%
+ {\cyrp\cyrr\cyri\cyrl\cyro\cyrzh\cyre\cyrn\cyri\cyrya}%
+ \crefname@preamble{footnote}%
+ {\cyrs\cyrn\cyro\cyrs\cyrk\cyra}%
+ {\cyrs\cyrn\cyro\cyrs\cyrk\cyri}%
+ \crefname@preamble{theorem}%
+ {\cyrt\cyre\cyro\cyrr\cyre\cyrm\cyra}%
+ {\cyrt\cyre\cyro\cyrr\cyre\cyrm\cyrery}%
+ \crefname@preamble{lemma}%
+ {\cyrl\cyre\cyrm\cyrm\cyra}%
+ {\cyrl\cyre\cyrm\cyrm\cyrery}%
+ \crefname@preamble{corollary}%
+ {\cyrv\cyrery\cyrv\cyro\cyrd}%
+ {\cyrv\cyrery\cyrv\cyro\cyrd\cyrery}%
+ \crefname@preamble{proposition}%
+ {\cyru\cyrt\cyrv\cyre\cyrr\cyrzh\cyrd\cyre\cyrn\cyri\cyre}%
+ {\cyru\cyrt\cyrv\cyre\cyrr\cyrzh\cyrd\cyre\cyrn\cyri\cyrya}%
+ \crefname@preamble{definition}%
+ {\cyro\cyrp\cyrr\cyre\cyrd\cyre\cyrl\cyre\cyrn\cyri\cyre}%
+ {\cyro\cyrp\cyrr\cyre\cyrd\cyre\cyrl\cyre\cyrn\cyri\cyrya}%
+ \crefname@preamble{result}%
+ {\cyrr\cyre\cyrz\cyru\cyrl\cyrsftsn\cyrt\cyra\cyrt}%
+ {\cyrr\cyre\cyrz\cyru\cyrl\cyrsftsn\cyrt\cyra\cyrt\cyrery}%
+ \crefname@preamble{example}%
+ {\cyrp\cyrr\cyri\cyrm\cyre\cyrr}%
+ {\cyrp\cyrr\cyri\cyrm\cyre\cyrr\cyrery}%
+ \crefname@preamble{remark}%
+ {\cyrp\cyrr\cyri\cyrm\cyre\cyrch\cyra\cyrn\cyri\cyre}%
+ {\cyrp\cyrr\cyri\cyrm\cyre\cyrch\cyra\cyrn\cyri\cyrya}%
+ \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{listing}%
+ {\cyrl\cyri\cyrs\cyrt\cyri\cyrn\cyrg}%
+ {\cyrl\cyri\cyrs\cyrt\cyri\cyrn\cyrg\cyri}%
+ \crefname@preamble{line}%
+ {\cyrs\cyrt\cyrr\cyro\cyrk\cyra}%
+ {\cyrs\cyrt\cyrr\cyro\cyrk\cyri}%
+ \fi%
+ \crefname@preamble{page}%
+ {\cyrs\cyrt\cyrr\cyra\cyrn\cyri\cyrc\cyre}%
+ {\cyrs\cyrt\cyrr\cyra\cyrn\cyri\cyrc\cyra\cyrh}%
\crefname@preamble{part}%
{\cyrch\cyra\cyrs\cyrt\cyrsftsn}%
{\cyrch\cyra\cyrs\cyrt\cyri}%
- \crefname@preamble{chapter}%
- {\cyrg\cyrl\cyra\cyrv.}%
- {\cyrg\cyrl\cyra\cyrv.}%
- \crefname@preamble{section}%
- {\cyrr\cyra\cyrz\cyrd.}%
- {\cyrr\cyra\cyrz\cyrd\cyre\cyrl.}%
- \crefname@preamble{appendix}%
- {\cyrp\cyrr\cyri\cyrl\cyro\cyrzh.}%
- {\cyrp\cyrr\cyri\cyrl\cyro\cyrzh.}%
- \crefname@preamble{enumi}{\cyrp.}{\cyrp.\cyrp.}%
- \crefname@preamble{footnote}%
- {\cyrs\cyrn\cyro\cyrs\cyrk.}%
- {\cyrs\cyrn\cyro\cyrs\cyrk.}%
- \crefname@preamble{figure}%
- {\cyrr\cyri\cyrs.}%
- {\cyrr\cyri\cyrs.}%
- \crefname@preamble{table}%
- {\cyrt\cyra\cyrb\cyrl.}%
- {\cyrt\cyra\cyrb\cyrl.}%
- \crefname@preamble{theorem}%
- {\cyrt\cyre\cyro\cyrr\cyre\cyrm.}%
- {\cyrt\cyre\cyro\cyrr\cyre\cyrm.}%
- \crefname@preamble{lemma}%
- {\cyrl\cyre\cyrm\cyrm.}%
- {\cyrl\cyre\cyrm\cyrm.}%
- \crefname@preamble{corollary}%
- {\cyrv\cyrery\cyrv\cyro\cyrd}%
- {\cyrv\cyrery\cyrv\cyro\cyrd.}%
- \crefname@preamble{proposition}%
- {\cyru\cyrt\cyrv\cyre\cyrr\cyrzh\cyrd.}%
- {\cyru\cyrt\cyrv\cyre\cyrr\cyrzh\cyrd.}%
- \crefname@preamble{definition}%
- {\cyro\cyrp\cyrr\cyre\cyrd\cyre\cyrl\cyre\cyrn.}%
- {\cyro\cyrp\cyrr\cyre\cyrd\cyre\cyrl\cyre\cyrn.}%
- \crefname@preamble{result}%
- {\cyrr\cyre\cyrz\cyru\cyrl\cyrsftsn\cyrt.}%
- {\cyrr\cyre\cyrz\cyru\cyrl\cyrsftsn\cyrt.}%
- \crefname@preamble{example}%
- {\cyrp\cyrr\cyri\cyrm.}%
- {\cyrp\cyrr\cyri\cyrm\cyre\cyrr.}%
- \crefname@preamble{remark}%
- {\cyrp\cyrr\cyri\cyrm\cyre\cyrch.}%
- {\cyrp\cyrr\cyri\cyrm\cyre\cyrch.}%
- \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{listing}%
- {\cyrl\cyri\cyrs\cyrt\cyri\cyrn.}%
- {\cyrl\cyri\cyrs\cyrt\cyri\cyrn\cyrg.}%
- \crefname@preamble{line}%
- {\cyrs\cyrt\cyrr\cyrk.}%
- {\cyrs\cyrt\cyrr\cyrk.}%
\fi%
\def\cref@language{russian}%
\cref@addto\extrasrussian{%
@@ -4402,9 +5151,25 @@
\renewcommand{\crefmiddlegroupconjunction}{, }%
\renewcommand{\creflastgroupconjunction}%
{, \cyra\ \cyrt\cyra\cyrk\cyrzh\cyre\nobreakspace}%
+ %
+ \Crefname{page}%
+ {\CYRS\cyrt\cyrr\cyra\cyrn\cyri\cyrc\cyra}%
+ {\CYRS\cyrt\cyrr\cyra\cyrn\cyri\cyrc\cyrery}%
\Crefname{equation}%
{\CYRF\cyro\cyrr\cyrm\cyru\cyrl\cyra}%
{\CYRF\cyro\cyrr\cyrm\cyru\cyrl\cyrery}%
+ \Crefname{figure}%
+ {\CYRR\cyri\cyrs\cyru\cyrn\cyro\cyrk}%
+ {\CYRR\cyri\cyrs\cyru\cyrn\cyrk\cyri}%
+ \Crefname{subfigure}%
+ {\CYRR\cyri\cyrs\cyru\cyrn\cyro\cyrk}%
+ {\CYRR\cyri\cyrs\cyru\cyrn\cyrk\cyri}%
+ \Crefname{table}%
+ {\CYRT\cyra\cyrb\cyrl\cyri\cyrc\cyra}%
+ {\CYRT\cyra\cyrb\cyrl\cyri\cyrc\cyrery}%
+ \Crefname{subtable}%
+ {\CYRT\cyra\cyrb\cyrl\cyri\cyrc\cyra}%
+ {\CYRT\cyra\cyrb\cyrl\cyri\cyrc\cyrery}%
\Crefname{part}%
{\CYRCH\cyra\cyrs\cyrt\cyrsftsn}%
{\CYRCH\cyra\cyrs\cyrt\cyri}%
@@ -4450,18 +5215,6 @@
\Crefname{footnote}%
{\CYRS\cyrn\cyro\cyrs\cyrk\cyra}%
{\CYRS\cyrn\cyro\cyrs\cyrk\cyri}%
- \Crefname{figure}%
- {\CYRR\cyri\cyrs\cyru\cyrn\cyro\cyrk}%
- {\CYRR\cyri\cyrs\cyru\cyrn\cyrk\cyri}%
- \Crefname{subfigure}%
- {\CYRR\cyri\cyrs\cyru\cyrn\cyro\cyrk}%
- {\CYRR\cyri\cyrs\cyru\cyrn\cyrk\cyri}%
- \Crefname{table}%
- {\CYRT\cyra\cyrb\cyrl\cyri\cyrc\cyra}%
- {\CYRT\cyra\cyrb\cyrl\cyri\cyrc\cyrery}%
- \Crefname{subtable}%
- {\CYRT\cyra\cyrb\cyrl\cyri\cyrc\cyra}%
- {\CYRT\cyra\cyrb\cyrl\cyri\cyrc\cyrery}%
\Crefname{theorem}%
{\CYRT\cyre\cyro\cyrr\cyre\cyrm\cyra}%
{\CYRT\cyre\cyro\cyrr\cyre\cyrm\cyrery}%
@@ -4498,8 +5251,74 @@
\Crefname{line}%
{\CYRS\cyrt\cyrr\cyro\cyrk\cyra}%
{\CYRS\cyrt\cyrr\cyro\cyrk\cyri}%
- \if@cref@capitalise%
- \crefname{equation}{\CYRF-\cyrl.}{\CYRF-\cyrl.}%
+ %
+ \if@cref@capitalise% capitalise set
+ \if@cref@abbrev% abbrev set
+ \crefname{equation}%
+ {\CYRF-\cyrl.}%
+ {\CYRF-\cyrl.}%
+ \crefname{figure}%
+ {\CYRR\cyri\cyrs.}%
+ {\CYRR\cyri\cyrs.}%
+ \crefname{subfigure}%
+ {\CYRR\cyri\cyrs.}%
+ {\CYRR\cyri\cyrs.}%
+ \crefname{table}%
+ {\CYRT\cyra\cyrb\cyrl.}%
+ {\CYRT\cyra\cyrb\cyrl.}%
+ \crefname{subtable}%
+ {\CYRT\cyra\cyrb\cyrl.}%
+ {\CYRT\cyra\cyrb\cyrl.}%
+ \crefname{enumi}%
+ {\CYRP.}%
+ {\CYRP.\cyrp.}%
+ \crefname{enumii}%
+ {\CYRP.}%
+ {\CYRP.\cyrp.}%
+ \crefname{enumiii}%
+ {\CYRP.}%
+ {\CYRP.\cyrp.}%
+ \crefname{enumiv}%
+ {\CYRP.}%
+ {\CYRP.\cyrp.}%
+ \crefname{enumv}%
+ {\CYRP.}%
+ {\CYRP.\cyrp.}%
+ \else% abbrev unset
+ \crefname{equation}%
+ {\CYRF\cyro\cyrr\cyrm\cyru\cyrl\cyra}%
+ {\CYRF\cyro\cyrr\cyrm\cyru\cyrl\cyrery}%
+ \crefname{figure}%
+ {\CYRR\cyri\cyrs\cyru\cyrn\cyro\cyrk}%
+ {\CYRR\cyri\cyrs\cyru\cyrn\cyrk\cyri}%
+ \crefname{subfigure}%
+ {\CYRR\cyri\cyrs\cyru\cyrn\cyro\cyrk}%
+ {\CYRR\cyri\cyrs\cyru\cyrn\cyrk\cyri}%
+ \crefname{table}%
+ {\CYRT\cyra\cyrb\cyrl\cyri\cyrc\cyra}%
+ {\CYRT\cyra\cyrb\cyrl\cyri\cyrc\cyrery}%
+ \crefname{subtable}%
+ {\CYRT\cyra\cyrb\cyrl\cyri\cyrc\cyra}%
+ {\CYRT\cyra\cyrb\cyrl\cyri\cyrc\cyrery}%
+ \crefname{enumi}%
+ {\CYRP\cyru\cyrn\cyrk\cyrt}%
+ {\CYRP\cyru\cyrn\cyrk\cyrt\cyrery}%
+ \crefname{enumii}%
+ {\CYRP\cyru\cyrn\cyrk\cyrt}%
+ {\CYRP\cyru\cyrn\cyrk\cyrt\cyrery}%
+ \crefname{enumiii}%
+ {\CYRP\cyru\cyrn\cyrk\cyrt}%
+ {\CYRP\cyru\cyrn\cyrk\cyrt\cyrery}%
+ \crefname{enumiv}%
+ {\CYRP\cyru\cyrn\cyrk\cyrt}%
+ {\CYRP\cyru\cyrn\cyrk\cyrt\cyrery}%
+ \crefname{enumv}%
+ {\CYRP\cyru\cyrn\cyrk\cyrt}%
+ {\CYRP\cyru\cyrn\cyrk\cyrt\cyrery}%
+ \fi%
+ \crefname{page}%
+ {\CYRS\cyrt\cyrr\cyra\cyrn\cyri\cyrc\cyra}%
+ {\CYRS\cyrt\cyrr\cyra\cyrn\cyri\cyrc\cyrery}%
\crefname{part}%
{\CYRCH\cyra\cyrs\cyrt\cyrsftsn}%
{\CYRCH\cyra\cyrs\cyrt\cyri}%
@@ -4527,26 +5346,9 @@
\crefname{subsubsubappendix}%
{\CYRP\cyrr\cyri\cyrl\cyro\cyrzh\cyre\cyrn\cyri\cyre}%
{\CYRP\cyrr\cyri\cyrl\cyro\cyrzh\cyre\cyrn\cyri\cyrya}%
- \crefname{enumi}{\CYRP.}{\CYRP.\cyrp.}%
- \crefname{enumii}{\CYRP.}{\CYRP.\cyrp.}%
- \crefname{enumiii}{\CYRP.}{\CYRP.\cyrp.}%
- \crefname{enumiv}{\CYRP.}{\CYRP.\cyrp.}%
- \crefname{enumv}{\CYRP.}{\CYRP.\cyrp.}%
\crefname{footnote}%
{\CYRS\cyrn\cyro\cyrs\cyrk\cyra}%
{\CYRS\cyrn\cyro\cyrs\cyrk\cyri}%
- \crefname{figure}%
- {\CYRR\cyri\cyrs.}%
- {\CYRR\cyri\cyrs.}%
- \crefname{subfigure}%
- {\CYRR\cyri\cyrs.}%
- {\CYRR\cyri\cyrs.}%
- \crefname{table}%
- {\CYRT\cyra\cyrb\cyrl.}%
- {\CYRT\cyra\cyrb\cyrl.}%
- \crefname{subtable}%
- {\CYRT\cyra\cyrb\cyrl.}%
- {\CYRT\cyra\cyrb\cyrl.}%
\crefname{theorem}%
{\CYRT\cyre\cyro\cyrr\cyre\cyrm\cyra}%
{\CYRT\cyre\cyro\cyrr\cyre\cyrm\cyrery}%
@@ -4583,91 +5385,203 @@
\crefname{line}%
{\CYRS\cyrt\cyrr\cyro\cyrk\cyra}%
{\CYRS\cyrt\cyrr\cyro\cyrk\cyri}%
- \else%
- \crefname{equation}{\cyrf-\cyrl.}{\cyrf-\cyrl.}%
+ %
+ \else% capitalise unset
+ \if@cref@abbrev% abbrev set
+ \crefname{equation}%
+ {\cyrf-\cyrl.}%
+ {\cyrf-\cyrl.}%
+ \crefname{chapter}%
+ {\cyrg\cyrl\cyra\cyrv.}%
+ {\cyrg\cyrl\cyra\cyrv.}%
+ \crefname{section}%
+ {\cyrr\cyra\cyrz\cyrd.}%
+ {\cyrr\cyra\cyrz\cyrd\cyre\cyrl.}%
+ \crefname{subsection}%
+ {\cyrr\cyra\cyrz\cyrd.}%
+ {\cyrr\cyra\cyrz\cyrd\cyre\cyrl.}%
+ \crefname{subsubsection}%
+ {\cyrr\cyra\cyrz\cyrd.}%
+ {\cyrr\cyra\cyrz\cyrd\cyre\cyrl.}%
+ \crefname{appendix}%
+ {\cyrp\cyrr\cyri\cyrl\cyro\cyrzh.}%
+ {\cyrp\cyrr\cyri\cyrl\cyro\cyrzh.}%
+ \crefname{subappendix}%
+ {\cyrp\cyrr\cyri\cyrl\cyro\cyrzh.}%
+ {\cyrp\cyrr\cyri\cyrl\cyro\cyrzh.}%
+ \crefname{subsubappendix}%
+ {\cyrp\cyrr\cyri\cyrl\cyro\cyrzh.}%
+ {\cyrp\cyrr\cyri\cyrl\cyro\cyrzh.}%
+ \crefname{subsubsubappendix}%
+ {\cyrp\cyrr\cyri\cyrl\cyro\cyrzh.}%
+ {\cyrp\cyrr\cyri\cyrl\cyro\cyrzh.}%
+ \crefname{enumi}%
+ {\cyrp.}%
+ {\cyrp.\cyrp.}%
+ \crefname{enumii}%
+ {\cyrp.}%
+ {\cyrp.\cyrp.}%
+ \crefname{enumiii}%
+ {\cyrp.}%
+ {\cyrp.\cyrp.}%
+ \crefname{enumiv}%
+ {\cyrp.}%
+ {\cyrp.\cyrp.}%
+ \crefname{enumv}%
+ {\cyrp.}%
+ {\cyrp.\cyrp.}%
+ \crefname{footnote}%
+ {\cyrs\cyrn\cyro\cyrs\cyrk.}%
+ {\cyrs\cyrn\cyro\cyrs\cyrk.}%
+ \crefname{figure}%
+ {\cyrr\cyri\cyrs.}%
+ {\cyrr\cyri\cyrs.}%
+ \crefname{subfigure}%
+ {\cyrr\cyri\cyrs.}%
+ {\cyrr\cyri\cyrs.}%
+ \crefname{table}%
+ {\cyrt\cyra\cyrb\cyrl.}%
+ {\cyrt\cyra\cyrb\cyrl.}%
+ \crefname{subtable}%
+ {\cyrt\cyra\cyrb\cyrl.}%
+ {\cyrt\cyra\cyrb\cyrl.}%
+ \crefname{theorem}%
+ {\cyrt\cyre\cyro\cyrr\cyre\cyrm.}%
+ {\cyrt\cyre\cyro\cyrr\cyre\cyrm.}%
+ \crefname{lemma}%
+ {\cyrl\cyre\cyrm\cyrm.}%
+ {\cyrl\cyre\cyrm\cyrm.}%
+ \crefname{corollary}%
+ {\cyrv\cyrery\cyrv\cyro\cyrd}%
+ {\cyrv\cyrery\cyrv\cyro\cyrd.}%
+ \crefname{proposition}%
+ {\cyru\cyrt\cyrv\cyre\cyrr\cyrzh\cyrd.}%
+ {\cyru\cyrt\cyrv\cyre\cyrr\cyrzh\cyrd.}%
+ \crefname{definition}%
+ {\cyro\cyrp\cyrr\cyre\cyrd\cyre\cyrl\cyre\cyrn.}%
+ {\cyro\cyrp\cyrr\cyre\cyrd\cyre\cyrl\cyre\cyrn.}%
+ \crefname{result}%
+ {\cyrr\cyre\cyrz\cyru\cyrl\cyrsftsn\cyrt.}%
+ {\cyrr\cyre\cyrz\cyru\cyrl\cyrsftsn\cyrt.}%
+ \crefname{example}%
+ {\cyrp\cyrr\cyri\cyrm.}%
+ {\cyrp\cyrr\cyri\cyrm\cyre\cyrr.}%
+ \crefname{remark}%
+ {\cyrp\cyrr\cyri\cyrm\cyre\cyrch.}%
+ {\cyrp\cyrr\cyri\cyrm\cyre\cyrch.}%
+ \crefname{note}%
+ {\cyrz\cyra\cyrm\cyre\cyrt\cyrk.}%
+ {\cyrz\cyra\cyrm\cyre\cyrt\cyrk.}%
+ \crefname{algorithm}%
+ {\cyra\cyrl\cyrg.}%
+ {\cyra\cyrl\cyrg.}%
+ \crefname{listing}%
+ {\cyrl\cyri\cyrs\cyrt\cyri\cyrn.}%
+ {\cyrl\cyri\cyrs\cyrt\cyri\cyrn\cyrg.}%
+ \crefname{line}%
+ {\cyrs\cyrt\cyrr\cyrk.}%
+ {\cyrs\cyrt\cyrr\cyrk.}%
+ \else% abbrev unset
+ \crefname{equation}%
+ {\cyrf\cyro\cyrr\cyrm\cyru\cyrl\cyra}%
+ {\cyrf\cyro\cyrr\cyrm\cyru\cyrl\cyrery}%
+ \crefname{figure}%
+ {\cyrr\cyri\cyrs\cyru\cyrn\cyro\cyrk}%
+ {\cyrr\cyri\cyrs\cyru\cyrn\cyrk\cyri}%
+ \crefname{subfigure}%
+ {\cyrr\cyri\cyrs\cyru\cyrn\cyro\cyrk}%
+ {\cyrr\cyri\cyrs\cyru\cyrn\cyrk\cyri}%
+ \crefname{table}%
+ {\cyrt\cyra\cyrb\cyrl\cyri\cyrc\cyra}%
+ {\cyrt\cyra\cyrb\cyrl\cyri\cyrc\cyrery}%
+ \crefname{subtable}%
+ {\cyrt\cyra\cyrb\cyrl\cyri\cyrc\cyra}%
+ {\cyrt\cyra\cyrb\cyrl\cyri\cyrc\cyrery}%
+ \crefname{enumi}%
+ {\cyrp\cyru\cyrn\cyrk\cyrt}%
+ {\cyrp\cyru\cyrn\cyrk\cyrt\cyrery}%
+ \crefname{enumii}%
+ {\cyrp\cyru\cyrn\cyrk\cyrt}%
+ {\cyrp\cyru\cyrn\cyrk\cyrt\cyrery}%
+ \crefname{enumiii}%
+ {\cyrp\cyru\cyrn\cyrk\cyrt}%
+ {\cyrp\cyru\cyrn\cyrk\cyrt\cyrery}%
+ \crefname{enumiv}%
+ {\cyrp\cyru\cyrn\cyrk\cyrt}%
+ {\cyrp\cyru\cyrn\cyrk\cyrt\cyrery}%
+ \crefname{enumv}%
+ {\cyrp\cyru\cyrn\cyrk\cyrt}%
+ {\cyrp\cyru\cyrn\cyrk\cyrt\cyrery}%
+ \crefname{chapter}%
+ {\cyrg\cyrl\cyra\cyrv\cyra}%
+ {\cyrg\cyrl\cyra\cyrv\cyrery}%
+ \crefname{section}%
+ {\cyrr\cyra\cyrz\cyrd\cyre\cyrl}%
+ {\cyrr\cyra\cyrz\cyrd\cyre\cyrl\cyrery}%
+ \crefname{subsection}%
+ {\cyrr\cyra\cyrz\cyrd\cyre\cyrl}%
+ {\cyrr\cyra\cyrz\cyrd\cyre\cyrl\cyrery}%
+ \crefname{subsubsection}%
+ {\cyrr\cyra\cyrz\cyrd\cyre\cyrl}%
+ {\cyrr\cyra\cyrz\cyrd\cyre\cyrl\cyrery}%
+ \crefname{appendix}%
+ {\cyrp\cyrr\cyri\cyrl\cyro\cyrzh\cyre\cyrn\cyri\cyre}%
+ {\cyrp\cyrr\cyri\cyrl\cyro\cyrzh\cyre\cyrn\cyri\cyrya}%
+ \crefname{subappendix}%
+ {\cyrp\cyrr\cyri\cyrl\cyro\cyrzh\cyre\cyrn\cyri\cyre}%
+ {\cyrp\cyrr\cyri\cyrl\cyro\cyrzh\cyre\cyrn\cyri\cyrya}%
+ \crefname{subsubappendix}%
+ {\cyrp\cyrr\cyri\cyrl\cyro\cyrzh\cyre\cyrn\cyri\cyre}%
+ {\cyrp\cyrr\cyri\cyrl\cyro\cyrzh\cyre\cyrn\cyri\cyrya}%
+ \crefname{subsubsubappendix}%
+ {\cyrp\cyrr\cyri\cyrl\cyro\cyrzh\cyre\cyrn\cyri\cyre}%
+ {\cyrp\cyrr\cyri\cyrl\cyro\cyrzh\cyre\cyrn\cyri\cyrya}%
+ \crefname{footnote}%
+ {\cyrs\cyrn\cyro\cyrs\cyrk\cyra}%
+ {\cyrs\cyrn\cyro\cyrs\cyrk\cyri}%
+ \crefname{theorem}%
+ {\cyrt\cyre\cyro\cyrr\cyre\cyrm\cyra}%
+ {\cyrt\cyre\cyro\cyrr\cyre\cyrm\cyrery}%
+ \crefname{lemma}%
+ {\cyrl\cyre\cyrm\cyrm\cyra}%
+ {\cyrl\cyre\cyrm\cyrm\cyrery}%
+ \crefname{corollary}%
+ {\cyrv\cyrery\cyrv\cyro\cyrd}%
+ {\cyrv\cyrery\cyrv\cyro\cyrd\cyrery}%
+ \crefname{proposition}%
+ {\cyru\cyrt\cyrv\cyre\cyrr\cyrzh\cyrd\cyre\cyrn\cyri\cyre}%
+ {\cyru\cyrt\cyrv\cyre\cyrr\cyrzh\cyrd\cyre\cyrn\cyri\cyrya}%
+ \crefname{definition}%
+ {\cyro\cyrp\cyrr\cyre\cyrd\cyre\cyrl\cyre\cyrn\cyri\cyre}%
+ {\cyro\cyrp\cyrr\cyre\cyrd\cyre\cyrl\cyre\cyrn\cyri\cyrya}%
+ \crefname{result}%
+ {\cyrr\cyre\cyrz\cyru\cyrl\cyrsftsn\cyrt\cyra\cyrt}%
+ {\cyrr\cyre\cyrz\cyru\cyrl\cyrsftsn\cyrt\cyra\cyrt\cyrery}%
+ \crefname{example}%
+ {\cyrp\cyrr\cyri\cyrm\cyre\cyrr}%
+ {\cyrp\cyrr\cyri\cyrm\cyre\cyrr\cyrery}%
+ \crefname{remark}%
+ {\cyrp\cyrr\cyri\cyrm\cyre\cyrch\cyra\cyrn\cyri\cyre}%
+ {\cyrp\cyrr\cyri\cyrm\cyre\cyrch\cyra\cyrn\cyri\cyrya}%
+ \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{listing}%
+ {\cyrl\cyri\cyrs\cyrt\cyri\cyrn\cyrg}%
+ {\cyrl\cyri\cyrs\cyrt\cyri\cyrn\cyrg\cyri}%
+ \crefname{line}%
+ {\cyrs\cyrt\cyrr\cyro\cyrk\cyra}%
+ {\cyrs\cyrt\cyrr\cyro\cyrk\cyri}%
+ \fi%
+ \crefname{page}%
+ {\cyrs\cyrt\cyrr\cyra\cyrn\cyri\cyrc\cyre}%
+ {\cyrs\cyrt\cyrr\cyra\cyrn\cyri\cyrc\cyra\cyrh}%
\crefname{part}%
{\cyrch\cyra\cyrs\cyrt\cyrsftsn}%
{\cyrch\cyra\cyrs\cyrt\cyri}%
- \crefname{chapter}%
- {\cyrg\cyrl\cyra\cyrv.}%
- {\cyrg\cyrl\cyra\cyrv.}%
- \crefname{section}%
- {\cyrr\cyra\cyrz\cyrd.}%
- {\cyrr\cyra\cyrz\cyrd\cyre\cyrl.}%
- \crefname{subsection}%
- {\cyrr\cyra\cyrz\cyrd.}%
- {\cyrr\cyra\cyrz\cyrd\cyre\cyrl.}%
- \crefname{subsubsection}%
- {\cyrr\cyra\cyrz\cyrd.}%
- {\cyrr\cyra\cyrz\cyrd\cyre\cyrl.}%
- \crefname{appendix}%
- {\cyrp\cyrr\cyri\cyrl\cyro\cyrzh.}%
- {\cyrp\cyrr\cyri\cyrl\cyro\cyrzh.}%
- \crefname{subappendix}%
- {\cyrp\cyrr\cyri\cyrl\cyro\cyrzh.}%
- {\cyrp\cyrr\cyri\cyrl\cyro\cyrzh.}%
- \crefname{subsubappendix}%
- {\cyrp\cyrr\cyri\cyrl\cyro\cyrzh.}%
- {\cyrp\cyrr\cyri\cyrl\cyro\cyrzh.}%
- \crefname{subsubsubappendix}%
- {\cyrp\cyrr\cyri\cyrl\cyro\cyrzh.}%
- {\cyrp\cyrr\cyri\cyrl\cyro\cyrzh.}%
- \crefname{enumi}{\cyrp.}{\cyrp.\cyrp.}%
- \crefname{enumii}{\cyrp.}{\cyrp.\cyrp.}%
- \crefname{enumiii}{\cyrp.}{\cyrp.\cyrp.}%
- \crefname{enumiv}{\cyrp.}{\cyrp.\cyrp.}%
- \crefname{enumv}{\cyrp.}{\cyrp.\cyrp.}%
- \crefname{footnote}%
- {\cyrs\cyrn\cyro\cyrs\cyrk.}%
- {\cyrs\cyrn\cyro\cyrs\cyrk.}%
- \crefname{figure}%
- {\cyrr\cyri\cyrs.}%
- {\cyrr\cyri\cyrs.}%
- \crefname{subfigure}%
- {\cyrr\cyri\cyrs.}%
- {\cyrr\cyri\cyrs.}%
- \crefname{table}%
- {\cyrt\cyra\cyrb\cyrl.}%
- {\cyrt\cyra\cyrb\cyrl.}%
- \crefname{subtable}%
- {\cyrt\cyra\cyrb\cyrl.}%
- {\cyrt\cyra\cyrb\cyrl.}%
- \crefname{theorem}%
- {\cyrt\cyre\cyro\cyrr\cyre\cyrm.}%
- {\cyrt\cyre\cyro\cyrr\cyre\cyrm.}%
- \crefname{lemma}%
- {\cyrl\cyre\cyrm\cyrm.}%
- {\cyrl\cyre\cyrm\cyrm.}%
- \crefname{corollary}%
- {\cyrv\cyrery\cyrv\cyro\cyrd}%
- {\cyrv\cyrery\cyrv\cyro\cyrd.}%
- \crefname{proposition}%
- {\cyru\cyrt\cyrv\cyre\cyrr\cyrzh\cyrd.}%
- {\cyru\cyrt\cyrv\cyre\cyrr\cyrzh\cyrd.}%
- \crefname{definition}%
- {\cyro\cyrp\cyrr\cyre\cyrd\cyre\cyrl\cyre\cyrn.}%
- {\cyro\cyrp\cyrr\cyre\cyrd\cyre\cyrl\cyre\cyrn.}%
- \crefname{result}%
- {\cyrr\cyre\cyrz\cyru\cyrl\cyrsftsn\cyrt.}%
- {\cyrr\cyre\cyrz\cyru\cyrl\cyrsftsn\cyrt.}%
- \crefname{example}%
- {\cyrp\cyrr\cyri\cyrm.}%
- {\cyrp\cyrr\cyri\cyrm\cyre\cyrr.}%
- \crefname{remark}%
- {\cyrp\cyrr\cyri\cyrm\cyre\cyrch.}%
- {\cyrp\cyrr\cyri\cyrm\cyre\cyrch.}%
- \crefname{note}%
- {\cyrz\cyra\cyrm\cyre\cyrt\cyrk.}%
- {\cyrz\cyra\cyrm\cyre\cyrt\cyrk.}%
- \crefname{algorithm}%
- {\cyra\cyrl\cyrg.}%
- {\cyra\cyrl\cyrg.}%
- \crefname{listing}%
- {\cyrl\cyri\cyrs\cyrt\cyri\cyrn.}%
- {\cyrl\cyri\cyrs\cyrt\cyri\cyrn\cyrg.}%
- \crefname{line}%
- {\cyrs\cyrt\cyrr\cyrk.}%
- {\cyrs\cyrt\cyrr\cyrk.}%
\fi%
}}}
\DeclareOption{ukrainian}{%
@@ -4683,12 +5597,19 @@
\def\crefmiddlegroupconjunction@preamble{, }%
\def\creflastgroupconjunction@preamble%
{, \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{figure}%
+ {\CYRR\cyri\cyrs\cyru\cyrn\cyro\cyrk}%
+ {\CYRR\cyri\cyrs\cyru\cyrn\cyrk\cyri}%
+ \Crefname@preamble{table}%
+ {\CYRT\cyra\cyrb\cyrl\cyri\cyrc\cyrya}%
+ {\CYRT\cyra\cyrb\cyrl\cyri\cyrc\cyrii}%
+ \Crefname@preamble{enumi}%
+ {\CYRP\cyru\cyrn\cyrk\cyrt}%
+ {\CYRP\cyru\cyrn\cyrk\cyrt\cyri}%
\Crefname@preamble{chapter}%
{\CYRG\cyrl\cyra\cyrv\cyra}%
{\CYRG\cyrl\cyra\cyrv\cyri}%
@@ -4698,18 +5619,9 @@
\Crefname@preamble{appendix}%
{\CYRD\cyro\cyrd\cyra\cyrt\cyro\cyrk}%
{\CYRD\cyro\cyrd\cyra\cyrt\cyrk\cyri}%
- \Crefname@preamble{enumi}%
- {\CYRP\cyru\cyrn\cyrk\cyrt}%
- {\CYRP\cyru\cyrn\cyrk\cyrt\cyri}%
\Crefname@preamble{footnote}%
{\CYRV\cyri\cyrn\cyro\cyrs\cyrk\cyra}%
{\CYRV\cyri\cyrn\cyro\cyrs\cyrk\cyri}%
- \Crefname@preamble{figure}%
- {\CYRR\cyri\cyrs\cyru\cyrn\cyro\cyrk}%
- {\CYRR\cyri\cyrs\cyru\cyrn\cyrk\cyri}%
- \Crefname@preamble{table}%
- {\CYRT\cyra\cyrb\cyrl\cyri\cyrc\cyrya}%
- {\CYRT\cyra\cyrb\cyrl\cyri\cyrc\cyrii}%
\Crefname@preamble{theorem}%
{\CYRT\cyre\cyro\cyrr\cyre\cyrm\cyra}%
{\CYRT\cyre\cyro\cyrr\cyre\cyrm\cyri}%
@@ -4746,11 +5658,41 @@
\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{part}%
- {\CYRCH\cyra\cyrs\cyrt\cyri\cyrn\cyra}%
- {\CYRCH\cyra\cyrs\cyrt\cyri\cyrn\cyri}%
+ \Crefname@preamble{page}%
+ {\CYRS\cyrt\cyro\cyrr\cyri\cyrn\cyrk\cyra}%
+ {\CYRS\cyrt\cyro\cyrr\cyrii\cyrn\cyrk\cyri}%
+ \Crefname@preamble{part}%
+ {\CYRCH\cyra\cyrs\cyrt\cyri\cyrn\cyra}%
+ {\CYRCH\cyra\cyrs\cyrt\cyri\cyrn\cyri}%
+ %
+ \if@cref@capitalise% capitalise set
+ \if@cref@abbrev% abbrev set
+ \crefname@preamble{equation}%
+ {\CYRF-\cyrl.}%
+ {\CYRF-\cyrl.}%
+ \crefname@preamble{figure}%
+ {\CYRR\cyri\cyrs.}%
+ {\CYRR\cyri\cyrs.}%
+ \crefname@preamble{table}%
+ {\CYRT\cyra\cyrb\cyrl.}%
+ {\CYRT\cyra\cyrb\cyrl.}%
+ \crefname@preamble{enumi}%
+ {\CYRP.}%
+ {\CYRP.\cyrp.}%
+ \else%
+ \crefname@preamble{equation}%
+ {\CYRF\cyro\cyrr\cyrm\cyru\cyrl\cyra}%
+ {\CYRF\cyro\cyrr\cyrm\cyru\cyrl\cyri}%
+ \crefname@preamble{figure}%
+ {\CYRR\cyri\cyrs\cyru\cyrn\cyro\cyrk}%
+ {\CYRR\cyri\cyrs\cyru\cyrn\cyrk\cyri}%
+ \crefname@preamble{table}%
+ {\CYRT\cyra\cyrb\cyrl\cyri\cyrc\cyrya}%
+ {\CYRT\cyra\cyrb\cyrl\cyri\cyrc\cyrii}%
+ \crefname@preamble{enumi}%
+ {\CYRP\cyru\cyrn\cyrk\cyrt}%
+ {\CYRP\cyru\cyrn\cyrk\cyrt\cyri}%
+ \fi%
\crefname@preamble{chapter}%
{\CYRG\cyrl\cyra\cyrv\cyra}%
{\CYRG\cyrl\cyra\cyrv\cyri}%
@@ -4760,16 +5702,9 @@
\crefname@preamble{appendix}%
{\CYRD\cyro\cyrd\cyra\cyrt\cyro\cyrk}%
{\CYRD\cyro\cyrd\cyra\cyrt\cyrk\cyri}%
- \crefname@preamble{enumi}{\CYRP.}{\CYRP.\cyrp.}%
\crefname@preamble{footnote}%
{\CYRV\cyri\cyrn\cyro\cyrs\cyrk\cyra}%
{\CYRV\cyri\cyrn\cyro\cyrs\cyrk\cyri}%
- \crefname@preamble{figure}%
- {\CYRR\cyri\cyrs.}%
- {\CYRR\cyri\cyrs.}%
- \crefname@preamble{table}%
- {\CYRT\cyra\cyrb\cyrl.}%
- {\CYRT\cyra\cyrb\cyrl.}%
\crefname@preamble{theorem}%
{\CYRT\cyre\cyro\cyrr\cyre\cyrm\cyra}%
{\CYRT\cyre\cyro\cyrr\cyre\cyrm\cyri}%
@@ -4806,66 +5741,143 @@
\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{page}%
+ {\CYRS\cyrt\cyro\cyrr\cyri\cyrn\cyrk\cyra}%
+ {\CYRS\cyrt\cyro\cyrr\cyrii\cyrn\cyrk\cyri}%
+ \crefname@preamble{part}%
+ {\CYRCH\cyra\cyrs\cyrt\cyri\cyrn\cyra}%
+ {\CYRCH\cyra\cyrs\cyrt\cyri\cyrn\cyri}%
+ %
+ \else% capitalise unset
+ \if@cref@abbrev% abbrev set
+ \crefname@preamble{equation}%
+ {\cyrf-\cyrl.}%
+ {\cyrf-\cyrl.}%
+ \crefname@preamble{figure}%
+ {\cyrr\cyri\cyrs.}%
+ {\cyrr\cyri\cyrs.}%
+ \crefname@preamble{table}%
+ {\cyrt\cyra\cyrb\cyrl.}%
+ {\cyrt\cyra\cyrb\cyrl.}%
+ \crefname@preamble{enumi}%
+ {\cyrp.}%
+ {\cyrp.\cyrp.}%
+ \crefname@preamble{chapter}%
+ {\cyrg\cyrl\cyra\cyrv.}%
+ {\cyrg\cyrl\cyra\cyrv.}%
+ \crefname@preamble{section}%
+ {\cyrr\cyro\cyrz\cyrd.}%
+ {\cyrr\cyro\cyrz\cyrd\cyrii\cyrl.}%
+ \crefname@preamble{appendix}%
+ {\cyrd\cyro\cyrd\cyra\cyrt.}%
+ {\cyrd\cyro\cyrd\cyra\cyrt\cyrk.}%
+ \crefname@preamble{footnote}%
+ {\cyrv\cyri\cyrn\cyro\cyrs\cyrk.}%
+ {\cyrv\cyri\cyrn\cyro\cyrs\cyrk.}%
+ \crefname@preamble{theorem}%
+ {\cyrt\cyre\cyro\cyrr\cyre\cyrm.}%
+ {\cyrt\cyre\cyro\cyrr\cyre\cyrm.}%
+ \crefname@preamble{lemma}%
+ {\cyrl\cyre\cyrm\cyrm.}%
+ {\cyrl\cyre\cyrm\cyrm.}%
+ \crefname@preamble{corollary}%
+ {\cyrv\cyri\cyrs\cyrn\cyro\cyrv.}%
+ {\cyrv\cyri\cyrs\cyrn\cyro\cyrv\cyrk.}%
+ \crefname@preamble{proposition}%
+ {\cyrt\cyrv\cyre\cyrr\cyrd\cyrzh\cyre\cyrn\cyrn.}%
+ {\cyrt\cyrv\cyre\cyrr\cyrd\cyrzh\cyre\cyrn\cyrn.}%
+ \crefname@preamble{definition}%
+ {\cyrv\cyri\cyrz\cyrn\cyra\cyrch\cyre\cyrn\cyrn.}%
+ {\cyrv\cyri\cyrz\cyrn\cyra\cyrch\cyre\cyrn\cyrn.}%
+ \crefname@preamble{result}%
+ {\cyrr\cyre\cyrz\cyru\cyrl\cyrsftsn\cyrt.}%
+ {\cyrr\cyre\cyrz\cyru\cyrl\cyrsftsn\cyrt\cyra\cyrt.}%
+ \crefname@preamble{example}%
+ {\cyrp\cyrr\cyri\cyrk\cyrl.}%
+ {\cyrp\cyrr\cyri\cyrk\cyrl\cyra\cyrd.}%
+ \crefname@preamble{remark}%
+ {\cyrp\cyrr\cyri\cyrm\cyrii\cyrt.}%
+ {\cyrp\cyrr\cyri\cyrm\cyrii\cyrt.}%
+ \crefname@preamble{note}%
+ {\cyrz\cyra\cyrm\cyrii\cyrt.}%
+ {\cyrz\cyra\cyrm\cyrii\cyrt.}%
+ \crefname@preamble{algorithm}%
+ {\cyra\cyrl\cyrg.}%
+ {\cyra\cyrl\cyrg.}%
+ \crefname@preamble{listing}%
+ {\cyrl\cyrii\cyrs\cyrt\cyri\cyrn.}%
+ {\cyrl\cyrii\cyrs\cyrt\cyri\cyrn\cyrg.}%
+ \crefname@preamble{line}%
+ {\cyrs\cyrt\cyrr\cyrk.}%
+ {\cyrs\cyrt\cyrr\cyrk.}%
+ \else% abbrev unset
+ \crefname@preamble{equation}%
+ {\cyrf\cyro\cyrr\cyrm\cyru\cyrl\cyra}%
+ {\cyrf\cyro\cyrr\cyrm\cyru\cyrl\cyri}%
+ \crefname@preamble{figure}%
+ {\cyrr\cyri\cyrs\cyru\cyrn\cyro\cyrk}%
+ {\cyrr\cyri\cyrs\cyru\cyrn\cyrk\cyri}%
+ \crefname@preamble{table}%
+ {\cyrt\cyra\cyrb\cyrl\cyri\cyrc\cyrya}%
+ {\cyrt\cyra\cyrb\cyrl\cyri\cyrc\cyrii}%
+ \crefname@preamble{enumi}%
+ {\cyrp\cyru\cyrn\cyrk\cyrt}%
+ {\cyrp\cyru\cyrn\cyrk\cyrt\cyri}%
+ \crefname@preamble{chapter}%
+ {\cyrg\cyrl\cyra\cyrv\cyra}%
+ {\cyrg\cyrl\cyra\cyrv\cyri}%
+ \crefname@preamble{section}%
+ {\cyrr\cyro\cyrz\cyrd\cyrii\cyrl}%
+ {\cyrr\cyro\cyrz\cyrd\cyrii\cyrl\cyri}%
+ \crefname@preamble{appendix}%
+ {\cyrd\cyro\cyrd\cyra\cyrt\cyro\cyrk}%
+ {\cyrd\cyro\cyrd\cyra\cyrt\cyrk\cyri}%
+ \crefname@preamble{footnote}%
+ {\cyrv\cyri\cyrn\cyro\cyrs\cyrk\cyra}%
+ {\cyrv\cyri\cyrn\cyro\cyrs\cyrk\cyri}%
+ \crefname@preamble{theorem}%
+ {\cyrt\cyre\cyro\cyrr\cyre\cyrm\cyra}%
+ {\cyrt\cyre\cyro\cyrr\cyre\cyrm\cyri}%
+ \crefname@preamble{lemma}%
+ {\cyrl\cyre\cyrm\cyrm\cyra}%
+ {\cyrl\cyre\cyrm\cyrm\cyri}%
+ \crefname@preamble{corollary}%
+ {\cyrv\cyri\cyrs\cyrn\cyro\cyrv\cyro\cyrk}%
+ {\cyrv\cyri\cyrs\cyrn\cyro\cyrv\cyrk\cyri}%
+ \crefname@preamble{proposition}%
+ {\cyrt\cyrv\cyre\cyrr\cyrd\cyrzh\cyre\cyrn\cyrn\cyrya}%
+ {\cyrt\cyrv\cyre\cyrr\cyrd\cyrzh\cyre\cyrn\cyrn\cyrya}%
+ \crefname@preamble{definition}%
+ {\cyrv\cyri\cyrz\cyrn\cyra\cyrch\cyre\cyrn\cyrn\cyrya}%
+ {\cyrv\cyri\cyrz\cyrn\cyra\cyrch\cyre\cyrn\cyrn\cyrya}%
+ \crefname@preamble{result}%
+ {\cyrr\cyre\cyrz\cyru\cyrl\cyrsftsn\cyrt\cyra\cyrt}%
+ {\cyrr\cyre\cyrz\cyru\cyrl\cyrsftsn\cyrt\cyra\cyrt\cyri}%
+ \crefname@preamble{example}%
+ {\cyrp\cyrr\cyri\cyrk\cyrl\cyra\cyrd}%
+ {\cyrp\cyrr\cyri\cyrk\cyrl\cyra\cyrd\cyri}%
+ \crefname@preamble{remark}%
+ {\cyrp\cyrr\cyri\cyrm\cyrii\cyrt\cyrk\cyra}%
+ {\cyrp\cyrr\cyri\cyrm\cyrii\cyrt\cyrk\cyri}%
+ \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{listing}%
+ {\cyrl\cyrii\cyrs\cyrt\cyri\cyrn\cyrg}%
+ {\cyrl\cyrii\cyrs\cyrt\cyri\cyrn\cyrg\cyri}%
+ \crefname@preamble{line}%
+ {\cyrs\cyrt\cyrr\cyro\cyrk\cyra}%
+ {\cyrs\cyrt\cyrr\cyro\cyrk\cyri}%
+ \fi%
+ \crefname@preamble{page}%
+ {\cyrs\cyrt\cyro\cyrr\cyri\cyrn\cyrc\cyrii}%
+ {\cyrs\cyrt\cyro\cyrr\cyrii\cyrn\cyrk\cyra\cyrh}%
\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.}%
- \crefname@preamble{section}%
- {\cyrr\cyro\cyrz\cyrd.}%
- {\cyrr\cyro\cyrz\cyrd\cyrii\cyrl.}%
- \crefname@preamble{appendix}%
- {\cyrd\cyro\cyrd\cyra\cyrt.}%
- {\cyrd\cyro\cyrd\cyra\cyrt\cyrk.}%
- \crefname@preamble{enumi}{\cyrp.}{\cyrp.\cyrp.}%
- \crefname@preamble{footnote}%
- {\cyrv\cyri\cyrn\cyro\cyrs\cyrk.}%
- {\cyrv\cyri\cyrn\cyro\cyrs\cyrk.}%
- \crefname@preamble{figure}%
- {\cyrr\cyri\cyrs.}%
- {\cyrr\cyri\cyrs.}%
- \crefname@preamble{table}%
- {\cyrt\cyra\cyrb\cyrl.}%
- {\cyrt\cyra\cyrb\cyrl.}%
- \crefname@preamble{theorem}%
- {\cyrt\cyre\cyro\cyrr\cyre\cyrm.}%
- {\cyrt\cyre\cyro\cyrr\cyre\cyrm.}%
- \crefname@preamble{lemma}%
- {\cyrl\cyre\cyrm\cyrm.}%
- {\cyrl\cyre\cyrm\cyrm.}%
- \crefname@preamble{corollary}%
- {\cyrv\cyri\cyrs\cyrn\cyro\cyrv.}%
- {\cyrv\cyri\cyrs\cyrn\cyro\cyrv\cyrk.}%
- \crefname@preamble{proposition}%
- {\cyrt\cyrv\cyre\cyrr\cyrd\cyrzh\cyre\cyrn\cyrn.}%
- {\cyrt\cyrv\cyre\cyrr\cyrd\cyrzh\cyre\cyrn\cyrn.}%
- \crefname@preamble{definition}%
- {\cyrv\cyri\cyrz\cyrn\cyra\cyrch\cyre\cyrn\cyrn.}%
- {\cyrv\cyri\cyrz\cyrn\cyra\cyrch\cyre\cyrn\cyrn.}%
- \crefname@preamble{result}%
- {\cyrr\cyre\cyrz\cyru\cyrl\cyrsftsn\cyrt.}%
- {\cyrr\cyre\cyrz\cyru\cyrl\cyrsftsn\cyrt\cyra\cyrt.}%
- \crefname@preamble{example}%
- {\cyrp\cyrr\cyri\cyrk\cyrl.}%
- {\cyrp\cyrr\cyri\cyrk\cyrl\cyra\cyrd.}%
- \crefname@preamble{remark}%
- {\cyrp\cyrr\cyri\cyrm\cyrii\cyrt.}%
- {\cyrp\cyrr\cyri\cyrm\cyrii\cyrt.}%
- \crefname@preamble{note}%
- {\cyrz\cyra\cyrm\cyrii\cyrt.}%
- {\cyrz\cyra\cyrm\cyrii\cyrt.}%
- \crefname@preamble{algorithm}%
- {\cyra\cyrl\cyrg.}%
- {\cyra\cyrl\cyrg.}%
- \crefname@preamble{listing}%
- {\cyrl\cyrii\cyrs\cyrt\cyri\cyrn.}%
- {\cyrl\cyrii\cyrs\cyrt\cyri\cyrn\cyrg.}%
- \crefname@preamble{line}%
- {\cyrs\cyrt\cyrr\cyrk.}%
- {\cyrs\cyrt\cyrr\cyrk.}%
\fi%
\def\cref@language{ukrainian}%
\cref@addto\extrasukrainian{%
@@ -4875,16 +5887,42 @@
\renewcommand{\crefpairconjunction}{ \cyrii\nobreakspace}%
\renewcommand{\crefmiddleconjunction}{, }%
\renewcommand{\creflastconjunction}{ \cyrii\nobreakspace}%
- \renewcommand{\crefpairgroupconjunction}{ \cyrt\cyra\nobreakspace}%
+ \renewcommand{\crefpairgroupconjunction}%
+ { \cyrt\cyra\nobreakspace}%
\renewcommand{\crefmiddlegroupconjunction}{, }%
\renewcommand{\creflastgroupconjunction}%
{, \cyra\ \cyrt\cyra\cyrk\cyro\cyrzh\nobreakspace}%
- \Crefname{equation}%
+ %
+ \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{figure}%
+ {\CYRR\cyri\cyrs\cyru\cyrn\cyro\cyrk}%
+ {\CYRR\cyri\cyrs\cyru\cyrn\cyrk\cyri}%
+ \Crefname{subfigure}%
+ {\CYRR\cyri\cyrs\cyru\cyrn\cyro\cyrk}%
+ {\CYRR\cyri\cyrs\cyru\cyrn\cyrk\cyri}%
+ \Crefname{table}%
+ {\CYRT\cyra\cyrb\cyrl\cyri\cyrc\cyrya}%
+ {\CYRT\cyra\cyrb\cyrl\cyri\cyrc\cyrii}%
+ \Crefname{subtable}%
+ {\CYRT\cyra\cyrb\cyrl\cyri\cyrc\cyrya}%
+ {\CYRT\cyra\cyrb\cyrl\cyri\cyrc\cyrii}%
+ \Crefname{enumi}%
+ {\CYRP\cyru\cyrn\cyrk\cyrt}%
+ {\CYRP\cyru\cyrn\cyrk\cyrt\cyri}%
+ \Crefname{enumii}%
+ {\CYRP\cyru\cyrn\cyrk\cyrt}%
+ {\CYRP\cyru\cyrn\cyrk\cyrt\cyri}%
+ \Crefname{enumiii}%
+ {\CYRP\cyru\cyrn\cyrk\cyrt}%
+ {\CYRP\cyru\cyrn\cyrk\cyrt\cyri}%
+ \Crefname{enumiv}%
+ {\CYRP\cyru\cyrn\cyrk\cyrt}%
+ {\CYRP\cyru\cyrn\cyrk\cyrt\cyri}%
+ \Crefname{enumv}%
+ {\CYRP\cyru\cyrn\cyrk\cyrt}%
+ {\CYRP\cyru\cyrn\cyrk\cyrt\cyri}%
\Crefname{chapter}%
{\CYRG\cyrl\cyra\cyrv\cyra}%
{\CYRG\cyrl\cyra\cyrv\cyri}%
@@ -4909,36 +5947,9 @@
\Crefname{subsubsubappendix}%
{\CYRD\cyro\cyrd\cyra\cyrt\cyro\cyrk}%
{\CYRD\cyro\cyrd\cyra\cyrt\cyrk\cyri}%
- \Crefname{enumi}%
- {\CYRP\cyru\cyrn\cyrk\cyrt}%
- {\CYRP\cyru\cyrn\cyrk\cyrt\cyri}%
- \Crefname{enumii}%
- {\CYRP\cyru\cyrn\cyrk\cyrt}%
- {\CYRP\cyru\cyrn\cyrk\cyrt\cyri}%
- \Crefname{enumiii}%
- {\CYRP\cyru\cyrn\cyrk\cyrt}%
- {\CYRP\cyru\cyrn\cyrk\cyrt\cyri}%
- \Crefname{enumiv}%
- {\CYRP\cyru\cyrn\cyrk\cyrt}%
- {\CYRP\cyru\cyrn\cyrk\cyrt\cyri}%
- \Crefname{enumv}%
- {\CYRP\cyru\cyrn\cyrk\cyrt}%
- {\CYRP\cyru\cyrn\cyrk\cyrt\cyri}%
\Crefname{footnote}%
{\CYRV\cyri\cyrn\cyro\cyrs\cyrk\cyra}%
{\CYRV\cyri\cyrn\cyro\cyrs\cyrk\cyri}%
- \Crefname{figure}%
- {\CYRR\cyri\cyrs\cyru\cyrn\cyro\cyrk}%
- {\CYRR\cyri\cyrs\cyru\cyrn\cyrk\cyri}%
- \Crefname{subfigure}%
- {\CYRR\cyri\cyrs\cyru\cyrn\cyro\cyrk}%
- {\CYRR\cyri\cyrs\cyru\cyrn\cyrk\cyri}%
- \Crefname{table}%
- {\CYRT\cyra\cyrb\cyrl\cyri\cyrc\cyrya}%
- {\CYRT\cyra\cyrb\cyrl\cyri\cyrc\cyrii}%
- \Crefname{subtable}%
- {\CYRT\cyra\cyrb\cyrl\cyri\cyrc\cyrya}%
- {\CYRT\cyra\cyrb\cyrl\cyri\cyrc\cyrii}%
\Crefname{theorem}%
{\CYRT\cyre\cyro\cyrr\cyre\cyrm\cyra}%
{\CYRT\cyre\cyro\cyrr\cyre\cyrm\cyri}%
@@ -4975,11 +5986,77 @@
\Crefname{line}%
{\CYRS\cyrt\cyrr\cyro\cyrk\cyra}%
{\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{page}%
+ {\CYRS\cyrt\cyro\cyrr\cyri\cyrn\cyrk\cyra}%
+ {\CYRS\cyrt\cyro\cyrr\cyrii\cyrn\cyrk\cyri}%
+ \Crefname{part}%
+ {\CYRCH\cyra\cyrs\cyrt\cyri\cyrn\cyra}%
+ {\CYRCH\cyra\cyrs\cyrt\cyri\cyrn\cyri}%
+ %
+ \if@cref@capitalise% capitalise set
+ \if@cref@abbrev% abbrev set
+ \crefname{equation}%
+ {\CYRF-\cyrl.}%
+ {\CYRF-\cyrl.}%
+ \crefname{figure}%
+ {\CYRR\cyri\cyrs.}%
+ {\CYRR\cyri\cyrs.}%
+ \crefname{subfigure}%
+ {\CYRR\cyri\cyrs.}%
+ {\CYRR\cyri\cyrs.}%
+ \crefname{table}%
+ {\CYRT\cyra\cyrb\cyrl.}%
+ {\CYRT\cyra\cyrb\cyrl.}%
+ \crefname{subtable}%
+ {\CYRT\cyra\cyrb\cyrl.}%
+ {\CYRT\cyra\cyrb\cyrl.}%
+ \crefname{enumi}%
+ {\CYRP.}%
+ {\CYRP.\cyrp.}%
+ \crefname{enumii}%
+ {\CYRP.}%
+ {\CYRP.\cyrp.}%
+ \crefname{enumiii}%
+ {\CYRP.}%
+ {\CYRP.\cyrp.}%
+ \crefname{enumiv}%
+ {\CYRP.}%
+ {\CYRP.\cyrp.}%
+ \crefname{enumv}%
+ {\CYRP.}%
+ {\CYRP.\cyrp.}%
+ \else% abbrev unset
+ \crefname{equation}%
+ {\CYRF\cyro\cyrr\cyrm\cyru\cyrl\cyra}%
+ {\CYRF\cyro\cyrr\cyrm\cyru\cyrl\cyri}%
+ \crefname{figure}%
+ {\CYRR\cyri\cyrs\cyru\cyrn\cyro\cyrk}%
+ {\CYRR\cyri\cyrs\cyru\cyrn\cyrk\cyri}%
+ \crefname{subfigure}%
+ {\CYRR\cyri\cyrs\cyru\cyrn\cyro\cyrk}%
+ {\CYRR\cyri\cyrs\cyru\cyrn\cyrk\cyri}%
+ \crefname{table}%
+ {\CYRT\cyra\cyrb\cyrl\cyri\cyrc\cyrya}%
+ {\CYRT\cyra\cyrb\cyrl\cyri\cyrc\cyrii}%
+ \crefname{subtable}%
+ {\CYRT\cyra\cyrb\cyrl\cyri\cyrc\cyrya}%
+ {\CYRT\cyra\cyrb\cyrl\cyri\cyrc\cyrii}%
+ \crefname{enumi}%
+ {\CYRP\cyru\cyrn\cyrk\cyrt}%
+ {\CYRP\cyru\cyrn\cyrk\cyrt\cyri}%
+ \crefname{enumii}%
+ {\CYRP\cyru\cyrn\cyrk\cyrt}%
+ {\CYRP\cyru\cyrn\cyrk\cyrt\cyri}%
+ \crefname{enumiii}%
+ {\CYRP\cyru\cyrn\cyrk\cyrt}%
+ {\CYRP\cyru\cyrn\cyrk\cyrt\cyri}%
+ \crefname{enumiv}%
+ {\CYRP\cyru\cyrn\cyrk\cyrt}%
+ {\CYRP\cyru\cyrn\cyrk\cyrt\cyri}%
+ \crefname{enumv}%
+ {\CYRP\cyru\cyrn\cyrk\cyrt}%
+ {\CYRP\cyru\cyrn\cyrk\cyrt\cyri}%
+ \fi%
\crefname{chapter}%
{\CYRG\cyrl\cyra\cyrv\cyra}%
{\CYRG\cyrl\cyra\cyrv\cyri}%
@@ -5004,26 +6081,9 @@
\crefname{subsubsubappendix}%
{\CYRD\cyro\cyrd\cyra\cyrt\cyro\cyrk}%
{\CYRD\cyro\cyrd\cyra\cyrt\cyrk\cyri}%
- \crefname{enumi}{\CYRP.}{\CYRP.\cyrp.}%
- \crefname{enumii}{\CYRP.}{\CYRP.\cyrp.}%
- \crefname{enumiii}{\CYRP.}{\CYRP.\cyrp.}%
- \crefname{enumiv}{\CYRP.}{\CYRP.\cyrp.}%
- \crefname{enumv}{\CYRP.}{\CYRP.\cyrp.}%
\crefname{footnote}%
{\CYRV\cyri\cyrn\cyro\cyrs\cyrk\cyra}%
{\CYRV\cyri\cyrn\cyro\cyrs\cyrk\cyri}%
- \crefname{figure}%
- {\CYRR\cyri\cyrs.}%
- {\CYRR\cyri\cyrs.}%
- \crefname{subfigure}%
- {\CYRR\cyri\cyrs.}%
- {\CYRR\cyri\cyrs.}%
- \crefname{table}%
- {\CYRT\cyra\cyrb\cyrl.}%
- {\CYRT\cyra\cyrb\cyrl.}%
- \crefname{subtable}%
- {\CYRT\cyra\cyrb\cyrl.}%
- {\CYRT\cyra\cyrb\cyrl.}%
\crefname{theorem}%
{\CYRT\cyre\cyro\cyrr\cyre\cyrm\cyra}%
{\CYRT\cyre\cyro\cyrr\cyre\cyrm\cyri}%
@@ -5060,89 +6120,209 @@
\crefname{line}%
{\CYRS\cyrt\cyrr\cyro\cyrk\cyra}%
{\CYRS\cyrt\cyrr\cyro\cyrk\cyri}%
- \else%
- \crefname{equation}{\cyrf-\cyrl.}{\cyrf-\cyrl.}%
+ \crefname{page}%
+ {\CYRS\cyrt\cyro\cyrr\cyri\cyrn\cyrk\cyra}%
+ {\CYRS\cyrt\cyro\cyrr\cyrii\cyrn\cyrk\cyri}%
+ \crefname{part}%
+ {\CYRCH\cyra\cyrs\cyrt\cyri\cyrn\cyra}%
+ {\CYRCH\cyra\cyrs\cyrt\cyri\cyrn\cyri}%
+ %
+ \else% capitalise unset
+ \if@cref@abbrev% abbrev set
+ \crefname{equation}%
+ {\cyrf-\cyrl.}%
+ {\cyrf-\cyrl.}%
+ \crefname{chapter}%
+ {\cyrg\cyrl\cyra\cyrv.}%
+ {\cyrg\cyrl\cyra\cyrv.}%
+ \crefname{section}%
+ {\cyrr\cyro\cyrz\cyrd.}%
+ {\cyrr\cyro\cyrz\cyrd\cyrii\cyrl.}%
+ \crefname{subsection}%
+ {\cyrr\cyro\cyrz\cyrd.}%
+ {\cyrr\cyro\cyrz\cyrd\cyrii\cyrl.}%
+ \crefname{subsubsection}%
+ {\cyrr\cyro\cyrz\cyrd.}%
+ {\cyrr\cyro\cyrz\cyrd\cyrii\cyrl.}%
+ \crefname{appendix}%
+ {\cyrd\cyro\cyrd\cyra\cyrt.}%
+ {\cyrd\cyro\cyrd\cyra\cyrt\cyrk.}%
+ \crefname{subappendix}%
+ {\cyrd\cyro\cyrd\cyra\cyrt.}%
+ {\cyrd\cyro\cyrd\cyra\cyrt\cyrk.}%
+ \crefname{subsubappendix}%
+ {\cyrd\cyro\cyrd\cyra\cyrt.}%
+ {\cyrd\cyro\cyrd\cyra\cyrt\cyrk.}%
+ \crefname{subsubsubappendix}%
+ {\cyrd\cyro\cyrd\cyra\cyrt.}%
+ {\cyrd\cyro\cyrd\cyra\cyrt\cyrk.}%
+ \crefname{enumi}%
+ {\cyrp.}%
+ {\cyrp.\cyrp.}%
+ \crefname{enumii}%
+ {\cyrp.}%
+ {\cyrp.\cyrp.}%
+ \crefname{enumiii}%
+ {\cyrp.}%
+ {\cyrp.\cyrp.}%
+ \crefname{enumiv}%
+ {\cyrp.}%
+ {\cyrp.\cyrp.}%
+ \crefname{enumv}%
+ {\cyrp.}%
+ {\cyrp.\cyrp.}%
+ \crefname{footnote}%
+ {\cyrv\cyri\cyrn\cyro\cyrs\cyrk.}%
+ {\cyrv\cyri\cyrn\cyro\cyrs\cyrk.}%
+ \crefname{figure}%
+ {\cyrr\cyri\cyrs.}%
+ {\cyrr\cyri\cyrs.}%
+ \crefname{subfigure}%
+ {\cyrr\cyri\cyrs.}%
+ {\cyrr\cyri\cyrs.}%
+ \crefname{table}%
+ {\cyrt\cyra\cyrb\cyrl.}%
+ {\cyrt\cyra\cyrb\cyrl.}%
+ \crefname{subtable}%
+ {\cyrt\cyra\cyrb\cyrl.}%
+ {\cyrt\cyra\cyrb\cyrl.}%
+ \crefname{theorem}%
+ {\cyrt\cyre\cyro\cyrr\cyre\cyrm.}%
+ {\cyrt\cyre\cyro\cyrr\cyre\cyrm.}%
+ \crefname{lemma}%
+ {\cyrl\cyre\cyrm\cyrm.}%
+ {\cyrl\cyre\cyrm\cyrm.}%
+ \crefname{corollary}%
+ {\cyrv\cyri\cyrs\cyrn\cyro\cyrv.}%
+ {\cyrv\cyri\cyrs\cyrn\cyro\cyrv\cyrk.}%
+ \crefname{proposition}%
+ {\cyrt\cyrv\cyre\cyrr\cyrd\cyrzh\cyre\cyrn\cyrn.}%
+ {\cyrt\cyrv\cyre\cyrr\cyrd\cyrzh\cyre\cyrn\cyrn.}%
+ \crefname{definition}%
+ {\cyrv\cyri\cyrz\cyrn\cyra\cyrch\cyre\cyrn\cyrn.}%
+ {\cyrv\cyri\cyrz\cyrn\cyra\cyrch\cyre\cyrn\cyrn.}%
+ \crefname{result}%
+ {\cyrr\cyre\cyrz\cyru\cyrl\cyrsftsn\cyrt.}%
+ {\cyrr\cyre\cyrz\cyru\cyrl\cyrsftsn\cyrt\cyra\cyrt.}%
+ \crefname{example}%
+ {\cyrp\cyrr\cyri\cyrk\cyrl.}%
+ {\cyrp\cyrr\cyri\cyrk\cyrl\cyra\cyrd.}%
+ \crefname{remark}%
+ {\cyrp\cyrr\cyri\cyrm\cyrii\cyrt.}%
+ {\cyrp\cyrr\cyri\cyrm\cyrii\cyrt.}%
+ \crefname{note}%
+ {\cyrz\cyra\cyrm\cyrii\cyrt.}%
+ {\cyrz\cyra\cyrm\cyrii\cyrt.}%
+ \crefname{algorithm}%
+ {\cyra\cyrl\cyrg.}%
+ {\cyra\cyrl\cyrg.}%
+ \crefname{listing}%
+ {\cyrl\cyrii\cyrs\cyrt\cyri\cyrn.}%
+ {\cyrl\cyrii\cyrs\cyrt\cyri\cyrn\cyrg.}%
+ \crefname{line}%
+ {\cyrs\cyrt\cyrr\cyrk.}%
+ {\cyrs\cyrt\cyrr\cyrk.}%
+ \else% abbrev unset
+ \crefname{equation}%
+ {\cyrf\cyro\cyrr\cyrm\cyru\cyrl\cyra}%
+ {\cyrf\cyro\cyrr\cyrm\cyru\cyrl\cyri}%
+ \crefname{figure}%
+ {\cyrr\cyri\cyrs\cyru\cyrn\cyro\cyrk}%
+ {\cyrr\cyri\cyrs\cyru\cyrn\cyrk\cyri}%
+ \crefname{subfigure}%
+ {\cyrr\cyri\cyrs\cyru\cyrn\cyro\cyrk}%
+ {\cyrr\cyri\cyrs\cyru\cyrn\cyrk\cyri}%
+ \crefname{table}%
+ {\cyrt\cyra\cyrb\cyrl\cyri\cyrc\cyrya}%
+ {\cyrt\cyra\cyrb\cyrl\cyri\cyrc\cyrii}%
+ \crefname{subtable}%
+ {\cyrt\cyra\cyrb\cyrl\cyri\cyrc\cyrya}%
+ {\cyrt\cyra\cyrb\cyrl\cyri\cyrc\cyrii}%
+ \crefname{enumi}%
+ {\cyrp\cyru\cyrn\cyrk\cyrt}%
+ {\cyrp\cyru\cyrn\cyrk\cyrt\cyri}%
+ \crefname{enumii}%
+ {\cyrp\cyru\cyrn\cyrk\cyrt}%
+ {\cyrp\cyru\cyrn\cyrk\cyrt\cyri}%
+ \crefname{enumiii}%
+ {\cyrp\cyru\cyrn\cyrk\cyrt}%
+ {\cyrp\cyru\cyrn\cyrk\cyrt\cyri}%
+ \crefname{enumiv}%
+ {\cyrp\cyru\cyrn\cyrk\cyrt}%
+ {\cyrp\cyru\cyrn\cyrk\cyrt\cyri}%
+ \crefname{enumv}%
+ {\cyrp\cyru\cyrn\cyrk\cyrt}%
+ {\cyrp\cyru\cyrn\cyrk\cyrt\cyri}%
+ \crefname{chapter}%
+ {\cyrg\cyrl\cyra\cyrv\cyra}%
+ {\cyrg\cyrl\cyra\cyrv\cyri}%
+ \crefname{section}%
+ {\cyrr\cyro\cyrz\cyrd\cyrii\cyrl}%
+ {\cyrr\cyro\cyrz\cyrd\cyrii\cyrl\cyri}%
+ \crefname{subsection}%
+ {\cyrr\cyro\cyrz\cyrd\cyrii\cyrl}%
+ {\cyrr\cyro\cyrz\cyrd\cyrii\cyrl\cyri}%
+ \crefname{subsubsection}%
+ {\cyrr\cyro\cyrz\cyrd\cyrii\cyrl}%
+ {\cyrr\cyro\cyrz\cyrd\cyrii\cyrl\cyri}%
+ \crefname{appendix}%
+ {\cyrd\cyro\cyrd\cyra\cyrt\cyro\cyrk}%
+ {\cyrd\cyro\cyrd\cyra\cyrt\cyrk\cyri}%
+ \crefname{subappendix}%
+ {\cyrd\cyro\cyrd\cyra\cyrt\cyro\cyrk}%
+ {\cyrd\cyro\cyrd\cyra\cyrt\cyrk\cyri}%
+ \crefname{subsubappendix}%
+ {\cyrd\cyro\cyrd\cyra\cyrt\cyro\cyrk}%
+ {\cyrd\cyro\cyrd\cyra\cyrt\cyrk\cyri}%
+ \crefname{subsubsubappendix}%
+ {\cyrd\cyro\cyrd\cyra\cyrt\cyro\cyrk}%
+ {\cyrd\cyro\cyrd\cyra\cyrt\cyrk\cyri}%
+ \crefname{footnote}%
+ {\cyrv\cyri\cyrn\cyro\cyrs\cyrk\cyra}%
+ {\cyrv\cyri\cyrn\cyro\cyrs\cyrk\cyri}%
+ \crefname{theorem}%
+ {\cyrt\cyre\cyro\cyrr\cyre\cyrm\cyra}%
+ {\cyrt\cyre\cyro\cyrr\cyre\cyrm\cyri}%
+ \crefname{lemma}%
+ {\cyrl\cyre\cyrm\cyrm\cyra}%
+ {\cyrl\cyre\cyrm\cyrm\cyri}%
+ \crefname{corollary}%
+ {\cyrv\cyri\cyrs\cyrn\cyro\cyrv\cyro\cyrk}%
+ {\cyrv\cyri\cyrs\cyrn\cyro\cyrv\cyrk\cyri}%
+ \crefname{proposition}%
+ {\cyrt\cyrv\cyre\cyrr\cyrd\cyrzh\cyre\cyrn\cyrn\cyrya}%
+ {\cyrt\cyrv\cyre\cyrr\cyrd\cyrzh\cyre\cyrn\cyrn\cyrya}%
+ \crefname{definition}%
+ {\cyrv\cyri\cyrz\cyrn\cyra\cyrch\cyre\cyrn\cyrn\cyrya}%
+ {\cyrv\cyri\cyrz\cyrn\cyra\cyrch\cyre\cyrn\cyrn\cyrya}%
+ \crefname{result}%
+ {\cyrr\cyre\cyrz\cyru\cyrl\cyrsftsn\cyrt\cyra\cyrt}%
+ {\cyrr\cyre\cyrz\cyru\cyrl\cyrsftsn\cyrt\cyra\cyrt\cyri}%
+ \crefname{example}%
+ {\cyrp\cyrr\cyri\cyrk\cyrl\cyra\cyrd}%
+ {\cyrp\cyrr\cyri\cyrk\cyrl\cyra\cyrd\cyri}%
+ \crefname{remark}%
+ {\cyrp\cyrr\cyri\cyrm\cyrii\cyrt\cyrk\cyra}%
+ {\cyrp\cyrr\cyri\cyrm\cyrii\cyrt\cyrk\cyri}%
+ \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{listing}%
+ {\cyrl\cyrii\cyrs\cyrt\cyri\cyrn\cyrg}%
+ {\cyrl\cyrii\cyrs\cyrt\cyri\cyrn\cyrg\cyri}%
+ \crefname{line}%
+ {\cyrs\cyrt\cyrr\cyro\cyrk\cyra}%
+ {\cyrs\cyrt\cyrr\cyro\cyrk\cyri}%
+ \fi%
+ \crefname{page}%
+ {\cyrs\cyrt\cyro\cyrr\cyri\cyrn\cyrc\cyrii}%
+ {\cyrs\cyrt\cyro\cyrr\cyrii\cyrn\cyrk\cyra\cyrh}%
\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.}%
- \crefname{section}%
- {\cyrr\cyro\cyrz\cyrd.}%
- {\cyrr\cyro\cyrz\cyrd\cyrii\cyrl.}%
- \crefname{subsection}%
- {\cyrr\cyro\cyrz\cyrd.}%
- {\cyrr\cyro\cyrz\cyrd\cyrii\cyrl.}%
- \crefname{subsubsection}%
- {\cyrr\cyro\cyrz\cyrd.}%
- {\cyrr\cyro\cyrz\cyrd\cyrii\cyrl.}%
- \crefname{appendix}%
- {\cyrd\cyro\cyrd\cyra\cyrt.}%
- {\cyrd\cyro\cyrd\cyra\cyrt\cyrk.}%
- \crefname{subappendix}%
- {\cyrd\cyro\cyrd\cyra\cyrt.}%
- {\cyrd\cyro\cyrd\cyra\cyrt\cyrk.}%
- \crefname{subsubappendix}%
- {\cyrd\cyro\cyrd\cyra\cyrt.}%
- {\cyrd\cyro\cyrd\cyra\cyrt\cyrk.}%
- \crefname{subsubsubappendix}%
- {\cyrd\cyro\cyrd\cyra\cyrt.}%
- {\cyrd\cyro\cyrd\cyra\cyrt\cyrk.}%
- \crefname{enumi}{\cyrp.}{\cyrp.\cyrp.}%
- \crefname{enumii}{\cyrp.}{\cyrp.\cyrp.}%
- \crefname{enumiii}{\cyrp.}{\cyrp.\cyrp.}%
- \crefname{enumiv}{\cyrp.}{\cyrp.\cyrp.}%
- \crefname{enumv}{\cyrp.}{\cyrp.\cyrp.}%
- \crefname{footnote}%
- {\cyrv\cyri\cyrn\cyro\cyrs\cyrk.}%
- {\cyrv\cyri\cyrn\cyro\cyrs\cyrk.}%
- \crefname{figure}%
- {\cyrr\cyri\cyrs.}%
- {\cyrr\cyri\cyrs.}%
- \crefname{subfigure}%
- {\cyrr\cyri\cyrs.}%
- {\cyrr\cyri\cyrs.}%
- \crefname{table}%
- {\cyrt\cyra\cyrb\cyrl.}%
- {\cyrt\cyra\cyrb\cyrl.}%
- \crefname{subtable}%
- {\cyrt\cyra\cyrb\cyrl.}%
- {\cyrt\cyra\cyrb\cyrl.}%
- \crefname{theorem}%
- {\cyrt\cyre\cyro\cyrr\cyre\cyrm.}%
- {\cyrt\cyre\cyro\cyrr\cyre\cyrm.}%
- \crefname{lemma}{\cyrl\cyre\cyrm\cyrm.}{\cyrl\cyre\cyrm\cyrm.}%
- \crefname{corollary}%
- {\cyrv\cyri\cyrs\cyrn\cyro\cyrv.}%
- {\cyrv\cyri\cyrs\cyrn\cyro\cyrv\cyrk.}%
- \crefname{proposition}%
- {\cyrt\cyrv\cyre\cyrr\cyrd\cyrzh\cyre\cyrn\cyrn.}%
- {\cyrt\cyrv\cyre\cyrr\cyrd\cyrzh\cyre\cyrn\cyrn.}%
- \crefname{definition}%
- {\cyrv\cyri\cyrz\cyrn\cyra\cyrch\cyre\cyrn\cyrn.}%
- {\cyrv\cyri\cyrz\cyrn\cyra\cyrch\cyre\cyrn\cyrn.}%
- \crefname{result}%
- {\cyrr\cyre\cyrz\cyru\cyrl\cyrsftsn\cyrt.}%
- {\cyrr\cyre\cyrz\cyru\cyrl\cyrsftsn\cyrt\cyra\cyrt.}%
- \crefname{example}%
- {\cyrp\cyrr\cyri\cyrk\cyrl.}%
- {\cyrp\cyrr\cyri\cyrk\cyrl\cyra\cyrd.}%
- \crefname{remark}%
- {\cyrp\cyrr\cyri\cyrm\cyrii\cyrt.}%
- {\cyrp\cyrr\cyri\cyrm\cyrii\cyrt.}%
- \crefname{note}%
- {\cyrz\cyra\cyrm\cyrii\cyrt.}%
- {\cyrz\cyra\cyrm\cyrii\cyrt.}%
- \crefname{algorithm}%
- {\cyra\cyrl\cyrg.}%
- {\cyra\cyrl\cyrg.}%
- \crefname{listing}%
- {\cyrl\cyrii\cyrs\cyrt\cyri\cyrn.}%
- {\cyrl\cyrii\cyrs\cyrt\cyri\cyrn\cyrg.}%
- \crefname{line}%
- {\cyrs\cyrt\cyrr\cyrk.}%
- {\cyrs\cyrt\cyrr\cyrk.}%
\fi%
}}}
\DeclareOption{norsk}{%
@@ -5157,15 +6337,17 @@
\def\crefpairgroupconjunction@preamble{ og\nobreakspace}%
\def\crefmiddlegroupconjunction@preamble{, }%
\def\creflastgroupconjunction@preamble{ og\nobreakspace}%
+ %
\Crefname@preamble{equation}{Likning}{Likningene}%
+ \Crefname@preamble{figure}{Figur}{Figurene}%
+ \Crefname@preamble{table}{Tabell}{Tabellene}%
+ \Crefname@preamble{page}{Side}{Siden}%
\Crefname@preamble{part}{Del}{Delene}%
\Crefname@preamble{chapter}{Kapittel}{Kapitlene}%
\Crefname@preamble{section}{Avsnitt}{Avsnittene}%
\Crefname@preamble{appendix}{Tillegg}{Tilleggene}%
\Crefname@preamble{enumi}{Punkt}{Punktene}%
\Crefname@preamble{footnote}{Fotnote}{Fotnotene}%
- \Crefname@preamble{figure}{Figur}{Figurene}%
- \Crefname@preamble{table}{Tabell}{Tabellene}%
\Crefname@preamble{theorem}{Teorem}{Teoremene}%
\Crefname@preamble{lemma}{Lemma}{Lemma}%
\Crefname@preamble{corollary}{Korollar}{Korollarene}%
@@ -5178,16 +6360,18 @@
\Crefname@preamble{algorithm}{Algoritme}{Algoritmene}%
\Crefname@preamble{listing}{Opplisting}{Opplistingene}%
\Crefname@preamble{line}{Linje}{Linjene}%
+ %
\if@cref@capitalise%
+ \crefname@preamble{page}{Side}{Siden}%
\crefname@preamble{equation}{Likning}{Likningene}%
+ \crefname@preamble{figure}{Figur}{Figurene}%
+ \crefname@preamble{table}{Tabell}{Tabellene}%
\crefname@preamble{part}{Del}{Delene}%
\crefname@preamble{chapter}{Kapittel}{Kapitlene}%
\crefname@preamble{section}{Avsnitt}{Avsnittene}%
\crefname@preamble{appendix}{Tillegg}{Tilleggene}%
\crefname@preamble{enumi}{Punkt}{Punktene}%
\crefname@preamble{footnote}{Fotnote}{Fotnotene}%
- \crefname@preamble{figure}{Figur}{Figurene}%
- \crefname@preamble{table}{Tabell}{Tabellene}%
\crefname@preamble{theorem}{Teorem}{Teoremene}%
\crefname@preamble{lemma}{Lemma}{Lemma}%
\crefname@preamble{corollary}{Korollar}{Korollarene}%
@@ -5200,16 +6384,18 @@
\crefname@preamble{algorithm}{Algoritme}{Algoritmene}%
\crefname@preamble{listing}{Opplisting}{Opplistingene}%
\crefname@preamble{line}{Linje}{Linjene}%
+ %
\else%
\crefname@preamble{equation}{likning}{likningene}%
+ \crefname@preamble{figure}{figur}{figurene}%
+ \crefname@preamble{table}{tabell}{tabeller}%
+ \crefname@preamble{page}{side}{siden}%
\crefname@preamble{part}{del}{delene}%
\crefname@preamble{chapter}{kapittel}{kapitlene}%
\crefname@preamble{section}{avsnitt}{avsnittene}%
\crefname@preamble{appendix}{tillegg}{tilleggene}%
\crefname@preamble{enumi}{punkt}{punktene}%
\crefname@preamble{footnote}{fotnote}{fotnotene}%
- \crefname@preamble{figure}{figur}{figurene}%
- \crefname@preamble{table}{tabell}{tabeller}%
\crefname@preamble{theorem}{teorem}{teoremene}%
\crefname@preamble{lemma}{lemma}{lemma}%
\crefname@preamble{corollary}{korollar}{korollarene}%
@@ -5234,7 +6420,13 @@
\renewcommand{\crefpairgroupconjunction}{ og\nobreakspace}%
\renewcommand{\crefmiddlegroupconjunction}{, }%
\renewcommand{\creflastgroupconjunction}{ og\nobreakspace}%
+ %
\Crefname{equation}{Likning}{Likningene}%
+ \Crefname{figure}{Figur}{Figurene}%
+ \Crefname{subfigure}{Figur}{Figurene}%
+ \Crefname{table}{Tabell}{Tabellene}%
+ \Crefname{subtable}{Tabell}{Tabellene}%
+ \Crefname{page}{Side}{Siden}%
\Crefname{part}{Del}{Delene}%
\Crefname{chapter}{Kapittel}{Kapitlene}%
\Crefname{section}{Avsnitt}{Avsnittene}%
@@ -5250,10 +6442,6 @@
\Crefname{enumiv}{Punkt}{Punktene}%
\Crefname{enumv}{Punkt}{Punktene}%
\Crefname{footnote}{Fotnote}{Fotnotene}%
- \Crefname{figure}{Figur}{Figurene}%
- \Crefname{subfigure}{Figur}{Figurene}%
- \Crefname{table}{Tabell}{Tabellene}%
- \Crefname{subtable}{Tabell}{Tabellene}%
\Crefname{theorem}{Teorem}{Teoremene}%
\Crefname{lemma}{Lemma}{Lemma}%
\Crefname{corollary}{Korollar}{Korollarene}%
@@ -5266,8 +6454,14 @@
\Crefname{algorithm}{Algoritme}{Algoritmene}%
\Crefname{listing}{Opplisting}{Opplistingene}%
\Crefname{line}{Linje}{Linjene}%
+ %
\if@cref@capitalise%
\crefname{equation}{Likning}{Likningene}%
+ \crefname{figure}{Figur}{Figurene}%
+ \crefname{subfigure}{Figur}{Figurene}%
+ \crefname{table}{Tabell}{Tabellene}%
+ \crefname{subtable}{Tabell}{Tabellene}%
+ \crefname{page}{Side}{Siden}%
\crefname{part}{Del}{Delene}%
\crefname{chapter}{Kapittel}{Kapitlene}%
\crefname{section}{Avsnitt}{Avsnittene}%
@@ -5283,10 +6477,6 @@
\crefname{enumiv}{Punkt}{Punktene}%
\crefname{enumv}{Punkt}{Punktene}%
\crefname{footnote}{Fotnote}{Fotnotene}%
- \crefname{figure}{Figur}{Figurene}%
- \crefname{subfigure}{Figur}{Figurene}%
- \crefname{table}{Tabell}{Tabellene}%
- \crefname{subtable}{Tabell}{Tabellene}%
\crefname{theorem}{Teorem}{Teoremene}%
\crefname{lemma}{Lemma}{Lemma}%
\crefname{corollary}{Korollar}{Korollarene}%
@@ -5299,8 +6489,14 @@
\crefname{algorithm}{Algoritme}{Algoritmene}%
\crefname{listing}{Opplisting}{Opplistingene}%
\crefname{line}{Linje}{Linjene}%
+ %
\else%
\crefname{equation}{likning}{likningene}%
+ \crefname{figure}{figur}{figurene}%
+ \crefname{subfigure}{figur}{figurene}%
+ \crefname{table}{tabell}{tabellene}%
+ \crefname{subtable}{tabell}{tabellene}%
+ \crefname{page}{side}{siden}%
\crefname{part}{del}{delene}%
\crefname{chapter}{kapittel}{kapitlene}%
\crefname{section}{avsnitt}{avsnittene}%
@@ -5316,10 +6512,6 @@
\crefname{enumiv}{punkt}{punktene}%
\crefname{enumv}{punkt}{punktene}%
\crefname{footnote}{fotnote}{fotnotene}%
- \crefname{figure}{figur}{figurene}%
- \crefname{subfigure}{figur}{figurene}%
- \crefname{table}{tabell}{tabellene}%
- \crefname{subtable}{tabell}{tabellene}%
\crefname{theorem}{teorem}{teoremene}%
\crefname{lemma}{lemma}{lemma}%
\crefname{corollary}{korollar}{korollarene}%
@@ -5346,15 +6538,17 @@
\def\crefpairgroupconjunction@preamble{ og\nobreakspace}%
\def\crefmiddlegroupconjunction@preamble{, }%
\def\creflastgroupconjunction@preamble{ og\nobreakspace}%
+ %
\Crefname@preamble{equation}{Ligning}{Ligninger}%
+ \Crefname@preamble{figure}{Figur}{Figurer}%
+ \Crefname@preamble{table}{Tabel}{Tabeller}%
+ \Crefname@preamble{page}{Side}{Sider}%
\Crefname@preamble{part}{Del}{Dele}%
\Crefname@preamble{chapter}{Kapitel}{Kapitler}%
\Crefname@preamble{section}{Afsnit}{Afsnit}%
\Crefname@preamble{appendix}{Appendiks}{Appendiks}%
\Crefname@preamble{enumi}{Punkt}{Punkter}%
\Crefname@preamble{footnote}{Fodnote}{Fodnoter}%
- \Crefname@preamble{figure}{Figur}{Figurer}%
- \Crefname@preamble{table}{Tabel}{Tabeller}%
\Crefname@preamble{theorem}{Teorem}{Teoremer}%
\Crefname@preamble{lemma}{Lemma}{Lemma}%
\Crefname@preamble{corollary}{F\o lgeslutning}{F\o lgeslutninger}%
@@ -5366,16 +6560,18 @@
\Crefname@preamble{note}{Note}{Noter}%
\Crefname@preamble{algorithm}{Algoritme}{Algoritmer}%
\Crefname@preamble{line}{Linje}{Linjer}%
+ %
\if@cref@capitalise%
\crefname@preamble{equation}{Ligning}{Ligninger}%
+ \crefname@preamble{figure}{Figur}{Figurer}%
+ \crefname@preamble{table}{Tabel}{Tabeller}%
+ \crefname@preamble{page}{Side}{Sider}%
\crefname@preamble{part}{Del}{Dele}%
\crefname@preamble{chapter}{Kapitel}{Kapitler}%
\crefname@preamble{section}{Afsnit}{Afsnit}%
\crefname@preamble{appendix}{Appendiks}{Appendiks}%
\crefname@preamble{enumi}{Punkt}{Punkter}%
\crefname@preamble{footnote}{Fodnote}{Fodnoter}%
- \crefname@preamble{figure}{Figur}{Figurer}%
- \crefname@preamble{table}{Tabel}{Tabeller}%
\crefname@preamble{theorem}{Teorem}{Teoremer}%
\crefname@preamble{lemma}{Lemma}{Lemma}%
\crefname@preamble{corollary}{F\o lgeslutning}{F\o lgeslutninger}%
@@ -5387,16 +6583,18 @@
\crefname@preamble{note}{Note}{Noter}%
\crefname@preamble{algorithm}{Algoritme}{Algoritmer}%
\crefname@preamble{line}{Linje}{Linjer}%
+ %
\else%
\crefname@preamble{equation}{ligning}{ligninger}%
+ \crefname@preamble{figure}{figur}{figurer}%
+ \crefname@preamble{table}{tabel}{tabeller}%
+ \crefname@preamble{page}{side}{sider}%
\crefname@preamble{part}{del}{dele}%
\crefname@preamble{chapter}{kapitel}{kapitler}%
\crefname@preamble{section}{afsnit}{afsnit}%
\crefname@preamble{appendix}{appendiks}{appendiks}%
\crefname@preamble{enumi}{punkt}{punkter}%
\crefname@preamble{footnote}{fodnote}{fodnoter}%
- \crefname@preamble{figure}{figur}{figurer}%
- \crefname@preamble{table}{tabel}{tabeller}%
\crefname@preamble{theorem}{teorem}{teoremer}%
\crefname@preamble{lemma}{lemma}{lemma}%
\crefname@preamble{corollary}{f\o lgeslutning}{f\o lgeslutninger}%
@@ -5420,68 +6618,107 @@
\renewcommand{\crefpairgroupconjunction@preamble}{ og\nobreakspace}%
\renewcommand{\crefmiddlegroupconjunction@preamble}{, }%
\renewcommand{\creflastgroupconjunction@preamble}{ og\nobreakspace}%
- \Crefname@preamble{equation}{Ligning}{Ligninger}%
- \Crefname@preamble{part}{Del}{Dele}%
- \Crefname@preamble{chapter}{Kapitel}{Kapitler}%
- \Crefname@preamble{section}{Afsnit}{Afsnit}%
- \Crefname@preamble{appendix}{Appendiks}{Appendiks}%
- \Crefname@preamble{enumi}{Punkt}{Punkter}%
- \Crefname@preamble{footnote}{Fodnote}{Fodnoter}%
- \Crefname@preamble{figure}{Figur}{Figurer}%
- \Crefname@preamble{table}{Tabel}{Tabeller}%
- \Crefname@preamble{theorem}{Teorem}{Teoremer}%
- \Crefname@preamble{lemma}{Lemma}{Lemma}%
- \Crefname@preamble{corollary}{F\o lgeslutning}{F\o lgeslutninger}%
- \Crefname@preamble{proposition}{Udsagn}{Udsagn}%
- \Crefname@preamble{definition}{Definition}{Definitioner}%
- \Crefname@preamble{result}{Resultat}{Resultater}%
- \Crefname@preamble{example}{Eksempel}{Eksempler}%
- \Crefname@preamble{remark}{Bem\ae rkning}{Bem\ae rkninger}%
- \Crefname@preamble{note}{Note}{Noter}%
- \Crefname@preamble{algorithm}{Algoritme}{Algoritmer}%
- \Crefname@preamble{line}{Linje}{Linjer}%
+ %
+ \Crefname{equation}{Ligning}{Ligninger}%
+ \Crefname{figure}{Figur}{Figurer}%
+ \Crefname{subfigure}{Figur}{Figurer}%
+ \Crefname{table}{Tabel}{Tabeller}%
+ \Crefname{subtable}{Tabel}{Tabeller}%
+ \Crefname{page}{Side}{Sider}%
+ \Crefname{part}{Del}{Dele}%
+ \Crefname{chapter}{Kapitel}{Kapitler}%
+ \Crefname{section}{Afsnit}{Afsnit}%
+ \Crefname{subsection}{Afsnit}{Afsnit}%
+ \Crefname{subsubsection}{Afsnit}{Afsnit}%
+ \Crefname{appendix}{Appendiks}{Appendiks}%
+ \Crefname{subappendix}{Appendiks}{Appendiks}%
+ \Crefname{subsubappendix}{Appendiks}{Appendiks}%
+ \Crefname{subsubsubappendix}{Appendiks}{Appendiks}%
+ \Crefname{enumi}{Punkt}{Punkter}%
+ \Crefname{enumii}{Punkt}{Punkter}%
+ \Crefname{enumiii}{Punkt}{Punkter}%
+ \Crefname{enumiv}{Punkt}{Punkter}%
+ \Crefname{enumv}{Punkt}{Punkter}%
+ \Crefname{footnote}{Fodnote}{Fodnoter}%
+ \Crefname{theorem}{Teorem}{Teoremer}%
+ \Crefname{lemma}{Lemma}{Lemma}%
+ \Crefname{corollary}{F\o lgeslutning}{F\o lgeslutninger}%
+ \Crefname{proposition}{Udsagn}{Udsagn}%
+ \Crefname{definition}{Definition}{Definitioner}%
+ \Crefname{result}{Resultat}{Resultater}%
+ \Crefname{example}{Eksempel}{Eksempler}%
+ \Crefname{remark}{Bem\ae rkning}{Bem\ae rkninger}%
+ \Crefname{note}{Note}{Noter}%
+ \Crefname{algorithm}{Algoritme}{Algoritmer}%
+ \Crefname{line}{Linje}{Linjer}%
+ %
\if@cref@capitalise%
- \crefname@preamble{equation}{Ligning}{Ligninger}%
- \crefname@preamble{part}{Del}{Dele}%
- \crefname@preamble{chapter}{Kapitel}{Kapitler}%
- \crefname@preamble{section}{Afsnit}{Afsnit}%
- \crefname@preamble{appendix}{Appendiks}{Appendiks}%
- \crefname@preamble{enumi}{Punkt}{Punkter}%
- \crefname@preamble{footnote}{Fodnote}{Fodnoter}%
- \crefname@preamble{figure}{Figur}{Figurer}%
- \crefname@preamble{table}{Tabel}{Tabeller}%
- \crefname@preamble{theorem}{Teorem}{Teoremer}%
- \crefname@preamble{lemma}{Lemma}{Lemma}%
- \crefname@preamble{corollary}{F\o lgeslutning}{F\o lgeslutninger}%
- \crefname@preamble{proposition}{Udsagn}{Udsagn}%
- \crefname@preamble{definition}{Definition}{Definitioner}%
- \crefname@preamble{result}{Resultat}{Resultater}%
- \crefname@preamble{example}{Eksempel}{Eksempler}%
- \crefname@preamble{remark}{Bem\ae rkning}{Bem\ae rkninger}%
- \crefname@preamble{note}{Note}{Noter}%
- \crefname@preamble{algorithm}{Algoritme}{Algoritmer}%
- \crefname@preamble{line}{Linje}{Linjer}%
+ \crefname{equation}{Ligning}{Ligninger}%
+ \crefname{figure}{Figur}{Figurer}%
+ \crefname{subfigure}{Figur}{Figurer}%
+ \crefname{table}{Tabel}{Tabeller}%
+ \crefname{subtable}{Tabel}{Tabeller}%
+ \crefname{page}{Side}{Sider}%
+ \crefname{part}{Del}{Dele}%
+ \crefname{chapter}{Kapitel}{Kapitler}%
+ \crefname{section}{Afsnit}{Afsnit}%
+ \crefname{subsection}{Afsnit}{Afsnit}%
+ \crefname{subsubsection}{Afsnit}{Afsnit}%
+ \crefname{appendix}{Appendiks}{Appendiks}%
+ \crefname{subappendix}{Appendiks}{Appendiks}%
+ \crefname{subsubappendix}{Appendiks}{Appendiks}%
+ \crefname{subsubsubappendix}{Appendiks}{Appendiks}%
+ \crefname{enumi}{Punkt}{Punkter}%
+ \crefname{enumii}{Punkt}{Punkter}%
+ \crefname{enumiii}{Punkt}{Punkter}%
+ \crefname{enumiv}{Punkt}{Punkter}%
+ \crefname{enumv}{Punkt}{Punkter}%
+ \crefname{footnote}{Fodnote}{Fodnoter}%
+ \crefname{theorem}{Teorem}{Teoremer}%
+ \crefname{lemma}{Lemma}{Lemma}%
+ \crefname{corollary}{F\o lgeslutning}{F\o lgeslutninger}%
+ \crefname{proposition}{Udsagn}{Udsagn}%
+ \crefname{definition}{Definition}{Definitioner}%
+ \crefname{result}{Resultat}{Resultater}%
+ \crefname{example}{Eksempel}{Eksempler}%
+ \crefname{remark}{Bem\ae rkning}{Bem\ae rkninger}%
+ \crefname{note}{Note}{Noter}%
+ \crefname{algorithm}{Algoritme}{Algoritmer}%
+ \crefname{line}{Linje}{Linjer}%
+ %
\else%
- \crefname@preamble{equation}{ligning}{ligninger}%
- \crefname@preamble{part}{del}{dele}%
- \crefname@preamble{chapter}{kapitel}{kapitler}%
- \crefname@preamble{section}{afsnit}{afsnit}%
- \crefname@preamble{appendix}{appendiks}{appendiks}%
- \crefname@preamble{enumi}{punkt}{punkter}%
- \crefname@preamble{footnote}{fodnote}{fodnoter}%
- \crefname@preamble{figure}{figur}{figurer}%
- \crefname@preamble{table}{tabel}{tabeller}%
- \crefname@preamble{theorem}{teorem}{teoremer}%
- \crefname@preamble{lemma}{lemma}{lemma}%
- \crefname@preamble{corollary}{f\o lgeslutning}{f\o lgeslutninger}%
- \crefname@preamble{proposition}{udsagn}{udsagn}%
- \crefname@preamble{definition}{definition}{definitioner}%
- \crefname@preamble{result}{resultat}{resultater}%
- \crefname@preamble{example}{eksempel}{eksempler}%
- \crefname@preamble{remark}{bem\ae rkning}{bem\ae rkninger}%
- \crefname@preamble{note}{note}{noter}%
- \crefname@preamble{algorithm}{algoritme}{algoritmer}%
- \crefname@preamble{line}{linje}{linjer}%
+ \crefname{equation}{ligning}{ligninger}%
+ \crefname{figure}{figur}{figurer}%
+ \crefname{subfigure}{figur}{figurer}%
+ \crefname{table}{tabel}{tabeller}%
+ \crefname{subtable}{tabel}{tabeller}%
+ \crefname{page}{side}{sider}%
+ \crefname{part}{del}{dele}%
+ \crefname{chapter}{kapitel}{kapitler}%
+ \crefname{section}{afsnit}{afsnit}%
+ \crefname{subsection}{afsnit}{afsnit}%
+ \crefname{subsubsection}{afsnit}{afsnit}%
+ \crefname{appendix}{appendiks}{appendiks}%
+ \crefname{subappendix}{appendiks}{appendiks}%
+ \crefname{subsubappendix}{appendiks}{appendiks}%
+ \crefname{subsubsubappendix}{appendiks}{appendiks}%
+ \crefname{enumi}{punkt}{punkter}%
+ \crefname{enumii}{punkt}{punkter}%
+ \crefname{enumiii}{punkt}{punkter}%
+ \crefname{enumiv}{punkt}{punkter}%
+ \crefname{enumv}{punkt}{punkter}%
+ \crefname{footnote}{fodnote}{fodnoter}%
+ \crefname{theorem}{teorem}{teoremer}%
+ \crefname{lemma}{lemma}{lemma}%
+ \crefname{corollary}{f\o lgeslutning}{f\o lgeslutninger}%
+ \crefname{proposition}{udsagn}{udsagn}%
+ \crefname{definition}{definition}{definitioner}%
+ \crefname{result}{resultat}{resultater}%
+ \crefname{example}{eksempel}{eksempler}%
+ \crefname{remark}{bem\ae rkning}{bem\ae rkninger}%
+ \crefname{note}{note}{noter}%
+ \crefname{algorithm}{algoritme}{algoritmer}%
+ \crefname{line}{linje}{linjer}%
\fi%
}}}
\edef\@curroptions{\@ptionlist{\@currname.\@currext}}%
@@ -5496,6 +6733,18 @@
\ExecuteOptions{capitalise}%
\fi%
\fi%
+\@expandtwoargs\in@{,nameinlink,}{%
+ ,\@classoptionslist,\@curroptions,}%
+\ifin@%
+ \ExecuteOptions{nameinlink}%
+\fi%
+\crefdefaultlabelformat{#2#1#3}
+\if@cref@nameinlink%
+ \creflabelformat{equation}{#2\textup{(#1)}#3}%
+\else%
+ \creflabelformat{equation}{\textup{(#2#1#3)}}%
+\fi
+\@labelcrefdefinedefaultformats
\ExecuteOptions{english}
\ProcessOptions*\relax
\AtBeginDocument{%
@@ -5609,12 +6858,14 @@
\csname cref@\@tempa @name\endcsname}%
\expandafter\def\expandafter\@tempc\expandafter{%
\csname cref@\@tempa @name@preamble\endcsname}%
- \expandafter\expandafter\expandafter\let\expandafter\@tempb\@tempc%
+ \expandafter\expandafter\expandafter%
+ \let\expandafter\@tempb\@tempc%
\expandafter\def\expandafter\@tempb\expandafter{%
\csname cref@\@tempa @name@plural\endcsname}%
\expandafter\def\expandafter\@tempc\expandafter{%
\csname cref@\@tempa @name@plural@preamble\endcsname}%
- \expandafter\expandafter\expandafter\let\expandafter\@tempb\@tempc%
+ \expandafter\expandafter\expandafter%
+ \let\expandafter\@tempb\@tempc%
}{%
\edef\@tempb{%
\expandafter\noexpand\csname extras\cref@language\endcsname}%
@@ -5638,12 +6889,14 @@
\csname Cref@\@tempa @name\endcsname}%
\expandafter\def\expandafter\@tempc\expandafter{%
\csname Cref@\@tempa @name@preamble\endcsname}%
- \expandafter\expandafter\expandafter\let\expandafter\@tempb\@tempc%
+ \expandafter\expandafter\expandafter%
+ \let\expandafter\@tempb\@tempc%
\expandafter\def\expandafter\@tempb\expandafter{%
\csname Cref@\@tempa @name@plural\endcsname}%
\expandafter\def\expandafter\@tempc\expandafter{%
\csname Cref@\@tempa @name@plural@preamble\endcsname}%
- \expandafter\expandafter\expandafter\let\expandafter\@tempb\@tempc%
+ \expandafter\expandafter\expandafter%
+ \let\expandafter\@tempb\@tempc%
}{%
\edef\@tempb{%
\expandafter\noexpand\csname extras\cref@language\endcsname}%
@@ -6363,6 +7616,8 @@
\Crefrange@enumiv@format@last}{}%
\let\cref@language\relax%
}% end of \AtBeginDocument
+\InputIfFileExists{cleveref.cfg}%
+ {\PackageInfo{cleveref}{reading definitions from cleveref.cfg}}{}
\endinput
%%
%% End of file `cleveref.sty'.