diff options
Diffstat (limited to 'Master/texmf-dist/source/latex')
-rw-r--r-- | Master/texmf-dist/source/latex/cleveref/cleveref.dtx | 1038 |
1 files changed, 981 insertions, 57 deletions
diff --git a/Master/texmf-dist/source/latex/cleveref/cleveref.dtx b/Master/texmf-dist/source/latex/cleveref/cleveref.dtx index 704f114087a..472169b32f2 100644 --- a/Master/texmf-dist/source/latex/cleveref/cleveref.dtx +++ b/Master/texmf-dist/source/latex/cleveref/cleveref.dtx @@ -21,11 +21,11 @@ % \iffalse %<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01] %<package>\ProvidesPackage{cleveref} -%<package> [2010/05/12 v0.16.2 Intelligent cross-referencing] +%<package> [2010/05/25 v0.16.3 Intelligent cross-referencing] % %<*driver> -\documentclass{ltxdoc} -%\documentclass[draft]{ltxdoc} +%\documentclass{ltxdoc} +\documentclass[draft]{ltxdoc} \usepackage{url} \usepackage{pifont} % FIXME: find nicer line-continuation symbol than \ding{229} % \usepackage{hyperref} % breaks index @@ -62,7 +62,7 @@ %</driver> % \fi % -% \CheckSum{8806} +% \CheckSum{12685} %% \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 @@ -171,12 +171,21 @@ % \changes{v0.16.2}{2010/05/12}{Fixed bugs in \textbackslash{}appendix % version used with \package{hyperref}, and in \textbackslash{}footnote % support.} +% \changes{v0.16.3}{2010/05/25}{Added missing \textbackslash{}namecrefs +% and \textbackslash{}nameCrefs commands. Fixed bug in +% \textbackslash{}AtBeginDocument code used to define +% \textbackslash{}cref<x>groupconjunction macros. Added missing +% \textbackslash{}crefname definitions for subsection, subsubsection +% etc. in terms of those for section, so that \textbackslash{}namecref +% works for those (and also switching language in the middle of a +% document). Added \package{babel} support for Russian and Ukranian. +% Fixed bug in \textbackslash{}refstepcounter@optarg.} % % % \GetFileInfo{cleveref.sty} % -% \def\fileversion{0.16.2} -% \def\filedate{12/05/2010} +% \def\fileversion{0.16.3} +% \def\filedate{25/05/2010} % % \title{The \package{cleveref} package\thanks{This document % corresponds to \textsf{cleveref}~\fileversion, dated @@ -400,6 +409,8 @@ % \pagebreak % \DescribeMacro{\namecref} % \DescribeMacro{\nameCref} +% \DescribeMacro{\namecrefs} +% \DescribeMacro{\nameCrefs} % Occasinally, it's useful to produce just the name of a reference, % without the label itself. For example, if you want to refer to ``this % section'', but you're not sure whether you might later change the @@ -410,7 +421,8 @@ % \begin{quote} % |\namecref{sec1}| % \end{quote} -% is type-set as ``section'' (assuming |sec1| labels a section). +% is type-set as ``section'' (assuming |sec1| labels a section). The +% \cmd{\namecres} and \cmd{\nameCrefs} commands produce the plural forms. % % There is a slight pitfall that you should be aware of when using the % \cmd{\namecref} commands. They get the reference name from the names @@ -838,8 +850,8 @@ % format definitions must contain identical \LaTeX{} code.) % % Note that if you use the low-level customisation commands, you might -% still want to provide |\crefname| and |\Crefname| definitions too, so -% that the |\namecref| and |\nameCref| commands will work (see +% still want to provide \cmd{\crefname} and \cmd{\Crefname} definitions +% too, so that the \cmd{\namecref} commands will work (see % \cref{sec:typesetting}). % % @@ -1346,17 +1358,18 @@ % A number of people have helped improve \package{cleveref} by % contributing code and translations. Thanks to Michael Ummels for % contributing the \package{amsthm} support code, and to Stefan Pinnow, -% Gonzalo Medina, Massimo Redaelli and Philip H\"olzenspies for -% contributing translations. Many people have suggested improvements or -% reported bugs, indeed many have put significant effort into helping -% investigate and fix them. So thanks (in alphabetical order) to: Anand -% Deopurkar, Arne Meier, Bas Ploeger, Dan Luecking, David Gleich, Denis -% Bitouz\'e, Domenic Denicola, Donald Arsenau, Hendrik Maryns, James -% Sharam, Jens Mueller, Joel C. Salomon, Joris Pinkse, Leo Shidai Liu, -% Lev Bishop, Matej Batic, Matthew Skala, Michael Barber, Michael Gorven, -% Michal Kaut, Olivier Roy, Paul Gomme, Ricardo de Aldama S\'anchez, -% Stefan Pinnow, Ted Pavlic, Thomas Arildsen, and Uwe L\"uck for their -% help. (If I missed you out, please let me know!) +% Gonzalo Medina, Massimo Redaelli, Philip H\"olzenspies and Aleksander +% Gorohovski for contributing translations. Many people have suggested +% improvements or reported bugs, indeed many have put significant effort +% into helping investigate and fix them. So thanks (in alphabetical +% order) to: Aleksander Gorohovski, Anand Deopurkar, Arne Meier, Bas +% Ploeger, Dan Luecking, David Gleich, Denis Bitouz\'e, Domenic Denicola, +% Donald Arsenau, Hendrik Maryns, James Sharam, Jens Mueller, Joel C. +% Salomon, Joris Pinkse, Leo Shidai Liu, Lev Bishop, Matej Batic, Matthew +% Skala, Michael Barber, Michael Gorven, Michal Kaut, Olivier Roy, Paul +% Gomme, Ricardo de Aldama S\'anchez, Stefan Pinnow, Ted Pavlic, Thomas +% Arildsen, and Uwe L\"uck for their help. (If I missed you out, please +% let me know!) % % % \StopEventually{\clearpage\PrintChanges\clearpage\PrintIndex} @@ -1432,7 +1445,7 @@ \cref@constructprefix{#2}{\@result}% \protected@edef\cref@currentlabel{% [#1][\arabic{#2}][\@result]% - \csname p@#1\endcsname\csname the#1\endcsname}} + \csname p@#2\endcsname\csname the#1\endcsname}} % \end{macrocode} % \end{macro} % \end{macro} @@ -2193,7 +2206,7 @@ % because it's simpler to code, and because we're very unlikely to % encounter lists of more than ten or so referrences, so in practice a % more complicated $O(n\log n)$ sorting algorithm will very likely be -% slower anyway. +% slower anyway in practice. % \begin{macrocode} \def\cref@stack@sort#1#2{% \begingroup% @@ -3236,12 +3249,13 @@ % % \begin{macro}{\namecref} % \begin{macro}{\nameCref} -% Finally, we define \cmd{\namecref} and \cmd{\nameCref} commands that -% return just the type-set name of a reference, without the reference -% label, which is occasionally useful. They retrieves the reference name -% from the corresponding \cmd{\crefname} or \cmd{\Crefname} definition, -% if these exist, otherwise they fall back to using the reference type as -% the name. +% \begin{macro}{\namecrefs} +% \begin{macro}{\nameCrefs} +% Finally, we define \cmd{\namecref}, \cmd{\nameCref}, \cmd{\namecrefs} +% and \cmd{\nameCrefs} commands that return just the type-set name of a +% reference, without the reference label, which is occasionally useful. +% They retrieves the reference name from the corresponding +% \cmd{\crefname} or \cmd{\Crefname} definition, if these exist. % \begin{macrocode} \DeclareRobustCommand{\namecref}[1]{% \expandafter\ifx\csname r@cref@#1\endcsname\relax% @@ -3269,9 +3283,37 @@ \@latex@warning{Reference name for label type `\@tmpa' undefined}% }{\csname Cref@\@tmpa @name\endcsname}% \fi} +\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}{\@tmpa}% + \@ifundefined{cref@\@tmpa @name@plural}{% + \protect\G@refundefinedtrue%`` + \nfss@text{\reset@font\bfseries ??}% + \@latex@warning{Reference name for label type `\@tmpa' undefined}% + }{\csname cref@\@tmpa @name@plural\endcsname}% + \fi} +\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}{\@tmpa}% + \@ifundefined{Cref@\@tmpa @name@plural}{% + \protect\G@refundefinedtrue%`` + \nfss@text{\reset@font\bfseries ??}% + \@latex@warning{Reference name for label type `\@tmpa' undefined}% + }{\csname Cref@\@tmpa @name@plural\endcsname}% + \fi} % \end{macrocode} % \end{macro} % \end{macro} +% \end{macro} +% \end{macro} % % % @@ -6336,7 +6378,7 @@ % \end{macrocode} % Erring on the side of caution, I've left off the extra comma before % ``et'' between groups, pending more knowledgeable input on punctuation -% rules from a native Franch speaker. +% rules from a native French speaker. % \begin{macrocode} \def\crefpairgroupconjunction@preamble{ et~}% \def\crefmiddlegroupconjunction@preamble{, }% @@ -6766,14 +6808,14 @@ \crefname@preamble{remark}{osservazione}{osservazioni}% \crefname@preamble{note}{nota}{note}% \fi% - \def\cref@language{italiano}% + \def\cref@language{italian}% % \end{macrocode} % % Next, we add the definitions to \cmd{\extras}\dots so that % \package{babel}'s \cmd{\selectlanguage} command will change the format % appropriately. % \begin{macrocode} - \cref@addto\extrasenglish{% + \cref@addto\extrasitalian{% \renewcommand{\crefrangeconjunction}{ a~}% \renewcommand\crefrangepreconjunction{da~}% \renewcommand\crefrangepostconjunction{}% @@ -6875,6 +6917,862 @@ % % % +% \begin{macro}{russian} +% Russian translations generously contributed by Aleksander Gorohovski. +% \end{macro} +% \begin{macrocode} +\DeclareOption{russian}{% + \PackageInfo{cleveref}{loaded `russian' language definitions} +% \end{macrocode} +% First, we set up the definitions used at the beginning of the document +% to define the formats created by the document preamble. +% \begin{macrocode} + \AtBeginDocument{% + \def\crefrangeconjunction@preamble{--}% + \def\crefrangepreconjunction@preamble{}% + \def\crefrangepostconjunction@preamble{}% + \def\crefpairconjunction@preamble{ \cyri~}% + \def\crefmiddleconjunction@preamble{, }% + \def\creflastconjunction@preamble{ \cyri~}% +% \end{macrocode} +% We have to define the group conjunctions explicitly here, rather than +% relying on fall-back definitions in terms of the above conjunctions +% (see \cref{sec:code:default_formats}), in case any other language +% option defines them explicitly and we need to override those. +% \begin{macrocode} + \def\crefpairgroupconjunction@preamble{ \cyri~}% + \def\crefmiddlegroupconjunction@preamble{, }% + \def\creflastgroupconjunction@preamble% + {, \cyra\ \cyrt\cyra\cyrk\cyrzh\cyre~}% + \Crefname@preamble{equation}% + {\CYRF\cyro\cyrr\cyrm\cyru\cyrl\cyra}% + {\CYRF\cyro\cyrr\cyrm\cyru\cyrl\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{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}% + \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}% + \if@cref@capitalise% + \crefname@preamble{equation}% + {\CYRF-\cyrl.}% + {\CYRF-\cyrl.}% + \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{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}% + \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}% + \else% + \crefname@preamble{equation}{\cyrf-\cyrl.}{\cyrf-\cyrl.}% + \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.}% + \fi% + \def\cref@language{russian}% +% \end{macrocode} +% +% Next, we add the definitions to \cmd{\extras}\dots so that +% \package{babel}'s \cmd{\selectlanguage} command will change the format +% appropriately. +% \begin{macrocode} + \cref@addto\extrasrussian{% + \renewcommand{\crefrangeconjunction}{--}% + \renewcommand\crefrangepreconjunction{}% + \renewcommand\crefrangepostconjunction{}% + \renewcommand{\crefpairconjunction}{ \cyri~}% + \renewcommand{\crefmiddleconjunction}{, }% + \renewcommand{\creflastconjunction}{ \cyri~}% + \renewcommand{\crefpairgroupconjunction}{ \cyri~}% + \renewcommand{\crefmiddlegroupconjunction}{, }% + \renewcommand{\creflastgroupconjunction}% + {, \cyra\ \cyrt\cyra\cyrk\cyrzh\cyre~}% + \Crefname{equation}% + {\CYRF\cyro\cyrr\cyrm\cyru\cyrl\cyra}% + {\CYRF\cyro\cyrr\cyrm\cyru\cyrl\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}% + {\CYRP\cyro\cyrd\cyrr\cyra\cyrz\cyrd\cyre\cyrl}% + {\CYRP\cyro\cyrd\cyrr\cyra\cyrz\cyrd\cyre\cyrl\cyrery}% + \Crefname{subsubsection}% + {\CYRP\cyro\cyrd\cyrp\cyro\cyrd\cyrr\cyra\cyrz\cyrd\cyre\cyrl}% + {\CYRP\cyro\cyrd\cyrp\cyro\cyrd\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{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{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}% + \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}% + \if@cref@capitalise% + \crefname{equation}{\CYRF-\cyrl.}{\CYRF-\cyrl.}% + \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}% + {\CYRP\cyro\cyrd\cyrr\cyra\cyrz\cyrd\cyre\cyrl}% + {\CYRP\cyro\cyrd\cyrr\cyra\cyrz\cyrd\cyre\cyrl\cyrery}% + \crefname{subsubsection}% + {\CYRP\cyro\cyrd\cyrp\cyro\cyrd\cyrr\cyra\cyrz\cyrd\cyre\cyrl}% + {\CYRP\cyro\cyrd\cyrp\cyro\cyrd\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{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}% + \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}% + \else% + \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}% + {\cyrp\cyro\cyrd\cyrr\cyra\cyrz\cyrd.}% + {\cyrp\cyro\cyrd\cyrr\cyra\cyrz\cyrd\cyre\cyrl.}% + \crefname{subsubsection}% + {\cyrp\cyro\cyrd\cyrp\cyro\cyrd\cyrr\cyra\cyrz\cyrd.}% + {\cyrp\cyro\cyrd\cyrp\cyro\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.}% + \fi% + }}} +% \end{macrocode} +% +% +% +% \begin{macro}{ukrainian} +% Ukrainian translations courtesy of Aleksander Gorohovski. +% \end{macro} +% \begin{macrocode} +\DeclareOption{ukrainian}{% + \PackageInfo{cleveref}{loaded `ukrainian' language definitions} +% \end{macrocode} +% First, we set up the definitions used at the beginning of the document +% to define the formats created by the document preamble. +% \begin{macrocode} + \AtBeginDocument{% + \def\crefrangeconjunction@preamble{--}% + \def\crefrangepreconjunction@preamble{}% + \def\crefrangepostconjunction@preamble{}% + \def\crefpairconjunction@preamble{ \cyrii~}% + \def\crefmiddleconjunction@preamble{, }% + \def\creflastconjunction@preamble{ \cyrii~}% +% \end{macrocode} +% We have to define the group conjunctions explicitly here, rather than +% relying on fall-back definitions in terms of the above conjunctions +% (see \cref{sec:code:default_formats}), in case any other language +% option defines them explicitly and we need to override those. +% \begin{macrocode} + \def\crefpairgroupconjunction@preamble{ \cyrt\cyra~}% + \def\crefmiddlegroupconjunction@preamble{, }% + \def\creflastgroupconjunction@preamble% + {, \cyra\ \cyrt\cyra\cyrk\cyro\cyrzh~}% + \Crefname@preamble{equation}% + {\CYRF\cyro\cyrr\cyrm\cyru\cyrl\cyra}% + {\CYRF\cyro\cyrr\cyrm\cyru\cyrl\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{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}% + \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}% + \if@cref@capitalise% + \crefname@preamble{equation}{\CYRF-\cyrl.}{\CYRF-\cyrl.}% + \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{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}% + \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}% + \else% + \crefname@preamble{equation}{\cyrf-\cyrl.}{\cyrf-\cyrl.}% + \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.}% + \fi% + \def\cref@language{ukrainian}% +% \end{macrocode} +% +% Next, we add the definitions to \cmd{\extras}\dots so that +% \package{babel}'s \cmd{\selectlanguage} command will change the format +% appropriately. +% \begin{macrocode} + \cref@addto\extrasukrainian{% + \renewcommand{\crefrangeconjunction}{--}% + \renewcommand\crefrangepreconjunction{}% + \renewcommand\crefrangepostconjunction{}% + \renewcommand{\crefpairconjunction}{ \cyrii~}% + \renewcommand{\crefmiddleconjunction}{, }% + \renewcommand{\creflastconjunction}{ \cyrii~}% + \renewcommand{\crefpairgroupconjunction}{ \cyrt\cyra~}% + \renewcommand{\crefmiddlegroupconjunction}{, }% + \renewcommand{\creflastgroupconjunction}% + {, \cyra\ \cyrt\cyra\cyrk\cyro\cyrzh~}% + \Crefname{equation}% + {\CYRF\cyro\cyrr\cyrm\cyru\cyrl\cyra}% + {\CYRF\cyro\cyrr\cyrm\cyru\cyrl\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}% + {\CYRP\cyrii\cyrd\cyrr\cyro\cyrz\cyrd\cyrii\cyrl}% + {\CYRP\cyrii\cyrd\cyrr\cyro\cyrz\cyrd\cyrii\cyrl\cyri}% + \Crefname{subsubsection}% + {\CYRP\cyrii\cyrd\cyrp\cyrii\cyrd\cyrr\cyro\cyrz\cyrd\cyrii\cyrl}% + {\CYRP\cyrii\cyrd\cyrp\cyrii\cyrd\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{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}% + \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}% + \if@cref@capitalise% + \crefname{equation}{\CYRF-\cyrl.}{\CYRF-\cyrl.}% + \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}% + {\CYRP\cyrii\cyrd\cyrr\cyro\cyrz\cyrd\cyrii\cyrl}% + {\CYRP\cyrii\cyrd\cyrr\cyro\cyrz\cyrd\cyrii\cyrl\cyri}% + \crefname{subsubsection}% + {\CYRP\cyrii\cyrd\cyrp\cyrii\cyrd\cyrr\cyro\cyrz\cyrd\cyrii\cyrl}% + {\CYRP\cyrii\cyrd\cyrp\cyrii\cyrd\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{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}% + \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}% + \else% + \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}% + {\cyrp\cyrii\cyrd\cyrr\cyro\cyrz\cyrd.}% + {\cyrp\cyrii\cyrd\cyrr\cyro\cyrz\cyrd\cyrii\cyrl.}% + \crefname{subsubsection}% + {\cyrp\cyrii\cyrd\cyrp\cyrii\cyrd\cyrr\cyro\cyrz\cyrd.}% + {\cyrp\cyrii\cyrd\cyrp\cyrii\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.}% + \fi% + }}} +% \end{macrocode} +% +% +% % \subsubsection{Default Cross-Reference Formats} % \label{sec:code:default_formats} % Setup the default format definitions, then process options in the order @@ -6941,6 +7839,12 @@ \expandafter\expandafter\expandafter\cref@addto% \expandafter\@tmpa\expandafter{\@tmpb}% }% +% \end{macrocode} +% If the group conjunctions haven't been defined, but explicit +% definitions \emph{have} been given for the reference list conjunctions, +% define the group conjunctions to be identical to the reference +% conjunctions. +% \begin{macrocode} \@ifundefined{crefpairconjunction}{% \let\crefpairconjunction\crefpairconjunction@preamble% }{% @@ -6950,6 +7854,8 @@ \expandafter{\crefpairconjunction}}% \expandafter\expandafter\expandafter\cref@addto% \expandafter\@tmpa\expandafter{\@tmpb}% + \@ifundefined{crefpairgroupconjunction}{% + \let\crefpairgroupconjunction\crefpairconjunction}{}% }% \@ifundefined{crefmiddleconjunction}{% \let\crefmiddleconjunction\crefmiddleconjunction@preamble% @@ -6960,6 +7866,8 @@ \expandafter{\crefmiddleconjunction}}% \expandafter\expandafter\expandafter\cref@addto% \expandafter\@tmpa\expandafter{\@tmpb}% + \@ifundefined{crefmiddlegroupconjunction}{% + \let\crefmiddlegroupconjunction\crefmiddleconjunction}{}% }% \@ifundefined{creflastconjunction}{% \let\creflastconjunction\creflastconjunction@preamble% @@ -6970,10 +7878,15 @@ \expandafter{\creflastconjunction}}% \expandafter\expandafter\expandafter\cref@addto% \expandafter\@tmpa\expandafter{\@tmpb}% +% \end{macrocode} +% Define the last group conjunction to include an extra comma. +% \begin{macrocode} + \@ifundefined{creflastgroupconjunction}{% + \edef\creflastgroupconjunction{, \creflastconjunction}}{}% }% \@ifundefined{crefpairgroupconjunction}{% \let\crefpairgroupconjunction% - \crefpairgroupconjunction@preamble% + \crefpairgroupconjunction@preamble% }{% \expandafter\def\expandafter\@tmpb\expandafter{% \expandafter\renewcommand\expandafter% @@ -6988,8 +7901,8 @@ }{% \expandafter\def\expandafter\@tmpb\expandafter{% \expandafter\renewcommand\expandafter% - {\expandafter\crefpairmiddleconjunction\expandafter}% - \expandafter{\crefpairmiddleconjunction}}% + {\expandafter\crefmiddlegroupconjunction\expandafter}% + \expandafter{\crefmiddlegroupconjunction}}% \expandafter\expandafter\expandafter\cref@addto% \expandafter\@tmpa\expandafter{\@tmpb}% }% @@ -6999,24 +7912,11 @@ }{% \expandafter\def\expandafter\@tmpb\expandafter{% \expandafter\renewcommand\expandafter% - {\expandafter\crefpairlastconjunction\expandafter}% - \expandafter{\crefpairlastconjunction}}% + {\expandafter\creflastgroupconjunction\expandafter}% + \expandafter{\creflastgroupconjunction}}% \expandafter\expandafter\expandafter\cref@addto% \expandafter\@tmpa\expandafter{\@tmpb}% }% -% \end{macrocode} -% If the group conjunctions haven't been defined, define them to be -% identical to the reference conjunctions. -% \begin{macrocode} - \@ifundefined{crefpairgroupconjunction}{% - \let\crefpairgroupconjunction\crefpairconjunction}{}% - \@ifundefined{crefmiddlegroupconjunction}{% - \let\crefmiddlegroupconjunction\crefmiddleconjunction}{}% -% \end{macrocode} -% Define the last group conjunction to include an extra comma. -% \begin{macrocode} - \@ifundefined{creflastgroupconjunction}{% - \edef\creflastgroupconjunction{, \creflastconjunction}}{}% % \end{macrocode} % % Define any undefined formats listed in \cmd{\cref@label@types} using @@ -7116,12 +8016,16 @@ % If formats for subsections are undefined, define them to be identical % to the formats for sections. % \begin{macrocode} + \@ifundefined{cref@subsection@name}{% + \let\cref@subsection@name\cref@section@name% + \let\cref@subsection@name@plural\cref@section@name@plural}{}% + \@ifundefined{Cref@subsection@name}{% + \let\Cref@subsection@name\Cref@section@name% + \let\Cref@subsection@name@plural\Cref@section@name@plural}{}% \@ifundefined{cref@subsection@format}{% - \let\cref@subsection@format% - \cref@section@format}{}% + \let\cref@subsection@format\cref@section@format}{}% \@ifundefined{Cref@subsection@format}{% - \let\Cref@subsection@format% - \Cref@section@format}{}% + \let\Cref@subsection@format\Cref@section@format}{}% \@ifundefined{crefrange@subsection@format}{% \let\crefrange@subsection@format% \crefrange@section@format}{}% @@ -7177,6 +8081,12 @@ \let\Crefrange@subsection@format@last% \Crefrange@section@format@last}{}% % + \@ifundefined{cref@subsubsection@name}{% + \let\cref@subsubsection@name\cref@section@name% + \let\cref@subsubsection@name@plural\cref@section@name@plural}{}% + \@ifundefined{Cref@subsection@name}{% + \let\Cref@subsection@name\Cref@section@name% + \let\Cref@subsection@name@plural\Cref@section@name@plural}{}% \@ifundefined{cref@subsubsection@format}{% \let\cref@subsubsection@format% \cref@subsection@format}{}% @@ -7240,12 +8150,18 @@ % \end{macrocode} % Similarly for subsections within appendices. % \begin{macrocode} + \@ifundefined{cref@subappendix@name}{% + \let\cref@subappendix@name\cref@appendix@name% + \let\cref@subappendix@name@plural% + \cref@appendix@name@plural}{}% + \@ifundefined{Cref@subappendix@name}{% + \let\Cref@subappendix@name\Cref@section@name% + \let\Cref@subappendixsection@name@plural% + \Cref@appendix@name@plural}{}% \@ifundefined{cref@subappendix@format}{% - \let\cref@subappendix@format% - \cref@appendix@format}{}% + \let\cref@subappendix@format\cref@appendix@format}{}% \@ifundefined{Cref@subappendix@format}{% - \let\Cref@subappendix@format% - \Cref@appendix@format}{}% + \let\Cref@subappendix@format\Cref@appendix@format}{}% \@ifundefined{crefrange@subappendix@format}{% \let\crefrange@subappendix@format% \crefrange@appendix@format}{}% @@ -7301,6 +8217,14 @@ \let\Crefrange@subappendix@format@last% \Crefrange@appendix@format@last}{}% % + \@ifundefined{cref@subsubappendix@name}{% + \let\cref@subsubappendix@name\cref@appendix@name% + \let\cref@subsubappendix@name@plural% + \cref@appendix@name@plural}{}% + \@ifundefined{Cref@subsubappendix@name}{% + \let\Cref@subsubappendix@name\Cref@section@name% + \let\Cref@subsubappendixsection@name@plural% + \Cref@appendix@name@plural}{}% \@ifundefined{cref@subsubappendix@format}{% \let\cref@subsubappendix@format% \cref@subappendix@format}{}% |