From 17c7e89f25a0879f2993ffd2c17fa6f0270bf100 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 2 Apr 2011 22:58:12 +0000 Subject: cleveref (2apr11) git-svn-id: svn://tug.org/texlive/trunk@21918 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/cleveref/cleveref.pdf | Bin 555689 -> 561550 bytes .../texmf-dist/source/latex/cleveref/cleveref.dtx | 2001 +++++++++++--------- Master/texmf-dist/tex/latex/cleveref/cleveref.sty | 1878 ++++++++++-------- 3 files changed, 2199 insertions(+), 1680 deletions(-) (limited to 'Master/texmf-dist') diff --git a/Master/texmf-dist/doc/latex/cleveref/cleveref.pdf b/Master/texmf-dist/doc/latex/cleveref/cleveref.pdf index 543131f5c4d..8d0deed95a5 100644 Binary files a/Master/texmf-dist/doc/latex/cleveref/cleveref.pdf and b/Master/texmf-dist/doc/latex/cleveref/cleveref.pdf differ diff --git a/Master/texmf-dist/source/latex/cleveref/cleveref.dtx b/Master/texmf-dist/source/latex/cleveref/cleveref.dtx index fc1dab3e96c..d4652bc0a79 100644 --- a/Master/texmf-dist/source/latex/cleveref/cleveref.dtx +++ b/Master/texmf-dist/source/latex/cleveref/cleveref.dtx @@ -21,7 +21,7 @@ % \iffalse %\NeedsTeXFormat{LaTeX2e}[1999/12/01] %\ProvidesPackage{cleveref} -% [2011/01/19 v0.17.8 Intelligent cross-referencing] +% [2011/03/22 v0.17.9 Intelligent cross-referencing] % %<*driver> \documentclass{ltxdoc} @@ -62,7 +62,7 @@ % % \fi % -% \CheckSum{14308} +% \CheckSum{14751} %% \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 @@ -225,11 +225,22 @@ % \changes{v0.17.8}{2011/01/19}{Fixed automatic % \textbackslash{}newtheorem name definitions to work with empty % names.} +% \changes{v0.17.9}{2011/03/22}{Added support for \package{algorithm2e} +% package. Added missing \textbackslash{}crefname definitions for +% `listing'. Changed case used in plural forms in Norwegian. Fixed bug +% in redefinition of \package{amsmath} \textbackslash{}tag command. +% Added \package{babel} support for Danish. Renamed internal +% \textbackslash{}@result macro to \textbackslash{}cref@result to avoid +% conflict with \package{tikz-qtree} package. Also renamed internal +% \textbackslash{}@temp macros to \textbackslash{}@temp, which +% seems to be more standard for temporary macros, to mitigate against +% similar (though less likely) conflicts, and also save a minuscule +% amount of \TeX{} memory.} % % \GetFileInfo{cleveref.sty} % -% \def\fileversion{0.17.8} -% \def\filedate{19/01/2011} +% \def\fileversion{0.17.9} +% \def\filedate{22/03/2011} % % \title{The \package{cleveref} package\thanks{This document % corresponds to \textsf{cleveref}~\fileversion, dated @@ -1474,18 +1485,20 @@ % 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, 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, Mak Trifkovic, Matej -% Batic, Matt Gately, 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, Aleksander +% Gorohovski and Benjamin H{\o}yer for contributing translations. Thanks +% also to Susie Goldschmidt for additional help with some of the +% 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: Alan Munn, 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, Kristian Debrabant Leo Shidai Liu, Lev Bishop, Mak Trifkovic, +% Matej Batic, Matt Gately, 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} @@ -1554,18 +1567,18 @@ } \def\refstepcounter@noarg#1{% \cref@old@refstepcounter{#1}% - \cref@constructprefix{#1}{\@result}% + \cref@constructprefix{#1}{\cref@result}% \@ifundefined{cref@#1@alias}% - {\def\@tmpa{#1}}% - {\def\@tmpa{\csname cref@#1@alias\endcsname}}% + {\def\@tempa{#1}}% + {\def\@tempa{\csname cref@#1@alias\endcsname}}% \protected@xdef\cref@currentlabel{% - [\@tmpa][\arabic{#1}][\@result]% + [\@tempa][\arabic{#1}][\cref@result]% \csname p@#1\endcsname\csname the#1\endcsname}} \def\refstepcounter@optarg[#1]#2{% \cref@old@refstepcounter{#2}% - \cref@constructprefix{#2}{\@result}% + \cref@constructprefix{#2}{\cref@result}% \protected@xdef\cref@currentlabel{% - [#1][\arabic{#2}][\@result]% + [#1][\arabic{#2}][\cref@result]% \csname p@#2\endcsname\csname the#2\endcsname}} % \end{macrocode} % \end{macro} @@ -1582,14 +1595,14 @@ \let\cref@old@footnotetext\@footnotetext \let\cref@old@mpfootnotetext\@mpfootnotetext \def\@footnotetext{% - \cref@constructprefix{footnote}{\@result}% + \cref@constructprefix{footnote}{\cref@result}% \protected@xdef\cref@currentlabel{% - [footnote][\arabic{footnote}][\@result]\p@footnote\@thefnmark}% + [footnote][\arabic{footnote}][\cref@result]\p@footnote\@thefnmark}% \cref@old@footnotetext} \def\@mpfootnotetext#1{% - \cref@constructprefix{mpfootnote}{\@result}% + \cref@constructprefix{mpfootnote}{\cref@result}% \protected@xdef\cref@currentlabel{% - [footnote][\arabic{mpfootnote}][\@result]\p@footnote\@thefnmark}% + [footnote][\arabic{mpfootnote}][\cref@result]\p@footnote\@thefnmark}% \cref@old@mpfootnotetext{#1}} % \end{macrocode} % \end{macro} @@ -2011,9 +2024,9 @@ % \begin{macrocode} \let\cref@old@subequations\subequations% \let\cref@old@endsubequations\endsubequations% - \cref@resetby{equation}{\@result}% - \ifx\@result\relax\else% - \@addtoreset{parentequation}{\@result}% + \cref@resetby{equation}{\cref@result}% + \ifx\cref@result\relax\else% + \@addtoreset{parentequation}{\cref@result}% \fi% \renewenvironment{subequations}{% \@addtoreset{equation}{parentequation}% @@ -2035,11 +2048,12 @@ % get pushed to the end of sorted cross-reference lists. % \begin{macrocode} \def\make@df@tag@@#1{% - \gdef\df@tag{\maketag@@@{#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 @@ -2066,46 +2080,46 @@ \@ifundefined{chapter}{% \gdef\refstepcounter@noarg##1{% \cref@old@refstepcounter{##1}% - \cref@constructprefix{##1}{\@result}% + \cref@constructprefix{##1}{\cref@result}% % \end{macrocode} % We add a large value to the front of the counter data, to force % references to anything in appendices to be sorted after everything % else. % \begin{macrocode} - \ifx\@result\@empty% - \def\@result{2147483647}% + \ifx\cref@result\@empty% + \def\cref@result{2147483647}% \else% - \edef\@result{2147483647,\@result}% + \edef\cref@result{2147483647,\cref@result}% \fi% % \end{macrocode} % Override the cross-reference type of sectioning commands. % \begin{macrocode} - \def\@tmpa{##1}% - \def\@tmpb{section}% - \ifx\@tmpa\@tmpb% + \def\@tempa{##1}% + \def\@tempb{section}% + \ifx\@tempa\@tempb% \protected@xdef\cref@currentlabel{% - [appendix][\arabic{##1}][\@result]% + [appendix][\arabic{##1}][\cref@result]% \csname p@##1\endcsname\csname the##1\endcsname}% \else% - \def\@tmpa{##1}% - \def\@tmpb{subsection}% - \ifx\@tmpa\@tmpb% + \def\@tempa{##1}% + \def\@tempb{subsection}% + \ifx\@tempa\@tempb% \protected@xdef\cref@currentlabel{% - [subappendix][\arabic{##1}][\@result]% + [subappendix][\arabic{##1}][\cref@result]% \csname p@##1\endcsname\csname the##1\endcsname}% \else% - \def\@tmpa{##1}% - \def\@tmpb{subsubsection}% - \ifx\@tmpa\@tmpb% + \def\@tempa{##1}% + \def\@tempb{subsubsection}% + \ifx\@tempa\@tempb% \protected@xdef\cref@currentlabel{% - [subsubappendix][\arabic{##1}][\@result]% + [subsubappendix][\arabic{##1}][\cref@result]% \csname p@##1\endcsname\csname the##1\endcsname}% \else% \@ifundefined{cref@##1@alias}% - {\def\@tmpa{##1}}% - {\def\@tmpa{\csname cref@##1@alias\endcsname}}% + {\def\@tempa{##1}}% + {\def\@tempa{\csname cref@##1@alias\endcsname}}% \protected@xdef\cref@currentlabel{% - [\@tmpa][\arabic{##1}][\@result]% + [\@tempa][\arabic{##1}][\cref@result]% \csname p@##1\endcsname\csname the##1\endcsname} \fi% \fi% @@ -2113,52 +2127,52 @@ }{% \def\refstepcounter@noarg##1{% \cref@old@refstepcounter{##1}% - \cref@constructprefix{##1}{\@result}% + \cref@constructprefix{##1}{\cref@result}% % \end{macrocode} % Again, the large value added to the front of the counter data forces % references to appendix items to be sorted last. % \begin{macrocode} - \ifx\@result\@empty% - \def\@result{2147483647}% + \ifx\cref@result\@empty% + \def\cref@result{2147483647}% \else% - \edef\@result{2147483647,\@result}% + \edef\cref@result{2147483647,\cref@result}% \fi% % \end{macrocode} % Override the cross-reference type of sectioning commands. % \begin{macrocode} - \def\@tmpa{##1}% - \def\@tmpb{chapter}% - \ifx\@tmpa\@tmpb% + \def\@tempa{##1}% + \def\@tempb{chapter}% + \ifx\@tempa\@tempb% \protected@xdef\cref@currentlabel{% - [appendix][\arabic{##1}][\@result]% + [appendix][\arabic{##1}][\cref@result]% \csname p@##1\endcsname\csname the##1\endcsname}% \else% - \def\@tmpa{##1}% - \def\@tmpb{section}% - \ifx\@tmpa\@tmpb% + \def\@tempa{##1}% + \def\@tempb{section}% + \ifx\@tempa\@tempb% \protected@xdef\cref@currentlabel{% - [subappendix][\arabic{##1}][\@result]% + [subappendix][\arabic{##1}][\cref@result]% \csname p@##1\endcsname\csname the##1\endcsname}% \else% - \def\@tmpa{##1}% - \def\@tmpb{subsection}% - \ifx\@tmpa\@tmpb% + \def\@tempa{##1}% + \def\@tempb{subsection}% + \ifx\@tempa\@tempb% \protected@xdef\cref@currentlabel{% - [subsubappendix][\arabic{##1}][\@result]% + [subsubappendix][\arabic{##1}][\cref@result]% \csname p@##1\endcsname\csname the##1\endcsname}% \else% - \def\@tmpa{##1}% - \def\@tmpb{subsubsection}% - \ifx\@tmpa\@tmpb% + \def\@tempa{##1}% + \def\@tempb{subsubsection}% + \ifx\@tempa\@tempb% \protected@xdef\cref@currentlabel{% - [subsubsubappendix][\arabic{##1}][\@result]% + [subsubsubappendix][\arabic{##1}][\cref@result]% \csname p@##1\endcsname\csname the##1\endcsname}% \else% \@ifundefined{cref@##1@alias}% - {\def\@tmpa{##1}}% - {\def\@tmpa{\csname cref@##1@alias\endcsname}}% + {\def\@tempa{##1}}% + {\def\@tempa{\csname cref@##1@alias\endcsname}}% \protected@xdef\cref@currentlabel{% - [\@tmpa][\arabic{##1}][\@result]% + [\@tempa][\arabic{##1}][\cref@result]% \csname p@##1\endcsname\csname the##1\endcsname} \fi% \fi% @@ -2206,42 +2220,42 @@ % \cmd{\csname}\ldots\cmd{\endcsname}. % \begin{macrocode} \def\cref@getlabel#1#2{% - \expandafter\let\expandafter\@tmpa\csname r@cref@#1\endcsname% + \expandafter\let\expandafter\@tempa\csname r@cref@#1\endcsname% \expandafter\expandafter\expandafter\def% - \expandafter\expandafter\expandafter\@tmpa% + \expandafter\expandafter\expandafter\@tempa% \expandafter\expandafter\expandafter{% - \expandafter\@firstoftwo\@tmpa}% - \expandafter\@cref@getlabel\@tmpa\@nil#2}% + \expandafter\@firstoftwo\@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\@tmpa\csname r@cref@#1\endcsname% + \expandafter\let\expandafter\@tempa\csname r@cref@#1\endcsname% \expandafter\expandafter\expandafter\def% - \expandafter\expandafter\expandafter\@tmpa% + \expandafter\expandafter\expandafter\@tempa% \expandafter\expandafter\expandafter{% - \expandafter\@firstoftwo\@tmpa}% - \expandafter\@cref@gettype\@tmpa\@nil#2}% + \expandafter\@firstoftwo\@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\@tmpa\csname r@cref@#1\endcsname% + \expandafter\let\expandafter\@tempa\csname r@cref@#1\endcsname% \expandafter\expandafter\expandafter\def% - \expandafter\expandafter\expandafter\@tmpa% + \expandafter\expandafter\expandafter\@tempa% \expandafter\expandafter\expandafter{% - \expandafter\@firstoftwo\@tmpa}% - \expandafter\@cref@getcounter\@tmpa\@nil#2} + \expandafter\@firstoftwo\@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\@tmpa\csname r@cref@#1\endcsname% + \expandafter\let\expandafter\@tempa\csname r@cref@#1\endcsname% \expandafter\expandafter\expandafter\def% - \expandafter\expandafter\expandafter\@tmpa% + \expandafter\expandafter\expandafter\@tempa% \expandafter\expandafter\expandafter{% - \expandafter\@firstoftwo\@tmpa}% - \expandafter\@cref@getprefix\@tmpa\@nil#2} + \expandafter\@firstoftwo\@tempa}% + \expandafter\@cref@getprefix\@tempa\@nil#2} \def\@cref@getprefix{\@ifnextchar[%] \@@cref@getprefix{\@@cref@getprefix[][][]}} \def\@@cref@getprefix[#1][#2][#3]#4\@nil#5{\def#5{#3}} @@ -2278,25 +2292,25 @@ % until it reaches a counter that isn't reset by any other. % \begin{macrocode} \def\cref@constructprefix#1#2{% - \cref@stack@init{\@tmpstack}% + \cref@stack@init{\@tempstack}% % \end{macrocode} % We fully expand the first argument (the counter name) because sometimes % a counter name containing a macro gets passed to us. % \begin{macrocode} - \edef\@tmpa{\noexpand{#1\noexpand}}% - \expandafter\def\expandafter\@tmpa\expandafter{\@tmpa{#2}}% - \expandafter\@cref@constructprefix\@tmpa% - \cref@stack@to@list{\@tmpstack}{\@tmpa}% - \expandafter\def\expandafter#2\expandafter{\@tmpa}} + \edef\@tempa{\noexpand{#1\noexpand}}% + \expandafter\def\expandafter\@tempa\expandafter{\@tempa{#2}}% + \expandafter\@cref@constructprefix\@tempa% + \cref@stack@to@list{\@tempstack}{\@tempa}% + \expandafter\def\expandafter#2\expandafter{\@tempa}} \def\@cref@constructprefix#1#2{% \cref@resetby{#1}{#2}% \ifx#2\relax% \else% - \edef\@tmpa{\the\csname c@#2\endcsname}% - \expandafter\cref@stack@push\expandafter{\@tmpa}{\@tmpstack}% - \edef\@tmpa{{#2}}% + \edef\@tempa{\the\csname c@#2\endcsname}% + \expandafter\cref@stack@push\expandafter{\@tempa}{\@tempstack}% + \edef\@tempa{{#2}}% \expandafter\expandafter\expandafter\@cref@constructprefix% - \expandafter\@tmpa\expandafter{\expandafter#2\expandafter}% + \expandafter\@tempa\expandafter{\expandafter#2\expandafter}% \fi} % \end{macrocode} % \end{macro} @@ -2361,19 +2375,19 @@ \def\cref@stack@add#1#2{% \begingroup% \def\@arg1{#1}% - \let\@tmpstack#2% + \let\@tempstack#2% \newif\if@notthere% \@nottheretrue% - \cref@isstackfull{\@tmpstack}% + \cref@isstackfull{\@tempstack}% \@whilesw\if@cref@stackfull\fi{% - \edef\@tmpb{\cref@stack@top{\@tmpstack}}% - \def\@tmpa{#1}% - \ifx\@tmpa\@tmpb% + \edef\@tempb{\cref@stack@top{\@tempstack}}% + \def\@tempa{#1}% + \ifx\@tempa\@tempb% \@cref@stackfullfalse% \@nottherefalse% \else% - \cref@stack@pop{\@tmpstack}% - \cref@isstackfull{\@tmpstack}% + \cref@stack@pop{\@tempstack}% + \cref@isstackfull{\@tempstack}% \fi}% \expandafter\endgroup% \if@notthere\cref@stack@push{#1}{#2}\fi} @@ -2398,12 +2412,12 @@ \newif\if@cref@stackempty \newif\if@cref@stackfull \def\cref@isstackempty#1{% - \def\@tmpa{\@nil}% - \ifx#1\@tmpa\@cref@stackemptytrue% + \def\@tempa{\@nil}% + \ifx#1\@tempa\@cref@stackemptytrue% \else\@cref@stackemptyfalse\fi} \def\cref@isstackfull#1{% - \def\@tmpa{\@nil}% - \ifx#1\@tmpa\@cref@stackfullfalse% + \def\@tempa{\@nil}% + \ifx#1\@tempa\@cref@stackfullfalse% \else\@cref@stackfulltrue\fi} % \end{macrocode} % \end{macro} @@ -2435,15 +2449,15 @@ % \begin{macrocode} \cref@isstackfull{#1}% \if@cref@stackfull% - \edef\@tmpa{\cref@stack@top{#1}}% - \@whilesw\ifx\@tmpa\@empty\fi{% + \edef\@tempa{\cref@stack@top{#1}}% + \@whilesw\ifx\@tempa\@empty\fi{% \cref@stack@pull{}{\@sortstack}% \cref@stack@pop{#1}% \cref@isstackempty{#1}% \if@cref@stackempty% - \let\@tmpa\relax% + \let\@tempa\relax% \else% - \edef\@tmpa{\cref@stack@top{#1}}% + \edef\@tempa{\cref@stack@top{#1}}% \fi}% \fi% % \end{macrocode} @@ -2460,25 +2474,25 @@ \def\@empties{}% \cref@isstackfull{#1}% \if@cref@stackfull% - \edef\@tmpa{\cref@stack@top{#1}}% - \@whilesw\ifx\@tmpa\@empty\fi{% + \edef\@tempa{\cref@stack@top{#1}}% + \@whilesw\ifx\@tempa\@empty\fi{% \edef\@empties{\@empties,}% \cref@stack@pop{#1}% \cref@isstackempty{#1}% \if@cref@stackempty% - \let\@tmpa\relax% + \let\@tempa\relax% \else% - \edef\@tmpa{\cref@stack@top{#1}}% + \edef\@tempa{\cref@stack@top{#1}}% \fi}% \fi% % \end{macrocode} % Insert current element into sorted stack, appending any following empty % elements. % \begin{macrocode} - \edef\@tmpa{{\expandafter\noexpand\@element}% + \edef\@tempa{{\expandafter\noexpand\@element}% {\expandafter\noexpand\@empties}% {\noexpand\@sortstack}{\noexpand#2}}% - \expandafter\cref@stack@insert\@tmpa% + \expandafter\cref@stack@insert\@tempa% \cref@isstackfull{#1}}% \expandafter\endgroup\expandafter% \def\expandafter#1\expandafter{\@sortstack}} @@ -2507,16 +2521,16 @@ \if@cref@stackempty% \cref@stack@push{#1,#2#3}{#4}% \else% - \edef\@tmpa{\cref@stack@top{#4}}% - \expandafter\@cmp\expandafter{\@tmpa}{#2}{\@result}% - \ifnum\@result=2\relax% + \edef\@tempa{\cref@stack@top{#4}}% + \expandafter\@cmp\expandafter{\@tempa}{#2}{\cref@result}% + \ifnum\cref@result=2\relax% \cref@stack@push{#1,#2#3}{#4}% \else% \cref@stack@pop{#4}% - \edef\@tmpa{{\noexpand#1,\@tmpa}{\noexpand#2}% + \edef\@tempa{{\noexpand#1,\@tempa}{\noexpand#2}% {\noexpand#3}{\noexpand#4}}% \expandafter\def\expandafter\@iterate\expandafter% - {\expandafter\@cref@stack@insert\@tmpa}% + {\expandafter\@cref@stack@insert\@tempa}% \fi% \fi% \@iterate} @@ -2536,27 +2550,27 @@ \def\cref@counter@rest#1#2\@nil{#2} \def\cref@countercmp#1#2#3{% \begingroup% - \def\@tmpa{#1}% + \def\@tempa{#1}% % \end{macrocode} % In order to ensure empty references end up in the right place when % sorting lists of multiple references, we make the comparison macro % sort them before a non-empty reference. % \begin{macrocode} - \ifx\@tmpa\@empty% - \def\@result{1}% + \ifx\@tempa\@empty% + \def\cref@result{1}% \else% - \def\@tmpa{#2}% - \ifx\@tmpa\@empty% - \def\@result{2}% + \def\@tempa{#2}% + \ifx\@tempa\@empty% + \def\cref@result{2}% \else% % \end{macrocode} % Conversely, undefined references come after everything else. % \begin{macrocode} \expandafter\ifx\csname r@cref@#1\endcsname\relax% - \def\@result{2}% + \def\cref@result{2}% \else% \expandafter\ifx\csname r@cref@#2\endcsname\relax% - \def\@result{1}% + \def\cref@result{1}% \else% % \end{macrocode} % The real work of comparing two references is done by @@ -2586,7 +2600,7 @@ \fi% \fi% \expandafter\endgroup\expandafter% - \chardef\expandafter#3\expandafter=\@result\relax} + \chardef\expandafter#3\expandafter=\cref@result\relax} % \end{macrocode} % \end{macro} % \begin{macro}{\cref@countercmp} @@ -2600,24 +2614,24 @@ \if@cref@stackempty% \cref@isstackempty{\@countstackb}% \if@cref@stackempty% - \def\@result{0}% + \def\cref@result{0}% \else% - \def\@result{1}% + \def\cref@result{1}% \fi% \else% \cref@isstackempty{\@countstackb}% \if@cref@stackempty% - \def\@result{2}% + \def\cref@result{2}% \else% - \edef\@tmpa{\cref@stack@top{\@countstacka}}% + \edef\@tempa{\cref@stack@top{\@countstacka}}% \cref@stack@pop{\@countstacka}% - \edef\@tmpb{\cref@stack@top{\@countstackb}}% + \edef\@tempb{\cref@stack@top{\@countstackb}}% \cref@stack@pop{\@countstackb}% - \ifnum\@tmpa<\@tmpb\relax% - \def\@result{1}% + \ifnum\@tempa<\@tempb\relax% + \def\cref@result{1}% \else% - \ifnum\@tmpa>\@tmpb\relax% - \def\@result{2}% + \ifnum\@tempa>\@tempb\relax% + \def\cref@result{2}% \else% \def\@iterate{\@cref@countercmp}% \fi% @@ -2691,17 +2705,17 @@ % If counter in question is |subfigure| or |subtable|, check if it's % reset by |figure| or |table|, respectively. % \begin{macrocode} - \def\@tmpa{#1}% - \def\@tmpb{subfigure}% - \ifx\@tmpa\@tmpb% + \def\@tempa{#1}% + \def\@tempb{subfigure}% + \ifx\@tempa\@tempb% \cref@isinresetlist{#1}{figure}% \if@cref@inresetlist% \def#2{figure}% \fi% \fi% - \def\@tmpa{#1}% - \def\@tmpb{subtable}% - \ifx\@tmpa\@tmpb% + \def\@tempa{#1}% + \def\@tempb{subtable}% + \ifx\@tempa\@tempb% \cref@isinresetlist{#1}{table}% \if@cref@inresetlist% \def#2{table}% @@ -2720,9 +2734,9 @@ % any?). % \begin{macrocode} \@ifundefined{cl@parentequation}{}{% - \def\@tmpa{#1}% - \def\@tmpb{equation}% - \ifx\@tmpa\@tmpb% + \def\@tempa{#1}% + \def\@tempb{equation}% + \ifx\@tempa\@tempb% \cref@isinresetlist{#1}{parentequation}% \if@cref@inresetlist% \expandafter\ifnum\c@parentequation=0\else% @@ -2734,25 +2748,25 @@ % If counter in question is |enum|\meta{x}, check if it's reset by a % higher-level |enum|\meta{x}. % \begin{macrocode} - \def\@tmpa{#1}% - \def\@tmpb{enumii}% - \ifx\@tmpa\@tmpb% + \def\@tempa{#1}% + \def\@tempb{enumii}% + \ifx\@tempa\@tempb% \def#2{enum}% \fi% - \def\@tmpb{enumiii}% - \ifx\@tmpa\@tmpb% + \def\@tempb{enumiii}% + \ifx\@tempa\@tempb% \def#2{enum}% \fi% - \def\@tmpb{enumiv}% - \ifx\@tmpa\@tmpb% + \def\@tempb{enumiv}% + \ifx\@tempa\@tempb% \def#2{enum}% \fi% - \def\@tmpb{enumv}% - \ifx\@tmpa\@tmpb% + \def\@tempb{enumv}% + \ifx\@tempa\@tempb% \def#2{enum}% \fi% - \def\@tmpb{enum}% - \ifx#2\@tmpb% + \def\@tempb{enum}% + \ifx#2\@tempb% \cref@isinresetlist{#1}{enumiv}% \if@cref@inresetlist% \def#2{enumiv}% @@ -2837,10 +2851,10 @@ \begingroup% \countdef\refa@counter=0% \countdef\refb@counter=1% - \cref@getcounter{#1}{\@result}% - \refa@counter=\@result% - \cref@getcounter{#2}{\@result}% - \refb@counter=\@result% + \cref@getcounter{#1}{\cref@result}% + \refa@counter=\cref@result% + \cref@getcounter{#2}{\cref@result}% + \refb@counter=\cref@result% \cref@getprefix{#1}{\refa@prefix}% \cref@getprefix{#2}{\refb@prefix}% \def\@after{\@cref@refconsecutivefalse}% @@ -2903,8 +2917,8 @@ \else% \expandafter\cref@gettype\expandafter% {\@nextref}{\@nexttype}% - \def\@tmpa{\@undefined}% - \ifx\@nexttype\@tmpa% + \def\@tempa{\@undefined}% + \ifx\@nexttype\@tempa% \def\@nextformat{\@undefined}% \else% \expandafter\expandafter\expandafter\def% @@ -2927,7 +2941,7 @@ % |#2|. % \begin{macrocode} \def\cref@processgroupall#1#2{% - \cref@stack@init{\@tmpstack}% + \cref@stack@init{\@tempstack}% \edef\@nextref{\cref@stack@top{#1}}% \expandafter\ifx\csname r@cref@\@nextref\endcsname\relax% \def\@grouptype{\@undefined}% @@ -2961,8 +2975,8 @@ \else% \expandafter\cref@gettype\expandafter% {\@nextref}{\@nexttype}% - \def\@tmpa{\@undefined}% - \ifx\@nexttype\@tmpa% + \def\@tempa{\@undefined}% + \ifx\@nexttype\@tempa% \def\@nextformat{\@undefined}% \else% \expandafter\expandafter\expandafter\def% @@ -2977,13 +2991,13 @@ \ifx\@nextformat\@groupformat% \expandafter\cref@stack@pull\expandafter{\@nextref}{#2}% \else% - \expandafter\cref@stack@pull\expandafter{\@nextref}{\@tmpstack}% + \expandafter\cref@stack@pull\expandafter{\@nextref}{\@tempstack}% \fi% \cref@stack@pop{#1}% \let\@lasttype\@nexttype% \let\@lastformat\@nextformat% \cref@isstackfull{#1}}% - \let#1\@tmpstack} + \let#1\@tempstack} % \end{macrocode} % \end{macro} % @@ -3040,8 +3054,8 @@ \expandafter\ifx\csname r@cref@\@nextref\endcsname\relax% \@cref@refconsecutivefalse% \else% - \edef\@tmpa{{#2}{\@nextref}}% - \expandafter\cref@isrefconsecutive\@tmpa% + \edef\@tempa{{#2}{\@nextref}}% + \expandafter\cref@isrefconsecutive\@tempa% \fi% \fi% \fi% @@ -3079,8 +3093,8 @@ \expandafter\ifx\csname r@cref@\@nextref\endcsname\relax% \@cref@refconsecutivefalse% \else% - \edef\@tmpa{{#3}{\@nextref}}% - \expandafter\cref@isrefconsecutive\@tmpa% + \edef\@tempa{{#3}{\@nextref}}% + \expandafter\cref@isrefconsecutive\@tempa% \fi% \fi% \fi}% @@ -3149,8 +3163,8 @@ \def\cref@variant{#1}% \newif\if@secondref% \cref@stack@init{\@refstack}% - \edef\@tmpa{#2}% - \expandafter\cref@stack@push\expandafter{\@tmpa}{\@refstack}% + \edef\@tempa{#2}% + \expandafter\cref@stack@push\expandafter{\@tempa}{\@refstack}% \cref@isstackfull{\@refstack}% % \end{macrocode} % Loop until the reference stack is empty. @@ -3238,11 +3252,11 @@ % otherwise, type-set a reference range. % \begin{macrocode} \else% - \edef\@tmpa{{\@beginref}{\@endref}}% + \edef\@tempa{{\@beginref}{\@endref}}% \if@cref@stackempty% - \expandafter\@setcrefrange\@tmpa{\cref@variant}{}% + \expandafter\@setcrefrange\@tempa{\cref@variant}{}% \else% - \expandafter\@setcrefrange\@tmpa{\cref@variant}{@first}% + \expandafter\@setcrefrange\@tempa{\cref@variant}{@first}% \fi% \fi% \fi% @@ -3295,8 +3309,8 @@ % reference; % \begin{macrocode} \ifnum\count@consecutive=1\relax% - \edef\@tmpa{{\@beginref}{cref}{\@pos}}% - \expandafter\@setcref\@tmpa% + \edef\@tempa{{\@beginref}{cref}{\@pos}}% + \expandafter\@setcref\@tempa% \else% % \end{macrocode} % if there were only two consecutive references, type-set the first @@ -3311,8 +3325,8 @@ % otherwise, type-set a reference range. % \begin{macrocode} \else% - \edef\@tmpa{{\@beginref}{\@endref}{cref}{\@pos}}% - \expandafter\@setcrefrange\@tmpa% + \edef\@tempa{{\@beginref}{\@endref}{cref}{\@pos}}% + \expandafter\@setcrefrange\@tempa% \fi% \fi% \@secondreffalse% @@ -3324,8 +3338,8 @@ % stack have different types, throw a warning and stop processing % \begin{macrocode} \if@cref@stackfull% - \def\@tmpa{#1}\def\@tmpb{labelcref}% - \ifx\@tmpa\@tmpb\relax% + \def\@tempa{#1}\def\@tempb{labelcref}% + \ifx\@tempa\@tempb\relax% \protect\G@refundefinedtrue% \nfss@text{\reset@font\bfseries\space ??}% \@latex@warning{References in label reference on page \thepage @@ -3357,8 +3371,8 @@ % If reference format is undefined, but we're type-setting a % \cmd{\labelcref}, fall back to default \cmd{\labelcref} formats. % \begin{macrocode} - \edef\@tmpa{#2}\def\@tmpb{labelcref}% - \ifx\@tmpa\@tmpb\relax% + \edef\@tempa{#2}\def\@tempb{labelcref}% + \ifx\@tempa\@tempb\relax% \expandafter\@@setcref\expandafter% {\csname #2@default@format#3\endcsname}{#1}% \else% @@ -3438,8 +3452,8 @@ % \cmd{\labelcref}, fall back to default \cmd{\labelcref} % formats. % \begin{macrocode} - \edef\@tmpa{#3}\def\@tmpb{labelcref}% - \ifx\@tmpa\@tmpb\relax% + \edef\@tempa{#3}\def\@tempb{labelcref}% + \ifx\@tempa\@tempb\relax% \expandafter\@@setcrefrange\expandafter% {\csname #3range@default@format#4\endcsname}{#1}{#2}% \else% @@ -3517,12 +3531,12 @@ \nfss@text{\reset@font\bfseries ??}% \@latex@warning{Reference `#1' on page \thepage \space undefined}% \else% - \cref@gettype{#1}{\@tmpa}% - \@ifundefined{cref@\@tmpa @name}{% + \cref@gettype{#1}{\@tempa}% + \@ifundefined{cref@\@tempa @name}{% \protect\G@refundefinedtrue%`` \nfss@text{\reset@font\bfseries ??}% - \@latex@warning{Reference name for label type `\@tmpa' undefined}% - }{\csname cref@\@tmpa @name\endcsname}% + \@latex@warning{Reference name for label type `\@tempa' undefined}% + }{\csname cref@\@tempa @name\endcsname}% \fi} \DeclareRobustCommand{\nameCref}[1]{% \expandafter\ifx\csname r@cref@#1\endcsname\relax% @@ -3530,12 +3544,12 @@ \nfss@text{\reset@font\bfseries ??}% \@latex@warning{Reference `#1' on page \thepage \space undefined}% \else% - \cref@gettype{#1}{\@tmpa}% - \@ifundefined{Cref@\@tmpa @name}{% + \cref@gettype{#1}{\@tempa}% + \@ifundefined{Cref@\@tempa @name}{% \protect\G@refundefinedtrue%`` \nfss@text{\reset@font\bfseries ??}% - \@latex@warning{Reference name for label type `\@tmpa' undefined}% - }{\csname Cref@\@tmpa @name\endcsname}% + \@latex@warning{Reference name for label type `\@tempa' undefined}% + }{\csname Cref@\@tempa @name\endcsname}% \fi} \DeclareRobustCommand{\lcnamecref}[1]{% \expandafter\ifx\csname r@cref@#1\endcsname\relax% @@ -3543,13 +3557,13 @@ \nfss@text{\reset@font\bfseries ??}% \@latex@warning{Reference `#1' on page \thepage \space undefined}% \else% - \cref@gettype{#1}{\@tmpa}% - \@ifundefined{cref@\@tmpa @name}{% + \cref@gettype{#1}{\@tempa}% + \@ifundefined{cref@\@tempa @name}{% \protect\G@refundefinedtrue%`` \nfss@text{\reset@font\bfseries ??}% - \@latex@warning{Reference name for label type `\@tmpa' undefined}% + \@latex@warning{Reference name for label type `\@tempa' undefined}% }{\expandafter\expandafter\expandafter% - \MakeLowercase\csname cref@\@tmpa @name\endcsname}% + \MakeLowercase\csname cref@\@tempa @name\endcsname}% \fi} \DeclareRobustCommand{\namecrefs}[1]{% \expandafter\ifx\csname r@cref@#1\endcsname\relax% @@ -3557,12 +3571,12 @@ \nfss@text{\reset@font\bfseries ??}% \@latex@warning{Reference `#1' on page \thepage \space undefined}% \else% - \cref@gettype{#1}{\@tmpa}% - \@ifundefined{cref@\@tmpa @name@plural}{% + \cref@gettype{#1}{\@tempa}% + \@ifundefined{cref@\@tempa @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}% + \@latex@warning{Reference name for label type `\@tempa' undefined}% + }{\csname cref@\@tempa @name@plural\endcsname}% \fi} \DeclareRobustCommand{\nameCrefs}[1]{% \expandafter\ifx\csname r@cref@#1\endcsname\relax% @@ -3570,12 +3584,12 @@ \nfss@text{\reset@font\bfseries ??}% \@latex@warning{Reference `#1' on page \thepage \space undefined}% \else% - \cref@gettype{#1}{\@tmpa}% - \@ifundefined{Cref@\@tmpa @name@plural}{% + \cref@gettype{#1}{\@tempa}% + \@ifundefined{Cref@\@tempa @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}% + \@latex@warning{Reference name for label type `\@tempa' undefined}% + }{\csname Cref@\@tempa @name@plural\endcsname}% \fi} \DeclareRobustCommand{\lcnamecrefs}[1]{% \expandafter\ifx\csname r@cref@#1\endcsname\relax% @@ -3583,13 +3597,13 @@ \nfss@text{\reset@font\bfseries ??}% \@latex@warning{Reference `#1' on page \thepage \space undefined}% \else% - \cref@gettype{#1}{\@tmpa}% - \@ifundefined{cref@\@tmpa @name@plural}{% + \cref@gettype{#1}{\@tempa}% + \@ifundefined{cref@\@tempa @name@plural}{% \protect\G@refundefinedtrue%`` \nfss@text{\reset@font\bfseries ??}% - \@latex@warning{Reference name for label type `\@tmpa' undefined}% + \@latex@warning{Reference name for label type `\@tempa' undefined}% }{\expandafter\expandafter\expandafter% - \MakeLowercase\csname cref@\@tmpa @name@plural\endcsname}% + \MakeLowercase\csname cref@\@tempa @name@plural\endcsname}% \fi} % \end{macrocode} % \end{macro} @@ -3694,67 +3708,67 @@ \expandafter\def\csname #1@#2@name#5\endcsname{#3}% \expandafter\def\csname #1@#2@name@plural#5\endcsname{#4}% % \end{macrocode} -% The following \cmd{\@tmpa} macro makes use of the fact that the first +% The following \cmd{\@tempa} macro makes use of the fact that the first % character of \#1 is ``c'' for lower-case and ``C'' for upper-case, in % order to wrap the capitalisation-dependent parts in macros so that the % rest of the code can be capitalisation-variant agnostic. % \begin{macrocode} - \def\@tmpa##1##2\@nil{% + \def\@tempa##1##2\@nil{% \if##1c% \def\@other{C##2}% - \def\@tmpc{\expandafter\MakeUppercase}% + \def\@tempc{\expandafter\MakeUppercase}% \else% \def\@other{c##2}% \if@cref@capitalise% - \def\@tmpc{}% + \def\@tempc{}% \else% - \def\@tmpc{\MakeLowercase}% + \def\@tempc{\MakeLowercase}% \fi% \fi}% - \@tmpa#1\@nil% + \@tempa#1\@nil% % \end{macrocode} % If the other capitalisation variant is not already defined... % \begin{macrocode} \@ifundefined{\@other @#2@name#5}{% % \end{macrocode} -% Define \cmd{\@tmpa} and \cmd{@tmpb} to be partial expansions (expanded +% Define \cmd{\@tempa} and \cmd{@tmpb} to be partial expansions (expanded % just once) of the macros for the capitalisation variant we've just % defined above. % \begin{macrocode} \expandafter\expandafter\expandafter\def% - \expandafter\expandafter\expandafter\@tmpa% + \expandafter\expandafter\expandafter\@tempa% \expandafter\expandafter\expandafter{% \csname#1@#2@name\endcsname}% \expandafter\expandafter\expandafter\def% - \expandafter\expandafter\expandafter\@tmpb% + \expandafter\expandafter\expandafter\@tempb% \expandafter\expandafter\expandafter{% \csname#1@#2@name@plural\endcsname}% % \end{macrocode} -% Add the case-change command stored in \cmd{\@tmpc} to the front of the -% definitions of \cmd{\@tmpa} and \cmd{\@tmpb}. +% Add the case-change command stored in \cmd{\@tempc} to the front of the +% definitions of \cmd{\@tempa} and \cmd{\@tempb}. % \begin{macrocode} - \expandafter\ifx\@tmpa\@empty\else% + \expandafter\ifx\@tempa\@empty\else% \expandafter\expandafter\expandafter\def% - \expandafter\expandafter\expandafter\@tmpa% + \expandafter\expandafter\expandafter\@tempa% \expandafter\expandafter\expandafter{% - \expandafter\@tmpc\@tmpa}% + \expandafter\@tempc\@tempa}% \expandafter\expandafter\expandafter\def% - \expandafter\expandafter\expandafter\@tmpb% + \expandafter\expandafter\expandafter\@tempb% \expandafter\expandafter\expandafter{% - \expandafter\@tmpc\@tmpb}% + \expandafter\@tempc\@tempb}% \fi% % \end{macrocode} % Define the other capitalisation variants to be the partial expansions -% (expanded just once) of \cmd{\@tmpa} and \cmd{\@tmpb}. The +% (expanded just once) of \cmd{\@tempa} and \cmd{\@tempb}. The % \cmd{\@toksa} token register just makes the code less verbose. % \begin{macrocode} \toksdef\@toksa=0% \@toksa={% \expandafter\def\csname\@other @#2@name#5\endcsname}% - \expandafter\the\expandafter\@toksa\expandafter{\@tmpa}% + \expandafter\the\expandafter\@toksa\expandafter{\@tempa}% \@toksa={% \expandafter\def\csname\@other @#2@name@plural#5\endcsname}% - \expandafter\the\expandafter\@toksa\expandafter{\@tmpb}% + \expandafter\the\expandafter\@toksa\expandafter{\@tempb}% }{}% % \end{macrocode} % Add label type to list of types that need defining from components. @@ -3777,58 +3791,58 @@ % Single cross-reference label format. % \begin{macrocode} \@ifundefined{cref@#1@label}{% - \let\@tmplabel\cref@default@label% + \let\@templabel\cref@default@label% }{% - \expandafter\let\expandafter\@tmplabel% + \expandafter\let\expandafter\@templabel% \csname cref@#1@label\endcsname% }% % \end{macrocode} % Reference range label format. % \begin{macrocode} \@ifundefined{cref@#1@rangelabel}{% - \expandafter\def\expandafter\@tmpa\expandafter{% - \@tmplabel{####1}{####3}{####4}}% - \expandafter\def\expandafter\@tmpb\expandafter{% - \@tmplabel{####2}{####5}{####6}}% + \expandafter\def\expandafter\@tempa\expandafter{% + \@templabel{####1}{####3}{####4}}% + \expandafter\def\expandafter\@tempb\expandafter{% + \@templabel{####2}{####5}{####6}}% \toksdef\@toksa=0% - \@toksa={\def\@tmprangelabel##1##2##3##4##5##6}% + \@toksa={\def\@temprangelabel##1##2##3##4##5##6}% \expandafter\expandafter\expandafter\the% \expandafter\expandafter\expandafter\@toksa% \expandafter\expandafter\expandafter{% \expandafter\expandafter\expandafter\crefrangepreconjunction% - \expandafter\@tmpa\expandafter\crefrangeconjunction\@tmpb% + \expandafter\@tempa\expandafter\crefrangeconjunction\@tempb% \crefrangepostconjunction}% }{% - \expandafter\let\expandafter\@tmprangelabel% + \expandafter\let\expandafter\@temprangelabel% \csname cref@#1@rangelabel\endcsname% }% % \end{macrocode} % Get the correct number of ``\#'''s into the label format definitions. % \begin{macrocode} - \expandafter\def\expandafter\@tmplabel\expandafter{% - \@tmplabel{########1}{########2}{########3}}% - \expandafter\def\expandafter\@tmprangelabel\expandafter{% - \@tmprangelabel{########1}{########2}{########3}% + \expandafter\def\expandafter\@templabel\expandafter{% + \@templabel{########1}{########2}{########3}}% + \expandafter\def\expandafter\@temprangelabel\expandafter{% + \@temprangelabel{########1}{########2}{########3}% {########4}{########5}{########6}}% % \end{macrocode} % Lower-case singular cross-reference name. % \begin{macrocode} - \expandafter\def\expandafter\@tmpname\expandafter{% + \expandafter\def\expandafter\@tempname\expandafter{% \csname cref@#1@name\endcsname}% % \end{macrocode} % Upper-case singular cross-reference name. % \begin{macrocode} - \expandafter\def\expandafter\@tmpName\expandafter{% + \expandafter\def\expandafter\@tempName\expandafter{% \csname Cref@#1@name\endcsname}% % \end{macrocode} % Lower-case plural cross-reference name. % \begin{macrocode} - \expandafter\def\expandafter\@tmpnameplural\expandafter{% + \expandafter\def\expandafter\@tempnameplural\expandafter{% \csname cref@#1@name@plural\endcsname}% % \end{macrocode} % Upper-case plural cross-reference name. % \begin{macrocode} - \expandafter\def\expandafter\@tmpNameplural\expandafter{% + \expandafter\def\expandafter\@tempNameplural\expandafter{% \csname Cref@#1@name@plural\endcsname}% } % \end{macrocode} @@ -3850,37 +3864,37 @@ % Assemble the arguments for \cmd{\crefformat}, \cmd{\Crefformat} and % \cmd{\labelcrefformat} from the components. % \begin{macrocode} - \expandafter\ifx\@tmpname\@empty\relax% - \expandafter\def\expandafter\@tmpfirst\expandafter{\@tmplabel}% + \expandafter\ifx\@tempname\@empty\relax% + \expandafter\def\expandafter\@tempfirst\expandafter{\@templabel}% \else% \expandafter\expandafter\expandafter\def% - \expandafter\expandafter\expandafter\@tmpfirst% + \expandafter\expandafter\expandafter\@tempfirst% \expandafter\expandafter\expandafter{% - \expandafter\@tmpname\expandafter\nobreakspace\@tmplabel}% + \expandafter\@tempname\expandafter\nobreakspace\@templabel}% \fi% - \expandafter\ifx\@tmpName\@empty\relax% - \expandafter\def\expandafter\@tmpFirst\expandafter{\@tmplabel}% + \expandafter\ifx\@tempName\@empty\relax% + \expandafter\def\expandafter\@tempFirst\expandafter{\@templabel}% \else% \expandafter\expandafter\expandafter\def% - \expandafter\expandafter\expandafter\@tmpFirst% + \expandafter\expandafter\expandafter\@tempFirst% \expandafter\expandafter\expandafter{% - \expandafter\@tmpName\expandafter\nobreakspace\@tmplabel}% + \expandafter\@tempName\expandafter\nobreakspace\@templabel}% \fi% - \expandafter\def\expandafter\@tmplabel\expandafter{\@tmplabel}% + \expandafter\def\expandafter\@templabel\expandafter{\@templabel}% % \end{macrocode} % Define \cmd{\crefformat} and \cmd{\Crefformat}. % \begin{macrocode} \toksdef\@toksa=0% \@toksa={\crefformat{#1}}% - \expandafter\the\expandafter\@toksa\expandafter{\@tmpfirst}% + \expandafter\the\expandafter\@toksa\expandafter{\@tempfirst}% \@toksa={\Crefformat{#1}}% - \expandafter\the\expandafter\@toksa\expandafter{\@tmpFirst}% + \expandafter\the\expandafter\@toksa\expandafter{\@tempFirst}% % \end{macrocode} % Define \cmd{\labelcrefformat} if type has custom label format. % \begin{macrocode} \@ifundefined{cref@#1@label}{}{% \@toksa={\labelcrefformat{#1}}% - \expandafter\the\expandafter\@toksa\expandafter{\@tmplabel}}% + \expandafter\the\expandafter\@toksa\expandafter{\@templabel}}% \endgroup} % \end{macrocode} % \end{macro} @@ -3899,44 +3913,44 @@ % \cmd{\Crefrangeformat} and\linebreak[4] \cmd{\labelcrefrangeformat} % from the components. % \begin{macrocode} - \expandafter\ifx\@tmpname\@empty\relax% - \expandafter\def\expandafter\@tmpfirst% - \expandafter{\@tmprangelabel}% + \expandafter\ifx\@tempname\@empty\relax% + \expandafter\def\expandafter\@tempfirst% + \expandafter{\@temprangelabel}% \else% \expandafter\expandafter\expandafter\def% - \expandafter\expandafter\expandafter\@tmpfirst% + \expandafter\expandafter\expandafter\@tempfirst% \expandafter\expandafter\expandafter{% - \expandafter\@tmpnameplural\expandafter\nobreakspace\@tmprangelabel}% + \expandafter\@tempnameplural\expandafter\nobreakspace\@temprangelabel}% \fi% - \expandafter\ifx\@tmpName\@empty\relax% - \expandafter\def\expandafter\@tmpFirst% - \expandafter{\@tmprangelabel}% + \expandafter\ifx\@tempName\@empty\relax% + \expandafter\def\expandafter\@tempFirst% + \expandafter{\@temprangelabel}% \else% \expandafter\expandafter\expandafter\def% - \expandafter\expandafter\expandafter\@tmpFirst% + \expandafter\expandafter\expandafter\@tempFirst% \expandafter\expandafter\expandafter{% - \expandafter\@tmpNameplural\expandafter\nobreakspace\@tmprangelabel}% + \expandafter\@tempNameplural\expandafter\nobreakspace\@temprangelabel}% \fi% - \expandafter\def\expandafter\@tmprangelabel% - \expandafter{\@tmprangelabel}% + \expandafter\def\expandafter\@temprangelabel% + \expandafter{\@temprangelabel}% % \end{macrocode} % Define \cmd{\crefrangeformat} and \cmd{\Crefrangeformat}. % \begin{macrocode} \toksdef\@toksa=0% \@toksa={\crefrangeformat{#1}}% - \expandafter\the\expandafter\@toksa\expandafter{\@tmpfirst}% + \expandafter\the\expandafter\@toksa\expandafter{\@tempfirst}% \@toksa={\Crefrangeformat{#1}}% - \expandafter\the\expandafter\@toksa\expandafter{\@tmpFirst}% + \expandafter\the\expandafter\@toksa\expandafter{\@tempFirst}% % \end{macrocode} % Define \cmd{\labelcrefrangeformat} if type has custom label format. % \begin{macrocode} \@ifundefined{cref@#1@rangelabel}{% - \@ifundefined{cref@#1@label}{\let\@tmpa\relax}{\def\@tmpa{}}}% - {\def\@tmpa{}}% - \ifx\@tmpa\@empty\relax% + \@ifundefined{cref@#1@label}{\let\@tempa\relax}{\def\@tempa{}}}% + {\def\@tempa{}}% + \ifx\@tempa\@empty\relax% \@toksa={\labelcrefrangeformat{#1}}% \expandafter\the\expandafter\@toksa\expandafter{% - \@tmprangelabel}% + \@temprangelabel}% \fi% \endgroup} % \end{macrocode} @@ -3956,31 +3970,31 @@ % \cmd{\Crefmultiformat} and\linebreak[4] \cmd{\labelcrefmultiformat} % from the components. % \begin{macrocode} - \expandafter\ifx\@tmpnameplural\@empty\relax% - \expandafter\def\expandafter\@tmpfirst% - \expandafter{\@tmplabel}% + \expandafter\ifx\@tempnameplural\@empty\relax% + \expandafter\def\expandafter\@tempfirst% + \expandafter{\@templabel}% \else% \expandafter\expandafter\expandafter\def% - \expandafter\expandafter\expandafter\@tmpfirst% + \expandafter\expandafter\expandafter\@tempfirst% \expandafter\expandafter\expandafter{% - \expandafter\@tmpnameplural\expandafter\nobreakspace\@tmplabel}% + \expandafter\@tempnameplural\expandafter\nobreakspace\@templabel}% \fi% - \expandafter\ifx\@tmpNameplural\@empty\relax% - \expandafter\def\expandafter\@tmpFirst% - \expandafter{\@tmplabel}% + \expandafter\ifx\@tempNameplural\@empty\relax% + \expandafter\def\expandafter\@tempFirst% + \expandafter{\@templabel}% \else% \expandafter\expandafter\expandafter\def% - \expandafter\expandafter\expandafter\@tmpFirst% + \expandafter\expandafter\expandafter\@tempFirst% \expandafter\expandafter\expandafter{% - \expandafter\@tmpNameplural\expandafter\nobreakspace\@tmplabel}% + \expandafter\@tempNameplural\expandafter\nobreakspace\@templabel}% \fi% - \expandafter\def\expandafter\@tmpsecond\expandafter{% - \expandafter\crefpairconjunction\@tmplabel}% - \expandafter\def\expandafter\@tmpmiddle\expandafter{% - \expandafter\crefmiddleconjunction\@tmplabel}% - \expandafter\def\expandafter\@tmplast\expandafter{% - \expandafter\creflastconjunction\@tmplabel}% - \expandafter\def\expandafter\@tmplabel\expandafter{\@tmplabel}% + \expandafter\def\expandafter\@tempsecond\expandafter{% + \expandafter\crefpairconjunction\@templabel}% + \expandafter\def\expandafter\@tempmiddle\expandafter{% + \expandafter\crefmiddleconjunction\@templabel}% + \expandafter\def\expandafter\@templast\expandafter{% + \expandafter\creflastconjunction\@templabel}% + \expandafter\def\expandafter\@templabel\expandafter{\@templabel}% % \end{macrocode} % Bundle all four arguments for \cmd{\crefmultiformat} in token register % \cmd{\@toksb}, then call it. @@ -3989,13 +4003,13 @@ \toksdef\@toksb=1% \@toksb={}% \expandafter\cref@append@toks\expandafter\@toksb\expandafter{% - \expandafter{\@tmpfirst}}% + \expandafter{\@tempfirst}}% \expandafter\cref@append@toks\expandafter\@toksb\expandafter{% - \expandafter{\@tmpsecond}}% + \expandafter{\@tempsecond}}% \expandafter\cref@append@toks\expandafter\@toksb\expandafter{% - \expandafter{\@tmpmiddle}}% + \expandafter{\@tempmiddle}}% \expandafter\cref@append@toks\expandafter\@toksb\expandafter{% - \expandafter{\@tmplast}}% + \expandafter{\@templast}}% \@toksa={\crefmultiformat{#1}}% \expandafter\the\expandafter\@toksa\the\@toksb% % \end{macrocode} @@ -4004,13 +4018,13 @@ % \begin{macrocode} \@toksb={}% \expandafter\cref@append@toks\expandafter\@toksb\expandafter{% - \expandafter{\@tmpFirst}}% + \expandafter{\@tempFirst}}% \expandafter\cref@append@toks\expandafter\@toksb\expandafter{% - \expandafter{\@tmpsecond}}% + \expandafter{\@tempsecond}}% \expandafter\cref@append@toks\expandafter\@toksb\expandafter{% - \expandafter{\@tmpmiddle}}% + \expandafter{\@tempmiddle}}% \expandafter\cref@append@toks\expandafter\@toksb\expandafter{% - \expandafter{\@tmplast}}% + \expandafter{\@templast}}% \@toksa={\Crefmultiformat{#1}}% \expandafter\the\expandafter\@toksa\the\@toksb% % \end{macrocode} @@ -4021,13 +4035,13 @@ \@ifundefined{cref@#1@label}{}{% \@toksb={}% \expandafter\cref@append@toks\expandafter\@toksb\expandafter{% - \expandafter{\@tmplabel}}% + \expandafter{\@templabel}}% \expandafter\cref@append@toks\expandafter\@toksb\expandafter{% - \expandafter{\@tmpsecond}}% + \expandafter{\@tempsecond}}% \expandafter\cref@append@toks\expandafter\@toksb\expandafter{% - \expandafter{\@tmpmiddle}}% + \expandafter{\@tempmiddle}}% \expandafter\cref@append@toks\expandafter\@toksb\expandafter{% - \expandafter{\@tmplast}}% + \expandafter{\@templast}}% \@toksa={\labelcrefmultiformat{#1}}% \expandafter\the\expandafter\@toksa\the\@toksb}% \endgroup} @@ -4048,32 +4062,32 @@ % \cmd{\crefrangemultiformat}, \cmd{\Crefrangemultiformat} and % \cmd{\labelcrefrangemultiformat} from the reference components. % \begin{macrocode} - \expandafter\ifx\@tmpnameplural\@empty\relax% - \expandafter\def\expandafter\@tmpfirst% - \expandafter{\@tmprangelabel}% + \expandafter\ifx\@tempnameplural\@empty\relax% + \expandafter\def\expandafter\@tempfirst% + \expandafter{\@temprangelabel}% \else% \expandafter\expandafter\expandafter\def% - \expandafter\expandafter\expandafter\@tmpfirst% + \expandafter\expandafter\expandafter\@tempfirst% \expandafter\expandafter\expandafter{% - \expandafter\@tmpnameplural\expandafter\nobreakspace\@tmprangelabel}% + \expandafter\@tempnameplural\expandafter\nobreakspace\@temprangelabel}% \fi% - \expandafter\ifx\@tmpNameplural\@empty\relax% - \expandafter\def\expandafter\@tmpFirst% - \expandafter{\@tmprangelabel}% + \expandafter\ifx\@tempNameplural\@empty\relax% + \expandafter\def\expandafter\@tempFirst% + \expandafter{\@temprangelabel}% \else% \expandafter\expandafter\expandafter\def% - \expandafter\expandafter\expandafter\@tmpFirst% + \expandafter\expandafter\expandafter\@tempFirst% \expandafter\expandafter\expandafter{% - \expandafter\@tmpNameplural\expandafter\nobreakspace\@tmprangelabel}% + \expandafter\@tempNameplural\expandafter\nobreakspace\@temprangelabel}% \fi% - \expandafter\def\expandafter\@tmpsecond\expandafter{% - \expandafter\crefpairconjunction\@tmprangelabel}% - \expandafter\def\expandafter\@tmpmiddle\expandafter{% - \expandafter\crefmiddleconjunction\@tmprangelabel}% - \expandafter\def\expandafter\@tmplast\expandafter{% - \expandafter\creflastconjunction\@tmprangelabel}% - \expandafter\def\expandafter\@tmprangelabel% - \expandafter{\@tmprangelabel}% + \expandafter\def\expandafter\@tempsecond\expandafter{% + \expandafter\crefpairconjunction\@temprangelabel}% + \expandafter\def\expandafter\@tempmiddle\expandafter{% + \expandafter\crefmiddleconjunction\@temprangelabel}% + \expandafter\def\expandafter\@templast\expandafter{% + \expandafter\creflastconjunction\@temprangelabel}% + \expandafter\def\expandafter\@temprangelabel% + \expandafter{\@temprangelabel}% % \end{macrocode} % Bundle all four arguments for \cmd{\crefrangemultiformat} in token % register \cmd{\@toksb}, then call it. @@ -4082,13 +4096,13 @@ \toksdef\@toksb=1% \@toksb={}% \expandafter\cref@append@toks\expandafter\@toksb\expandafter{% - \expandafter{\@tmpfirst}}% + \expandafter{\@tempfirst}}% \expandafter\cref@append@toks\expandafter\@toksb\expandafter{% - \expandafter{\@tmpsecond}}% + \expandafter{\@tempsecond}}% \expandafter\cref@append@toks\expandafter\@toksb\expandafter{% - \expandafter{\@tmpmiddle}}% + \expandafter{\@tempmiddle}}% \expandafter\cref@append@toks\expandafter\@toksb\expandafter{% - \expandafter{\@tmplast}}% + \expandafter{\@templast}}% \@toksa={\crefrangemultiformat{#1}}% \expandafter\the\expandafter\@toksa\the\@toksb% % \end{macrocode} @@ -4097,13 +4111,13 @@ % \begin{macrocode} \@toksb={}% \expandafter\cref@append@toks\expandafter\@toksb\expandafter{% - \expandafter{\@tmpFirst}}% + \expandafter{\@tempFirst}}% \expandafter\cref@append@toks\expandafter\@toksb\expandafter{% - \expandafter{\@tmpsecond}}% + \expandafter{\@tempsecond}}% \expandafter\cref@append@toks\expandafter\@toksb\expandafter{% - \expandafter{\@tmpmiddle}}% + \expandafter{\@tempmiddle}}% \expandafter\cref@append@toks\expandafter\@toksb\expandafter{% - \expandafter{\@tmplast}}% + \expandafter{\@templast}}% \@toksa={\Crefrangemultiformat{#1}}% \expandafter\the\expandafter\@toksa\the\@toksb% % \end{macrocode} @@ -4112,18 +4126,18 @@ % \cmd{\@toksb}, then call it. % \begin{macrocode} \@ifundefined{cref@#1@rangelabel}{% - \@ifundefined{cref@#1@label}{\let\@tmpa\relax}{\def\@tmpa{}}}% - {\def\@tmpa{}}% - \ifx\@tmpa\@empty\relax% + \@ifundefined{cref@#1@label}{\let\@tempa\relax}{\def\@tempa{}}}% + {\def\@tempa{}}% + \ifx\@tempa\@empty\relax% \@toksb={}% \expandafter\cref@append@toks\expandafter\@toksb\expandafter{% - \expandafter{\@tmprangelabel}}% + \expandafter{\@temprangelabel}}% \expandafter\cref@append@toks\expandafter\@toksb\expandafter{% - \expandafter{\@tmpsecond}}% + \expandafter{\@tempsecond}}% \expandafter\cref@append@toks\expandafter\@toksb\expandafter{% - \expandafter{\@tmpmiddle}}% + \expandafter{\@tempmiddle}}% \expandafter\cref@append@toks\expandafter\@toksb\expandafter{% - \expandafter{\@tmplast}}% + \expandafter{\@templast}}% \@toksa={\labelcrefrangemultiformat{#1}}% \expandafter\the\expandafter\@toksa\the\@toksb% \fi% @@ -4146,61 +4160,61 @@ % \cmd{\labelcrefmultiformat} and\linebreak[4] % \cmd{\labelcrefrangemultiformat}. % \begin{macrocode} - \let\@tmplabel\cref@default@label% - \expandafter\def\expandafter\@tmpa\expandafter{% - \@tmplabel{####1}{####3}{####4}}% - \expandafter\def\expandafter\@tmpb\expandafter{% - \@tmplabel{####2}{####5}{####6}}% - \@toksa={\def\@tmprangelabel##1##2##3##4##5##6}% + \let\@templabel\cref@default@label% + \expandafter\def\expandafter\@tempa\expandafter{% + \@templabel{####1}{####3}{####4}}% + \expandafter\def\expandafter\@tempb\expandafter{% + \@templabel{####2}{####5}{####6}}% + \@toksa={\def\@temprangelabel##1##2##3##4##5##6}% \expandafter\expandafter\expandafter\the% \expandafter\expandafter\expandafter\@toksa% \expandafter\expandafter\expandafter{% \expandafter\expandafter\expandafter\crefrangepreconjunction% - \expandafter\@tmpa\expandafter\crefrangeconjunction\@tmpb% + \expandafter\@tempa\expandafter\crefrangeconjunction\@tempb% \crefrangepostconjunction}% - \expandafter\def\expandafter\@tmplabel\expandafter{% - \@tmplabel{########1}{########2}{########3}}% - \expandafter\def\expandafter\@tmprangelabel\expandafter{% - \@tmprangelabel{########1}{########2}{########3}% + \expandafter\def\expandafter\@templabel\expandafter{% + \@templabel{########1}{########2}{########3}}% + \expandafter\def\expandafter\@temprangelabel\expandafter{% + \@temprangelabel{########1}{########2}{########3}% {########4}{########5}{########6}}% - \expandafter\def\expandafter\@tmpsecond\expandafter{% - \expandafter\crefpairconjunction\@tmplabel}% - \expandafter\def\expandafter\@tmpmiddle\expandafter{% - \expandafter\crefmiddleconjunction\@tmplabel}% - \expandafter\def\expandafter\@tmplast\expandafter{% - \expandafter\creflastconjunction\@tmplabel}% - \expandafter\def\expandafter\@tmprangesecond\expandafter{% - \expandafter\crefpairconjunction\@tmprangelabel}% - \expandafter\def\expandafter\@tmprangemiddle\expandafter{% - \expandafter\crefmiddleconjunction\@tmprangelabel}% - \expandafter\def\expandafter\@tmprangelast\expandafter{% - \expandafter\creflastconjunction\@tmprangelabel}% - \expandafter\def\expandafter\@tmplabel\expandafter{\@tmplabel}% - \expandafter\def\expandafter\@tmprangelabel% - \expandafter{\@tmprangelabel}% + \expandafter\def\expandafter\@tempsecond\expandafter{% + \expandafter\crefpairconjunction\@templabel}% + \expandafter\def\expandafter\@tempmiddle\expandafter{% + \expandafter\crefmiddleconjunction\@templabel}% + \expandafter\def\expandafter\@templast\expandafter{% + \expandafter\creflastconjunction\@templabel}% + \expandafter\def\expandafter\@temprangesecond\expandafter{% + \expandafter\crefpairconjunction\@temprangelabel}% + \expandafter\def\expandafter\@temprangemiddle\expandafter{% + \expandafter\crefmiddleconjunction\@temprangelabel}% + \expandafter\def\expandafter\@temprangelast\expandafter{% + \expandafter\creflastconjunction\@temprangelabel}% + \expandafter\def\expandafter\@templabel\expandafter{\@templabel}% + \expandafter\def\expandafter\@temprangelabel% + \expandafter{\@temprangelabel}% % \end{macrocode} % Define default \cmd{\labelcrefformat}. % \begin{macrocode} \@toksa={\labelcrefformat{default}}% - \expandafter\the\expandafter\@toksa\expandafter{\@tmplabel}% + \expandafter\the\expandafter\@toksa\expandafter{\@templabel}% % \end{macrocode} % Define default \cmd{\labelcrefrangeformat}. % \begin{macrocode} \@toksa={\labelcrefrangeformat{default}}% - \expandafter\the\expandafter\@toksa\expandafter{\@tmprangelabel}% + \expandafter\the\expandafter\@toksa\expandafter{\@temprangelabel}% % \end{macrocode} % Bundle all four arguments for \cmd{\labelcrefmultiformat} in token % register \cmd{\@toksb}, then call it to define default formats. % \begin{macrocode} \@toksb={}% \expandafter\cref@append@toks\expandafter\@toksb\expandafter{% - \expandafter{\@tmplabel}}% + \expandafter{\@templabel}}% \expandafter\cref@append@toks\expandafter\@toksb\expandafter{% - \expandafter{\@tmpsecond}}% + \expandafter{\@tempsecond}}% \expandafter\cref@append@toks\expandafter\@toksb\expandafter{% - \expandafter{\@tmpmiddle}}% + \expandafter{\@tempmiddle}}% \expandafter\cref@append@toks\expandafter\@toksb\expandafter{% - \expandafter{\@tmplast}}% + \expandafter{\@templast}}% \@toksa={\labelcrefmultiformat{default}}% \expandafter\the\expandafter\@toksa\the\@toksb% % \end{macrocode} @@ -4209,13 +4223,13 @@ % \begin{macrocode} \@toksb={}% \expandafter\cref@append@toks\expandafter\@toksb\expandafter{% - \expandafter{\@tmprangelabel}}% + \expandafter{\@temprangelabel}}% \expandafter\cref@append@toks\expandafter\@toksb\expandafter{% - \expandafter{\@tmpsecond}}% + \expandafter{\@tempsecond}}% \expandafter\cref@append@toks\expandafter\@toksb\expandafter{% - \expandafter{\@tmpmiddle}}% + \expandafter{\@tempmiddle}}% \expandafter\cref@append@toks\expandafter\@toksb\expandafter{% - \expandafter{\@tmplast}}% + \expandafter{\@templast}}% \@toksa={\labelcrefrangemultiformat{default}}% \expandafter\the\expandafter\@toksa\the\@toksb% \endgroup} @@ -4308,12 +4322,12 @@ \begingroup% \expandafter\gdef\csname #1@#2@format\endcsname##1##2##3{#3}% % \end{macrocode} -% The following \cmd{\@tmpa} macro makes use of the fact that the first +% The following \cmd{\@tempa} macro makes use of the fact that the first % character of \#1 is ``c'' for lower-case and ``C'' for upper-case, in % order to wrap the capitalisation-dependent parts in macros so that the % rest of the code can be capitalisation-variant agnostic. % \begin{macrocode} - \def\@tmpa##1##2\@nil{% + \def\@tempa##1##2\@nil{% \if##1c% \def\@other{C##2}% \def\@changecase{\expandafter\MakeUppercase}% @@ -4325,38 +4339,38 @@ \def\@changecase{\MakeLowercase}% \fi% \fi}% - \@tmpa#1\@nil% + \@tempa#1\@nil% % \end{macrocode} % If the other capitalisation variant is not already defined... % \begin{macrocode} \@ifundefined{\@other @#2@format}{% % \end{macrocode} -% Define \cmd{\@tmpa} to be a partial expansion (expanded just once) of +% Define \cmd{\@tempa} to be a partial expansion (expanded just once) of % the capitalisation variant we've just defined above. The \cmd{\@toska} % token register just makes the code less verbose. % \begin{macrocode} \toksdef\@toksa=0% - \@toksa={\def\@tmpa##1##2##3}% + \@toksa={\def\@tempa##1##2##3}% \expandafter\expandafter\expandafter\the% \expandafter\expandafter\expandafter\@toksa% \expandafter\expandafter\expandafter{% \csname#1@#2@format\endcsname{##1}{##2}{##3}}% % \end{macrocode} % Add the \cmd{\@changecase} command to the front of the definition of -% \cmd{\@tmpa}. +% \cmd{\@tempa}. % \begin{macrocode} \expandafter\expandafter\expandafter\the% \expandafter\expandafter\expandafter\@toksa% \expandafter\expandafter\expandafter{% - \expandafter\@changecase\@tmpa{##1}{##2}{##3}}% + \expandafter\@changecase\@tempa{##1}{##2}{##3}}% % \end{macrocode} % Define the other capitalisation variant to be the partial expansion -% (expanded just once) of \cmd{\@tmpa}. +% (expanded just once) of \cmd{\@tempa}. % \begin{macrocode} \@toksa={% \expandafter\gdef\csname\@other @#2@format\endcsname##1##2##3}% \expandafter\the\expandafter\@toksa\expandafter{% - \@tmpa{##1}{##2}{##3}}% + \@tempa{##1}{##2}{##3}}% }{}% \endgroup} % \end{macrocode} @@ -4371,12 +4385,12 @@ \expandafter\gdef\csname #1@#2@format\endcsname% ##1##2##3##4##5##6{#3}% % \end{macrocode} -% The following \cmd{\@tmpa} macro makes use of the fact that the first +% The following \cmd{\@tempa} macro makes use of the fact that the first % character of \#1 is ``c'' for lower-case and ``C'' for upper-case, in % order to wrap the capitalisation-dependent parts in macros so that the % rest of the code can be capitalisation-variant agnostic. % \begin{macrocode} - \def\@tmpa##1##2\@nil{% + \def\@tempa##1##2\@nil{% \if##1c% \def\@other{C##2}% \def\@changecase{\expandafter\MakeUppercase}% @@ -4388,38 +4402,38 @@ \def\@changecase{\MakeLowercase}% \fi% \fi}% - \@tmpa#1\@nil% + \@tempa#1\@nil% % \end{macrocode} % If the other capitalisation variant is not already defined... % \begin{macrocode} \@ifundefined{\@other @#2@format}{% % \end{macrocode} -% Define \cmd{\@tmpa} to be a partial expansion (expanded just once) of +% Define \cmd{\@tempa} to be a partial expansion (expanded just once) of % the capitalisation variant we've just defined above. The \cmd{\@toska} % token register just makes the code less verbose. % \begin{macrocode} \toksdef\@toksa=0% - \@toksa={\def\@tmpa##1##2##3##4##5##6}% + \@toksa={\def\@tempa##1##2##3##4##5##6}% \expandafter\expandafter\expandafter\the% \expandafter\expandafter\expandafter\@toksa% \expandafter\expandafter\expandafter{% \csname#1@#2@format\endcsname{##1}{##2}{##3}{##4}{##5}{##6}}% % \end{macrocode} % Add the \cmd{\@changecase} command to the front of the definition of -% \cmd{\@tmpa}. +% \cmd{\@tempa}. % \begin{macrocode} \expandafter\expandafter\expandafter\the% \expandafter\expandafter\expandafter\@toksa% \expandafter\expandafter\expandafter{% - \expandafter\@changecase\@tmpa{##1}{##2}{##3}{##4}{##5}{##6}}% + \expandafter\@changecase\@tempa{##1}{##2}{##3}{##4}{##5}{##6}}% % \end{macrocode} % Define the other capitalisation variant to be the partial expansion -% (expanded just once) of \cmd{\@tmpa}. +% (expanded just once) of \cmd{\@tempa}. % \begin{macrocode} \@toksa={\expandafter\gdef% \csname\@other @#2@format\endcsname##1##2##3##4##5##6}% \expandafter\the\expandafter\@toksa\expandafter{% - \@tmpa{##1}{##2}{##3}{##4}{##5}{##6}}% + \@tempa{##1}{##2}{##3}{##4}{##5}{##6}}% }{}% \endgroup} % \end{macrocode} @@ -4435,12 +4449,12 @@ \expandafter\gdef\csname #1@#2@format@middle\endcsname##1##2##3{#5}% \expandafter\gdef\csname #1@#2@format@last\endcsname##1##2##3{#6}% % \end{macrocode} -% The following \cmd{\@tmpa} macro makes use of the fact that the first +% The following \cmd{\@tempa} macro makes use of the fact that the first % character of \#1 is ``c'' for lower-case and ``C'' for upper-case, in % order to wrap the capitalisation-dependent parts in macros so that the % rest of the code can be capitalisation-variant agnostic. % \begin{macrocode} - \def\@tmpa##1##2\@nil{% + \def\@tempa##1##2\@nil{% \if##1c% \def\@other{C##2}% \def\@changecase{\expandafter\MakeUppercase}% @@ -4452,40 +4466,40 @@ \def\@changecase{\MakeLowercase}% \fi% \fi}% - \@tmpa#1\@nil% + \@tempa#1\@nil% % \end{macrocode} % If the other capitalisation variant of the first part of the % multi-format definition is not already defined... % \begin{macrocode} \@ifundefined{\@other @#2@format@first}{% % \end{macrocode} -% Define \cmd{\@tmpa} to be a partial expansion (expanded just once) of +% Define \cmd{\@tempa} to be a partial expansion (expanded just once) of % the capitalisation variant we've just defined above. The \cmd{\@toska} % token register just makes the code less verbose. % \begin{macrocode} \toksdef\@toksa=0% - \@toksa={\def\@tmpa##1##2##3}% + \@toksa={\def\@tempa##1##2##3}% \expandafter\expandafter\expandafter\the% \expandafter\expandafter\expandafter\@toksa% \expandafter\expandafter\expandafter{% \csname#1@#2@format@first\endcsname{##1}{##2}{##3}}% % \end{macrocode} % Add the \cmd{\@changecase} command to the front of the definition of -% \cmd{\@tmpa}. +% \cmd{\@tempa}. % \begin{macrocode} \expandafter\expandafter\expandafter\the% \expandafter\expandafter\expandafter\@toksa% \expandafter\expandafter\expandafter{% - \expandafter\@changecase\@tmpa{##1}{##2}{##3}}% + \expandafter\@changecase\@tempa{##1}{##2}{##3}}% % \end{macrocode} % Define the other capitalisation variant to be the partial expansion -% (expanded just once) of \cmd{\@tmpa}. +% (expanded just once) of \cmd{\@tempa}. % \begin{macrocode} \@toksa={% \expandafter\gdef\csname\@other @#2@format@first\endcsname% ##1##2##3}% \expandafter\the\expandafter\@toksa\expandafter{% - \@tmpa{##1}{##2}{##3}}% + \@tempa{##1}{##2}{##3}}% }{}% % \end{macrocode} % The other parts of the multi-format definition are defined to be @@ -4531,12 +4545,12 @@ \expandafter\gdef\csname #1@#2@format@last\endcsname% ##1##2##3##4##5##6{#6}% % \end{macrocode} -% The following \cmd{\@tmpa} macro makes use of the fact that the first +% The following \cmd{\@tempa} macro makes use of the fact that the first % character of \#1 is ``c'' for lower-case and ``C'' for upper-case, in % order to wrap the capitalisation-dependent parts in macros so that the % rest of the code can be capitalisation-variant agnostic. % \begin{macrocode} - \def\@tmpa##1##2\@nil{% + \def\@tempa##1##2\@nil{% \if##1c% \def\@other{C##2}% \def\@changecase{\expandafter\MakeUppercase}% @@ -4548,19 +4562,19 @@ \def\@changecase{\MakeLowercase}% \fi% \fi}% - \@tmpa#1\@nil% + \@tempa#1\@nil% % \end{macrocode} % If the other capitalisation variant of the first part of the % multi-format definition is not already defined... % \begin{macrocode} \@ifundefined{\@other @#2@format@first}{% % \end{macrocode} -% Define \cmd{\@tmpa} to be a partial expansion (expanded just once) of +% Define \cmd{\@tempa} to be a partial expansion (expanded just once) of % the capitalisation variant we've just defined above. The \cmd{\@toska} % token register just makes the code less verbose. % \begin{macrocode} \toksdef\@toksa=0% - \@toksa={\def\@tmpa##1##2##3##4##5##6}% + \@toksa={\def\@tempa##1##2##3##4##5##6}% \expandafter\expandafter\expandafter\the% \expandafter\expandafter\expandafter\@toksa% \expandafter\expandafter\expandafter{% @@ -4568,21 +4582,21 @@ {##1}{##2}{##3}{##4}{##5}{##6}}% % \end{macrocode} % Add the \cmd{\@changecase} command to the front of the definition of -% \cmd{\@tmpa}. +% \cmd{\@tempa}. % \begin{macrocode} \expandafter\expandafter\expandafter\the% \expandafter\expandafter\expandafter\@toksa% \expandafter\expandafter\expandafter{% - \expandafter\@changecase\@tmpa{##1}{##2}{##3}{##4}{##5}{##6}}% + \expandafter\@changecase\@tempa{##1}{##2}{##3}{##4}{##5}{##6}}% % \end{macrocode} % Define the other capitalisation variant to be the partial expansion -% (expanded just once) of \cmd{\@tmpa}. +% (expanded just once) of \cmd{\@tempa}. % \begin{macrocode} \@toksa={% \expandafter\gdef\csname\@other @#2@format@first\endcsname% ##1##2##3##4##5##6}% \expandafter\the\expandafter\@toksa\expandafter{% - \@tmpa{##1}{##2}{##3}{##4}{##5}{##6}}% + \@tempa{##1}{##2}{##3}{##4}{##5}{##6}}% }{}% % \end{macrocode} % The other parts of the multi-format definition are defined to be @@ -4655,12 +4669,12 @@ \let\cref@old@H@refstepcounter\H@refstepcounter \def\H@refstepcounter#1{% \cref@old@H@refstepcounter{#1}% - \cref@constructprefix{#1}{\@result}% + \cref@constructprefix{#1}{\cref@result}% \@ifundefined{cref@#1@alias}% - {\def\@tmpa{#1}}% - {\def\@tmpa{\csname cref@#1@alias\endcsname}}% + {\def\@tempa{#1}}% + {\def\@tempa{\csname cref@#1@alias\endcsname}}% \protected@xdef\cref@currentlabel{% - [\@tmpa][\arabic{#1}][\@result]% + [\@tempa][\arabic{#1}][\cref@result]% \csname p@#1\endcsname\csname the#1\endcsname}} % \end{macrocode} % \end{macro} @@ -4702,46 +4716,46 @@ \@ifundefined{chapter}{% \def\H@refstepcounter##1{% \cref@old@H@refstepcounter{##1}% - \cref@constructprefix{##1}{\@result}% + \cref@constructprefix{##1}{\cref@result}% % \end{macrocode} % We add a large value to the front of the counter data, to force % references to anything in appendices to be sorted after % everything else. % \begin{macrocode} - \ifx\@result\@empty% - \def\@result{2147483647}% + \ifx\cref@result\@empty% + \def\cref@result{2147483647}% \else% - \edef\@result{2147483647,\@result}% + \edef\cref@result{2147483647,\cref@result}% \fi% % \end{macrocode} % Override the cross-reference type of sectioning commands. % \begin{macrocode} - \def\@tmpa{##1}% - \def\@tmpb{section}% - \ifx\@tmpa\@tmpb% + \def\@tempa{##1}% + \def\@tempb{section}% + \ifx\@tempa\@tempb% \protected@xdef\cref@currentlabel{% - [appendix][\arabic{##1}][\@result]% + [appendix][\arabic{##1}][\cref@result]% \csname p@##1\endcsname\csname the##1\endcsname}% \else% - \def\@tmpa{##1}% - \def\@tmpb{subsection}% - \ifx\@tmpa\@tmpb% + \def\@tempa{##1}% + \def\@tempb{subsection}% + \ifx\@tempa\@tempb% \protected@xdef\cref@currentlabel{% - [subappendix][\arabic{##1}][\@result]% + [subappendix][\arabic{##1}][\cref@result]% \csname p@##1\endcsname\csname the##1\endcsname}% \else% - \def\@tmpa{##1}% - \def\@tmpb{subsubsection}% - \ifx\@tmpa\@tmpb% + \def\@tempa{##1}% + \def\@tempb{subsubsection}% + \ifx\@tempa\@tempb% \protected@xdef\cref@currentlabel{% - [subsubappendix][\arabic{##1}][\@result]% + [subsubappendix][\arabic{##1}][\cref@result]% \csname p@##1\endcsname\csname the##1\endcsname}% \else% \@ifundefined{cref@##1@alias}% - {\def\@tmpa{##1}}% - {\def\@tmpa{\csname cref@##1@alias\endcsname}}% + {\def\@tempa{##1}}% + {\def\@tempa{\csname cref@##1@alias\endcsname}}% \protected@xdef\cref@currentlabel{% - [\@tmpa][\arabic{##1}][\@result]% + [\@tempa][\arabic{##1}][\cref@result]% \csname p@##1\endcsname\csname the##1\endcsname} \fi% \fi% @@ -4749,52 +4763,52 @@ }{% \def\H@refstepcounter##1{% \cref@old@H@refstepcounter{##1}% - \cref@constructprefix{##1}{\@result}% + \cref@constructprefix{##1}{\cref@result}% % \end{macrocode} % Again, the large value added to the front of the counter data % forces references to appendix items to be sorted last. % \begin{macrocode} - \ifx\@result\@empty% - \def\@result{2147483647}% + \ifx\cref@result\@empty% + \def\cref@result{2147483647}% \else% - \edef\@result{2147483647,\@result}% + \edef\cref@result{2147483647,\cref@result}% \fi% % \end{macrocode} % Override the cross-reference type of sectioning commands. % \begin{macrocode} - \def\@tmpa{##1}% - \def\@tmpb{chapter}% - \ifx\@tmpa\@tmpb% + \def\@tempa{##1}% + \def\@tempb{chapter}% + \ifx\@tempa\@tempb% \protected@xdef\cref@currentlabel{% - [appendix][\arabic{##1}][\@result]% + [appendix][\arabic{##1}][\cref@result]% \csname p@##1\endcsname\csname the##1\endcsname}% \else% - \def\@tmpa{##1}% - \def\@tmpb{section}% - \ifx\@tmpa\@tmpb% + \def\@tempa{##1}% + \def\@tempb{section}% + \ifx\@tempa\@tempb% \protected@xdef\cref@currentlabel{% - [subappendix][\arabic{##1}][\@result]% + [subappendix][\arabic{##1}][\cref@result]% \csname p@##1\endcsname\csname the##1\endcsname}% \else% - \def\@tmpa{##1}% - \def\@tmpb{subsection}% - \ifx\@tmpa\@tmpb% + \def\@tempa{##1}% + \def\@tempb{subsection}% + \ifx\@tempa\@tempb% \protected@xdef\cref@currentlabel{% - [subsubappendix][\arabic{##1}][\@result]% + [subsubappendix][\arabic{##1}][\cref@result]% \csname p@##1\endcsname\csname the##1\endcsname}% \else% - \def\@tmpa{##1}% - \def\@tmpb{subsubsection}% - \ifx\@tmpa\@tmpb% + \def\@tempa{##1}% + \def\@tempb{subsubsection}% + \ifx\@tempa\@tempb% \protected@xdef\cref@currentlabel{% - [subsubsubappendix][\arabic{##1}][\@result]% + [subsubsubappendix][\arabic{##1}][\cref@result]% \csname p@##1\endcsname\csname the##1\endcsname}% \else% \@ifundefined{cref@##1@alias}% - {\def\@tmpa{##1}}% - {\def\@tmpa{\csname cref@##1@alias\endcsname}}% + {\def\@tempa{##1}}% + {\def\@tempa{\csname cref@##1@alias\endcsname}}% \protected@xdef\cref@currentlabel{% - [\@tmpa][\arabic{##1}][\@result]% + [\@tempa][\arabic{##1}][\cref@result]% \csname p@##1\endcsname\csname the##1\endcsname} \fi% \fi% @@ -4848,12 +4862,12 @@ % by \package{hyperref}. % \begin{macrocode} \def\@@setcref#1#2{% - \cref@getlabel{#2}{\@tmplabel}% + \cref@getlabel{#2}{\@templabel}% \if@crefstarred% - #1{\@tmplabel}{}{}% + #1{\@templabel}{}{}% \else% - \edef\@tmplink{\cref@hyperref{#2}}% - #1{\@tmplabel}{\hyper@linkstart{link}{\@tmplink}}{\hyper@linkend}% + \edef\@templink{\cref@hyperref{#2}}% + #1{\@templabel}{\hyper@linkstart{link}{\@templink}}{\hyper@linkend}% \fi} \def\@@setcrefrange#1#2#3{% \cref@getlabel{#2}{\@labela}% @@ -4983,55 +4997,55 @@ % \begin{macrocode} \let\cref@old@othm\@othm \def\@othm#1[#2]#3{% - \edef\@tmpa{\expandafter\noexpand% + \edef\@tempa{\expandafter\noexpand% \csname cref@#1@name@preamble\endcsname}% - \edef\@tmpb{\expandafter\noexpand% + \edef\@tempb{\expandafter\noexpand% \csname Cref@#1@name@preamble\endcsname}% - \def\@tmpc{#3}% - \ifx\@tmpc\@empty\relax% - \expandafter\gdef\@tmpa{}% - \expandafter\gdef\@tmpb{}% + \def\@tempc{#3}% + \ifx\@tempc\@empty\relax% + \expandafter\gdef\@tempa{}% + \expandafter\gdef\@tempb{}% \else% \expandafter\expandafter\expandafter\gdef\expandafter% - \@tmpa\expandafter{\MakeLowercase #3}% + \@tempa\expandafter{\MakeLowercase #3}% \expandafter\expandafter\expandafter\gdef\expandafter% - \@tmpa\expandafter{\MakeUppercase #3}% + \@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\@tmpa{\expandafter\noexpand% + \edef\@tempa{\expandafter\noexpand% \csname cref@#1@name@preamble\endcsname}% - \edef\@tmpb{\expandafter\noexpand% + \edef\@tempb{\expandafter\noexpand% \csname Cref@#1@name@preamble\endcsname}% - \def\@tmpc{#2}% - \ifx\@tmpc\@empty\relax% - \expandafter\gdef\@tmpa{}% - \expandafter\gdef\@tmpb{}% + \def\@tempc{#2}% + \ifx\@tempc\@empty\relax% + \expandafter\gdef\@tempa{}% + \expandafter\gdef\@tempb{}% \else% \expandafter\expandafter\expandafter\gdef\expandafter% - \@tmpa\expandafter{\MakeLowercase #2}% + \@tempa\expandafter{\MakeLowercase #2}% \expandafter\expandafter\expandafter\gdef\expandafter% - \@tmpa\expandafter{\MakeUppercase #2}% + \@tempa\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\@tmpa{\expandafter\noexpand% + \edef\@tempa{\expandafter\noexpand% \csname cref@#1@name@preamble\endcsname}% - \edef\@tmpb{\expandafter\noexpand% + \edef\@tempb{\expandafter\noexpand% \csname Cref@#1@name@preamble\endcsname}% - \def\@tmpc{#2}% - \ifx\@tmpc\@empty\relax% - \expandafter\gdef\@tmpa{}% - \expandafter\gdef\@tmpb{}% + \def\@tempc{#2}% + \ifx\@tempc\@empty\relax% + \expandafter\gdef\@tempa{}% + \expandafter\gdef\@tempb{}% \else% \expandafter\expandafter\expandafter\gdef\expandafter% - \@tmpa\expandafter{\MakeLowercase #2}% + \@tempa\expandafter{\MakeLowercase #2}% \expandafter\expandafter\expandafter\gdef\expandafter% - \@tmpa\expandafter{\MakeUppercase #2}% + \@tempa\expandafter{\MakeUppercase #2}% \fi% \cref@stack@add{#1}{\cref@label@types}% \cref@old@ynthm{#1}{#2}} @@ -5094,19 +5108,19 @@ % \end{macrocode} % Here's the automatic \cmd{\crefname} definition. % \begin{macrocode} - \edef\@tmpa{\expandafter\noexpand% + \edef\@tempa{\expandafter\noexpand% \csname cref@#1@name@preamble\endcsname}% - \edef\@tmpb{\expandafter\noexpand% + \edef\@tempb{\expandafter\noexpand% \csname Cref@#1@name@preamble\endcsname}% - \def\@tmpc{#3}% - \ifx\@tmpc\@empty\relax% - \expandafter\gdef\@tmpa{}% - \expandafter\gdef\@tmpb{}% + \def\@tempc{#3}% + \ifx\@tempc\@empty\relax% + \expandafter\gdef\@tempa{}% + \expandafter\gdef\@tempb{}% \else% \expandafter\expandafter\expandafter\gdef\expandafter% - \@tmpa\expandafter{\MakeLowercase #3}% + \@tempa\expandafter{\MakeLowercase #3}% \expandafter\expandafter\expandafter\gdef\expandafter% - \@tmpa\expandafter{\MakeUppercase #3}% + \@tempa\expandafter{\MakeUppercase #3}% \fi% \cref@stack@add{#1}{\cref@label@types}% % \end{macrocode} @@ -5195,6 +5209,21 @@ % % % +% \begin{macro}{algorithm2e} +% Similarly, all we need to do to support the \package{algorithm2e} +% package is to alias \emph{its} counters, \cmd{algocf} and +% \cmd{algocfline}, to the ``algorithm and ``line'' cross-reference +% types. +% \begin{macrocode} + \@ifpackageloaded{algorithm2e}{% + \PackageInfo{cleveref}{`algorithm2e' support loaded} + \crefalias{algocf}{algorithm}% + \crefalias{algocfline}{line}}{}% end of \@ifpackageloaded{listings} +% \end{macrocode} +% \end{macro} +% +% +% % \begin{macro}{subfig} % The \package{subfig} package modifies \cmd{\refstepcounter} within % floats. Most of the time, this isn't a problem for @@ -5254,9 +5283,9 @@ \let\cref@old@newaliascnt\newaliascnt \renewcommand*{\newaliascnt}[2]{% \cref@old@newaliascnt{#1}{#2}% - \cref@resetby{#2}{\@result}% - \ifx\@result\relax\else% - \@addtoreset{#1}{\@result}% + \cref@resetby{#2}{\cref@result}% + \ifx\cref@result\relax\else% + \@addtoreset{#1}{\cref@result}% \fi} }{}% end of \@ifpackageloaded{aliascnt} % \end{macrocode} @@ -5292,16 +5321,16 @@ \fi% \@cref{#1}{#2} % space here is deliberate \begingroup% - \def\@tmpstack{#2,\@nil}% - \cref@stack@topandbottom{\@tmpstack}{\@firstref}{\@lastref}% + \def\@tempstack{#2,\@nil}% + \cref@stack@topandbottom{\@tempstack}{\@firstref}{\@lastref}% \ifx\@lastref\@empty% \vpageref[\unskip]{#2}% \else% - \edef\@tmpa{{\@firstref}{\@lastref}}% - \expandafter\def\expandafter\@tmpa\expandafter{% + \edef\@tempa{{\@firstref}{\@lastref}}% + \expandafter\def\expandafter\@tempa\expandafter{% \expandafter[\expandafter\unskip\expandafter]% - \@tmpa}% - \expandafter\vpagerefrange\@tmpa% + \@tempa}% + \expandafter\vpagerefrange\@tempa% \fi% \endgroup} \def\cref@vrefrange#1#2#3{% @@ -5309,20 +5338,20 @@ \def\cref@fullref#1#2{% \@cref{#1}{#2} % space here is deliberate \begingroup% - \def\@tmpstack{#2,\@nil}% - \cref@stack@topandbottom{\@tmpstack}{\@firstref}{\@lastref}% + \def\@tempstack{#2,\@nil}% + \cref@stack@topandbottom{\@tempstack}{\@firstref}{\@lastref}% \ifx\@lastref\@empty% \reftextfaraway{#2}% \else% \expandafter\vrefpagenum\expandafter% - \@tmpa\expandafter{\@firstref}% + \@tempa\expandafter{\@firstref}% \expandafter\vrefpagenum\expandafter% - \@tmpb\expandafter{\@lastref}% - \ifx\@tmpa\@tmpb% + \@tempb\expandafter{\@lastref}% + \ifx\@tempa\@tempb% \expandafter\reftextfaraway\expandafter{\@firstref}% \else% - \edef\@tmpa{{\@firstref}{\@lastref}}% - \expandafter\reftextpagerange\@tmpa% + \edef\@tempa{{\@firstref}{\@lastref}}% + \expandafter\reftextpagerange\@tempa% \fi% \fi% \endgroup} @@ -5542,133 +5571,133 @@ \fi% \expandafter\def\expandafter\cref@poorman@text\expandafter{% \crefrangeconjunction}% - \expandafter\def\expandafter\@tmpa\expandafter{% + \expandafter\def\expandafter\@tempa\expandafter{% \expandafter{\@address}{\string\crefrangeconjunction}}% - \expandafter\cref@writescript\@tmpa% + \expandafter\cref@writescript\@tempa% \expandafter\def\expandafter\cref@poorman@text\expandafter{% \crefrangepreconjunction}% - \expandafter\def\expandafter\@tmpa\expandafter{% + \expandafter\def\expandafter\@tempa\expandafter{% \expandafter{\@address}{\string\crefrangepreconjunction}}% - \expandafter\cref@writescript\@tmpa% + \expandafter\cref@writescript\@tempa% \expandafter\def\expandafter\cref@poorman@text\expandafter{% \crefrangepostconjunction}% - \expandafter\def\expandafter\@tmpa\expandafter{% + \expandafter\def\expandafter\@tempa\expandafter{% \expandafter{\@address}{\string\crefrangepostconjunction}}% - \expandafter\cref@writescript\@tmpa% + \expandafter\cref@writescript\@tempa% \expandafter\def\expandafter\cref@poorman@text\expandafter{% \crefpairconjunction}% - \expandafter\def\expandafter\@tmpa\expandafter{% + \expandafter\def\expandafter\@tempa\expandafter{% \expandafter{\@address}{\string\crefpairconjunction}}% - \expandafter\cref@writescript\@tmpa% + \expandafter\cref@writescript\@tempa% \expandafter\def\expandafter\cref@poorman@text\expandafter{% \crefmiddleconjunction}% - \expandafter\def\expandafter\@tmpa\expandafter{% + \expandafter\def\expandafter\@tempa\expandafter{% \expandafter{\@address}{\string\crefmiddleconjunction}}% - \expandafter\cref@writescript\@tmpa% + \expandafter\cref@writescript\@tempa% \expandafter\def\expandafter\cref@poorman@text\expandafter{% \creflastconjunction}% - \expandafter\def\expandafter\@tmpa\expandafter{% + \expandafter\def\expandafter\@tempa\expandafter{% \expandafter{\@address}{\string\creflastconjunction}}% - \expandafter\cref@writescript\@tmpa% + \expandafter\cref@writescript\@tempa% \expandafter\def\expandafter\cref@poorman@text\expandafter{% \crefpairgroupconjunction}% - \expandafter\def\expandafter\@tmpa\expandafter{% + \expandafter\def\expandafter\@tempa\expandafter{% \expandafter{\@address}{\string\crefpairgroupconjunction}}% - \expandafter\cref@writescript\@tmpa% + \expandafter\cref@writescript\@tempa% \expandafter\def\expandafter\cref@poorman@text\expandafter{% \crefmiddlegroupconjunction}% - \expandafter\def\expandafter\@tmpa\expandafter{% + \expandafter\def\expandafter\@tempa\expandafter{% \expandafter{\@address}{\string\crefmiddlegroupconjunction}}% - \expandafter\cref@writescript\@tmpa% + \expandafter\cref@writescript\@tempa% \expandafter\def\expandafter\cref@poorman@text\expandafter{% \creflastgroupconjunction}% - \expandafter\def\expandafter\@tmpa\expandafter{% + \expandafter\def\expandafter\@tempa\expandafter{% \expandafter{\@address}{\string\creflastgroupconjunction}}% - \expandafter\cref@writescript\@tmpa% + \expandafter\cref@writescript\@tempa% % \end{macrocode} % We write substitution rules for all component-derived cross-reference % formats, as listed in \cmd{\cref@label@types}. % \begin{macrocode} - \let\@tmpstack\cref@label@types% - \cref@isstackfull{\@tmpstack}% + \let\@tempstack\cref@label@types% + \cref@isstackfull{\@tempstack}% \@whilesw\if@cref@stackfull\fi{% % \end{macrocode} % \cmd{\cref@\meta{type}@name} substitution rules. % \begin{macrocode} - \edef\@tmpa{\cref@stack@top{\@tmpstack}}% + \edef\@tempa{\cref@stack@top{\@tempstack}}% \expandafter\expandafter\expandafter\def% \expandafter\expandafter\expandafter\cref@poorman@text% \expandafter\expandafter\expandafter{% - \csname cref@\@tmpa @name\endcsname}% - \edef\@tmpa{% - \string\cref@\expandafter\noexpand\@tmpa @name\space}% + \csname cref@\@tempa @name\endcsname}% + \edef\@tempa{% + \string\cref@\expandafter\noexpand\@tempa @name\space}% \expandafter\expandafter\expandafter\def% - \expandafter\expandafter\expandafter\@tmpa% + \expandafter\expandafter\expandafter\@tempa% \expandafter\expandafter\expandafter{% \expandafter\expandafter\expandafter{% \expandafter\@address\expandafter}% - \expandafter{\@tmpa}}% - \expandafter\cref@writescript\@tmpa% + \expandafter{\@tempa}}% + \expandafter\cref@writescript\@tempa% % \end{macrocode} % \cmd{\cref@\meta{type}@name@plural} substitution rules. % \begin{macrocode} - \edef\@tmpa{\cref@stack@top{\@tmpstack}}% + \edef\@tempa{\cref@stack@top{\@tempstack}}% \expandafter\expandafter\expandafter\def% \expandafter\expandafter\expandafter\cref@poorman@text% \expandafter\expandafter\expandafter{% - \csname cref@\@tmpa @name@plural\endcsname}% - \edef\@tmpa{% - \string\cref@\expandafter\noexpand\@tmpa% + \csname cref@\@tempa @name@plural\endcsname}% + \edef\@tempa{% + \string\cref@\expandafter\noexpand\@tempa% @name@plural\space}% \expandafter\expandafter\expandafter\def% - \expandafter\expandafter\expandafter\@tmpa% + \expandafter\expandafter\expandafter\@tempa% \expandafter\expandafter\expandafter{% \expandafter\expandafter\expandafter{% \expandafter\@address\expandafter}% - \expandafter{\@tmpa}}% - \expandafter\cref@writescript\@tmpa% + \expandafter{\@tempa}}% + \expandafter\cref@writescript\@tempa% % \end{macrocode} % \cmd{\Cref@\meta{type}@name} substitution rules. % \begin{macrocode} - \edef\@tmpa{\cref@stack@top{\@tmpstack}}% + \edef\@tempa{\cref@stack@top{\@tempstack}}% \expandafter\expandafter\expandafter\def% \expandafter\expandafter\expandafter\cref@poorman@text% \expandafter\expandafter\expandafter{% - \csname Cref@\@tmpa @name\endcsname}% - \edef\@tmpa{% - \string\Cref@\expandafter\noexpand\@tmpa @name\space}% + \csname Cref@\@tempa @name\endcsname}% + \edef\@tempa{% + \string\Cref@\expandafter\noexpand\@tempa @name\space}% \expandafter\expandafter\expandafter\def% - \expandafter\expandafter\expandafter\@tmpa% + \expandafter\expandafter\expandafter\@tempa% \expandafter\expandafter\expandafter{% \expandafter\expandafter\expandafter% {\expandafter\@address\expandafter}% - \expandafter{\@tmpa}}% - \expandafter\cref@writescript\@tmpa% + \expandafter{\@tempa}}% + \expandafter\cref@writescript\@tempa% % \end{macrocode} % \cmd{\Cref@\meta{type}@name@plural} substitution rules. % \begin{macrocode} - \edef\@tmpa{\cref@stack@top{\@tmpstack}}% + \edef\@tempa{\cref@stack@top{\@tempstack}}% \expandafter\expandafter\expandafter\def% \expandafter\expandafter\expandafter\cref@poorman@text% \expandafter\expandafter\expandafter{% - \csname Cref@\@tmpa @name@plural\endcsname}% - \edef\@tmpa{% - \string\Cref@\expandafter\noexpand\@tmpa% + \csname Cref@\@tempa @name@plural\endcsname}% + \edef\@tempa{% + \string\Cref@\expandafter\noexpand\@tempa% @name@plural\space}% \expandafter\expandafter\expandafter\def% - \expandafter\expandafter\expandafter\@tmpa% + \expandafter\expandafter\expandafter\@tempa% \expandafter\expandafter\expandafter{% \expandafter\expandafter\expandafter% {\expandafter\@address\expandafter}% - \expandafter{\@tmpa}}% - \expandafter\cref@writescript\@tmpa% + \expandafter{\@tempa}}% + \expandafter\cref@writescript\@tempa% % \end{macrocode} % After the loop over cross-reference types, we set % \cmd{\cref@inputlineno} to the current input-file line, in preparation % for the next language block. % \begin{macrocode} - \cref@stack@pop{\@tmpstack}% - \cref@isstackfull{\@tmpstack}}% + \cref@stack@pop{\@tempstack}% + \cref@isstackfull{\@tempstack}}% \endgroup% \edef\cref@inputlineno{\the\inputlineno}}% % \end{macrocode} @@ -5734,22 +5763,22 @@ % special characters, and store them in \cmd{\cref@poorman@text}. % \begin{macrocode} \def\cref@poorman@text{}% - \immediate\read\@crefscript to \@tmpa% - \ifx\@tmpa\@eof% + \immediate\read\@crefscript to \@tempa% + \ifx\@tempa\@eof% \@not@eoffalse% \else% \@not@eoftrue% - \edef\@tmpa{\@tmpa}% + \edef\@tempa{\@tempa}% \fi% \@whilesw\if@not@eof\fi{% \expandafter\g@addto@macro\expandafter% - \cref@poorman@text\expandafter{\@tmpa^^J}% - \immediate\read\@crefscript to \@tmpa% - \ifx\@tmpa\@eof% + \cref@poorman@text\expandafter{\@tempa^^J}% + \immediate\read\@crefscript to \@tempa% + \ifx\@tempa\@eof% \@not@eoffalse% \else% \@not@eoftrue% - \edef\@tmpa{\@tmpa}% + \edef\@tempa{\@tempa}% \fi}% \endgroup% \immediate\closein\@crefscript% @@ -5761,68 +5790,68 @@ % \begin{macrocode} \begingroup% \lccode`|=92 \lccode`<=123 \lccode`>=125 \lccode`C=67 - \lowercase{\def\@tmpa{%[ + \lowercase{\def\@tempa{%[ s/||label|[[^]]*|]/||label/g}} \expandafter\g@addto@macro\expandafter% - \cref@poorman@text\expandafter{\@tmpa^^J}% - \lowercase{\edef\@tmpa{s/||usepackage|(|[.*|]|)|<0,1|>//g}}% + \cref@poorman@text\expandafter{\@tempa^^J}% + \lowercase{\edef\@tempa{s/||usepackage|(|[.*|]|)|<0,1|>//g}}% \expandafter\g@addto@macro\expandafter% - \cref@poorman@text\expandafter{\@tmpa^^J}% - \lowercase{\edef\@tmpa{s/||[cC]refformat<.*><.*>//g}}% + \cref@poorman@text\expandafter{\@tempa^^J}% + \lowercase{\edef\@tempa{s/||[cC]refformat<.*><.*>//g}}% \expandafter\g@addto@macro\expandafter% - \cref@poorman@text\expandafter{\@tmpa^^J}% - \lowercase{\edef\@tmpa{s/||[cC]refrangeformat<.*><.*>//g}}% + \cref@poorman@text\expandafter{\@tempa^^J}% + \lowercase{\edef\@tempa{s/||[cC]refrangeformat<.*><.*>//g}}% \expandafter\g@addto@macro\expandafter% - \cref@poorman@text\expandafter{\@tmpa^^J}% - \lowercase{\edef\@tmpa{s/||[cC]refmultiformat<.*><.*><.*><.*>//g}}% + \cref@poorman@text\expandafter{\@tempa^^J}% + \lowercase{\edef\@tempa{s/||[cC]refmultiformat<.*><.*><.*><.*>//g}}% \expandafter\g@addto@macro\expandafter% - \cref@poorman@text\expandafter{\@tmpa^^J}% - \lowercase{\edef\@tmpa{% + \cref@poorman@text\expandafter{\@tempa^^J}% + \lowercase{\edef\@tempa{% s/||[cC]refrangemultiformat<.*><.*><.*><.*>//g}}% \expandafter\g@addto@macro\expandafter% - \cref@poorman@text\expandafter{\@tmpa^^J}% - \lowercase{\edef\@tmpa{s/||[cC]refname<.*><.*>//g}}% + \cref@poorman@text\expandafter{\@tempa^^J}% + \lowercase{\edef\@tempa{s/||[cC]refname<.*><.*>//g}}% \expandafter\g@addto@macro\expandafter% - \cref@poorman@text\expandafter{\@tmpa^^J}% - \lowercase{\edef\@tmpa{s/||[cC]reflabelformat<.*><.*>//g}}% + \cref@poorman@text\expandafter{\@tempa^^J}% + \lowercase{\edef\@tempa{s/||[cC]reflabelformat<.*><.*>//g}}% \expandafter\g@addto@macro\expandafter% - \cref@poorman@text\expandafter{\@tmpa^^J}% - \lowercase{\edef\@tmpa{s/||[cC]refrangelabelformat<.*><.*>//g}}% + \cref@poorman@text\expandafter{\@tempa^^J}% + \lowercase{\edef\@tempa{s/||[cC]refrangelabelformat<.*><.*>//g}}% \expandafter\g@addto@macro\expandafter% - \cref@poorman@text\expandafter{\@tmpa^^J}% - \lowercase{\edef\@tmpa{s/||[cC]refdefaultlabelformat<.*>//g}}% + \cref@poorman@text\expandafter{\@tempa^^J}% + \lowercase{\edef\@tempa{s/||[cC]refdefaultlabelformat<.*>//g}}% \expandafter\g@addto@macro\expandafter% - \cref@poorman@text\expandafter{\@tmpa^^J}% - \lowercase{\edef\@tmpa{% + \cref@poorman@text\expandafter{\@tempa^^J}% + \lowercase{\edef\@tempa{% s/||renewcommand<||crefpairconjunction><.*>//g}}% \expandafter\g@addto@macro\expandafter% - \cref@poorman@text\expandafter{\@tmpa^^J}% - \lowercase{\edef\@tmpa{% + \cref@poorman@text\expandafter{\@tempa^^J}% + \lowercase{\edef\@tempa{% s/||renewcommand<||crefpairgroupconjunction><.*>//g}}% \expandafter\g@addto@macro\expandafter% - \cref@poorman@text\expandafter{\@tmpa^^J}% - \lowercase{\edef\@tmpa{% + \cref@poorman@text\expandafter{\@tempa^^J}% + \lowercase{\edef\@tempa{% s/||renewcommand<||crefmiddleconjunction><.*>//g}}% \expandafter\g@addto@macro\expandafter% - \cref@poorman@text\expandafter{\@tmpa^^J}% - \lowercase{\edef\@tmpa{% + \cref@poorman@text\expandafter{\@tempa^^J}% + \lowercase{\edef\@tempa{% s/||renewcommand<||crefmiddlegroupconjunction><.*>//g}}% \expandafter\g@addto@macro\expandafter% - \cref@poorman@text\expandafter{\@tmpa^^J}% - \lowercase{\edef\@tmpa{% + \cref@poorman@text\expandafter{\@tempa^^J}% + \lowercase{\edef\@tempa{% s/||renewcommand<||creflastconjunction><.*>//g}}% \expandafter\g@addto@macro\expandafter% - \cref@poorman@text\expandafter{\@tmpa^^J}% - \lowercase{\edef\@tmpa{% + \cref@poorman@text\expandafter{\@tempa^^J}% + \lowercase{\edef\@tempa{% s/||renewcommand<||creflastgroupconjunction><.*>//g}}% \expandafter\g@addto@macro\expandafter% - \cref@poorman@text\expandafter{\@tmpa^^J}% - \lowercase{\edef\@tmpa{s/||renewcommand<||[cC]ref><.*>//g}}% + \cref@poorman@text\expandafter{\@tempa^^J}% + \lowercase{\edef\@tempa{s/||renewcommand<||[cC]ref><.*>//g}}% \expandafter\g@addto@macro\expandafter% - \cref@poorman@text\expandafter{\@tmpa^^J}% - \lowercase{\edef\@tmpa{s/||renewcommand<||[cC]refrange><.*>//g}}% + \cref@poorman@text\expandafter{\@tempa^^J}% + \lowercase{\edef\@tempa{s/||renewcommand<||[cC]refrange><.*>//g}}% \expandafter\g@addto@macro\expandafter% - \cref@poorman@text\expandafter{\@tmpa^^J}% + \cref@poorman@text\expandafter{\@tempa^^J}% \endgroup% % \end{macrocode} % Overwrite the script file with the new, escaped regexp rules. @@ -5844,8 +5873,8 @@ \def\cref@getmeaning#1{\expandafter\@cref@getmeaning\meaning#1\@nil} \def\@cref@getmeaning#1->#2\@nil{#2} \def\cref@writescript#1#2{% - \edef\@tmpa{\cref@getmeaning{\cref@poorman@text}}% - \immediate\write\@crefscript{#1 s/#2/\@tmpa/g}} + \edef\@tempa{\cref@getmeaning{\cref@poorman@text}}% + \immediate\write\@crefscript{#1 s/#2/\@tempa/g}} % \end{macrocode} % \end{macro} % @@ -5862,40 +5891,40 @@ % substitution rule for the reference to the script, as well as % type-setting the reference itself. % -% We use a temporary \cmd{\@tmpa} macro that makes use of the fact that +% We use a temporary \cmd{\@tempa} macro that makes use of the fact that % the first character of \#1 is ``c'' for lower-case and ``C'' for % upper-case in these commands, in order to write out the correct % capitalisation in the substitution. % % FIXME: We only resort to this because |\string\#1| doesn't work. But % there \emph{must} be a better way to get a backslash character into -% the token stream, obviating the need for the ugly \cmd{\@tmpa} macro. +% the token stream, obviating the need for the ugly \cmd{\@tempa} macro. % \begin{macrocode} \if@cref@hyperrefloaded\relax% hyperref loaded \def\@crefnostar#1#2{% \gdef\cref@poorman@text{}% \@cref{#1}{#2}% - \def\@tmpa##1##2\@nil{% + \def\@tempa##1##2\@nil{% \if##1c% \cref@writescript{}{\string\cref\string{#2\string}}% \else% \cref@writescript{}{\string\Cref\string{#2\string}}% \fi}% - \@tmpa#1\@nil} + \@tempa#1\@nil} \def\@crefstar#1#2{% \gdef\cref@poorman@text{}% \@crefstarredtrue\@cref{#1}{#2}\@crefstarredfalse% - \def\@tmpa##1##2\@nil{% + \def\@tempa##1##2\@nil{% \if##1c% \cref@writescript{}{\string\cref*\string{#2\string}}% \else% \cref@writescript{}{\string\Cref*\string{#2\string}}% \fi}% - \@tmpa#1\@nil} + \@tempa#1\@nil} \def\@crefrangenostar#1#2#3{% \gdef\cref@poorman@text{}% \@setcrefrange{#2}{#3}{#1}{}% - \def\@tmpa##1##2\@nil{% + \def\@tempa##1##2\@nil{% \if##1c% \cref@writescript{}{% \string\crefrange\string{#2\string}\string{#3\string}}% @@ -5903,11 +5932,11 @@ \cref@writescript{}{% \string\Crefrange\string{#2\string}\string{#3\string}}% \fi}% - \@tmpa#1\@nil} + \@tempa#1\@nil} \def\@crefrangestar#1#2#3{% \gdef\cref@poorman@text{}% \@crefstarredtrue\@setcrefrange{#2}{#3}{#1}{}\@crefstarredfalse% - \def\@tmpa##1##2\@nil{% + \def\@tempa##1##2\@nil{% \if##1c% \cref@writescript{}{% \string\crefrange*\string{#2\string}\string{#3\string}}% @@ -5915,7 +5944,7 @@ \cref@writescript{}{% \string\Crefrange*\string{#2\string}\string{#3\string}}% \fi}% - \@tmpa#1\@nil} + \@tempa#1\@nil} % \else% hyperref not loaded \DeclareRobustCommand{\cref}[1]{% @@ -5990,22 +6019,22 @@ \if@cref@legacyvarioref\@crefstarredfalse\fi% \@cref{#1}{#2} % space here is deliberate \let\if@crefstarred\if@tmp% - \def\@tmpstack{#2,\@nil}% - \cref@stack@topandbottom{\@tmpstack}{\@firstref}{\@lastref}% + \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\@tmpa{{\@firstref}{\@lastref}}% - \expandafter\def\expandafter\@tmpa\expandafter{% + \edef\@tempa{{\@firstref}{\@lastref}}% + \expandafter\def\expandafter\@tempa\expandafter{% \expandafter[\expandafter\unskip\expandafter]% - \@tmpa}% - \expandafter\vpagerefrange\@tmpa% + \@tempa}% + \expandafter\vpagerefrange\@tempa% \expandafter\g@addto@macro\expandafter\cref@poorman@text% - \expandafter{\expandafter\vpagerefrange\@tmpa}% + \expandafter{\expandafter\vpagerefrange\@tempa}% \fi% - \def\@tmpa##1##2\@nil{% + \def\@tempa##1##2\@nil{% \if##1c% \if@crefstarred% \cref@writescript{}{\string\vref*\string{#2\string}}% @@ -6019,7 +6048,7 @@ \cref@writescript{}{\string\Vref\string{#2\string}}% \fi% \fi}% - \@tmpa#1\@nil% + \@tempa#1\@nil% \endgroup} % \def\cref@vrefrange#1#2#3{% @@ -6027,7 +6056,7 @@ \@setcrefrange{#2}{#3}{#1}{} \vpagerefrange[\unskip]{#2}{#3}% \g@addto@macro\cref@poorman@text% { \vpagerefrange[\unskip]{#2}{#3}}% - \def\@tmpa##1##2\@nil{% + \def\@tempa##1##2\@nil{% \if##1c% \if@crefstarred% \cref@writescript{}{% @@ -6045,37 +6074,37 @@ \string\Vrefrange\string{#2\string}\string{#3\string}}% \fi% \fi}% - \@tmpa#1\@nil} + \@tempa#1\@nil} % \def\cref@fullref#1#2{% \gdef\cref@poorman@text{}% \begingroup% \@cref{#1}{#2} % space here is deliberate - \def\@tmpstack{#2,\@nil}% - \cref@stack@topandbottom{\@tmpstack}{\@firstref}{\@lastref}% + \def\@tempstack{#2,\@nil}% + \cref@stack@topandbottom{\@tempstack}{\@firstref}{\@lastref}% \ifx\@lastref\@empty% \reftextfaraway{#2}% \def\@pageref{\reftextfaraway{#1}}% \else% \expandafter\vrefpagenum\expandafter% - \@tmpa\expandafter{\@firstref}% + \@tempa\expandafter{\@firstref}% \expandafter\vrefpagenum\expandafter% - \@tmpb\expandafter{\@lastref}% - \ifx\@tmpa\@tmpb% + \@tempb\expandafter{\@lastref}% + \ifx\@tempa\@tempb% \expandafter\reftextfaraway\expandafter{\@firstref}% \expandafter\def\expandafter\@pageref\expandafter{% \expandafter\reftextfaraway\expandafter{\@firstref}}% \else% - \edef\@tmpa{{\@firstref}{\@lastref}}% - \expandafter\reftextpagerange\@tmpa% + \edef\@tempa{{\@firstref}{\@lastref}}% + \expandafter\reftextpagerange\@tempa% \expandafter\def\expandafter\@pageref\expandafter{% - \expandafter\reftextpagerange\@tmpa}% + \expandafter\reftextpagerange\@tempa}% \fi% \fi% \g@addto@macro\cref@poorman@text{ }% \expandafter\g@addto@macro\expandafter\cref@poorman@text% \expandafter{\@pageref}% - \def\@tmpa##1##2\@nil{% + \def\@tempa##1##2\@nil{% \if##1c% \if@crefstarred% \cref@writescript{}{\string\fullref*\string{#2\string}}% @@ -6089,7 +6118,7 @@ \cref@writescript{}{\string\Fullref\string{#2\string}}% \fi% \fi}% - \@tmpa#1\@nil% + \@tempa#1\@nil% \endgroup} }% end of \AtBeginDocument }{}% end of \@ifpackageloaded{varioref} @@ -6131,14 +6160,14 @@ \expandafter{\creflastgroupconjunction}} \if@cref@hyperrefloaded\relax% hyperref loaded \def\@@setcref#1#2{% - \cref@getlabel{#2}{\@tmplabel}% + \cref@getlabel{#2}{\@templabel}% \if@crefstarred% - #1{\@tmplabel}{}{}% + #1{\@templabel}{}{}% \expandafter\g@addto@macro\expandafter\cref@poorman@text% \expandafter{#1{\ref*{#2}}{}{}}% \else% - \edef\@tmplink{\cref@hyperref{#2}}% - #1{\@tmplabel}{\hyper@linkstart{link}{\@tmplink}}% + \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}}{}{}}% @@ -6383,6 +6412,7 @@ \Crefname@preamble{remark}{Remark}{Remarks}% \Crefname@preamble{note}{Note}{Notes}% \Crefname@preamble{algorithm}{Algorithm}{Algorithms}% + \Crefname@preamble{listing}{Listing}{Listings}% \Crefname@preamble{line}{Line}{Lines}% \if@cref@capitalise% \crefname@preamble{equation}{Eq.}{Eqs.}% @@ -6404,6 +6434,7 @@ \crefname@preamble{remark}{Remark}{Remarks}% \crefname@preamble{note}{Note}{Notes}% \crefname@preamble{algorithm}{Algorithm}{Algorithms}% + \crefname@preamble{listing}{Listing}{Listings}% \crefname@preamble{line}{Line}{Lines}% \else% \crefname@preamble{equation}{eq.}{eqs.}% @@ -6425,6 +6456,7 @@ \crefname@preamble{remark}{remark}{remarks}% \crefname@preamble{note}{note}{notes}% \crefname@preamble{algorithm}{algorithm}{algorithms}% + \crefname@preamble{listing}{listing}{listings}% \crefname@preamble{line}{line}{lines}% \fi% \def\cref@language{english}% @@ -6474,6 +6506,7 @@ \Crefname{remark}{Remark}{Remarks}% \Crefname{note}{Note}{Notes}% \Crefname{algorithm}{Algorithm}{Algorithms}% + \Crefname{listing}{Listing}{Listings}% \Crefname{line}{Line}{Lines}% \if@cref@capitalise% \crefname{equation}{Eq.}{Eqs.}% @@ -6506,6 +6539,7 @@ \crefname{remark}{Remark}{Remarks}% \crefname{note}{Note}{Notes}% \crefname{algorithm}{Algorithm}{Algorithms}% + \crefname{listing}{Listing}{Listings}% \crefname{line}{Line}{Lines}% \else% \crefname{equation}{eq.}{eqs.}% @@ -6538,6 +6572,7 @@ \crefname{remark}{remark}{remarks}% \crefname{note}{note}{notes}% \crefname{algorithm}{algorithm}{algorithms}% + \crefname{listing}{listing}{listings}% \crefname{line}{line}{lines}% \fi% }}} @@ -6592,6 +6627,7 @@ \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}% \if@cref@capitalise% \crefname@preamble{equation}{Gleichung}{Gleichungen}% @@ -6613,6 +6649,7 @@ \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}% @@ -6634,6 +6671,7 @@ \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% \def\cref@language{german}% @@ -6683,6 +6721,7 @@ \Crefname{remark}{Bemerkung}{Bemerkungen}% \Crefname{note}{Anmerkung}{Anmerkungen}% \Crefname{algorithm}{Algorithmus}{Algorithmen}% + \Crefname{listing}{Listing}{Listings}% \Crefname{line}{Zeile}{Zeilen}% \if@cref@capitalise% \crefname{equation}{Gleichung}{Gleichungen}% @@ -6715,6 +6754,7 @@ \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}% @@ -6747,6 +6787,7 @@ \crefname{remark}{Bemerkung}{Bemerkungen}% \crefname{note}{Anmerkung}{Anmerkungen}% \crefname{algorithm}{Algorithmus}{Algorithmen}% + \crefname{listing}{Listing}{Listings}% \crefname{line}{Zeile}{Zeilen}% \fi% }}} @@ -6806,6 +6847,7 @@ \Crefname{remark}{Bemerkung}{Bemerkungen}% \Crefname{note}{Anmerkung}{Anmerkungen}% \Crefname{algorithm}{Algorithmus}{Algorithmen}% + \Crefname{listing}{Listing}{Listings}% \Crefname{line}{Zeile}{Zeilen}% \if@cref@capitalise% \crefname{equation}{Gleichung}{Gleichungen}% @@ -6838,6 +6880,7 @@ \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}% @@ -6870,6 +6913,7 @@ \crefname{remark}{Bemerkung}{Bemerkungen}% \crefname{note}{Anmerkung}{Anmerkungen}% \crefname{algorithm}{Algorithmus}{Algorithmen}% + \crefname{listing}{Listing}{Listings}% \crefname{line}{Zeile}{Zeilen}% \fi% }}} @@ -6921,6 +6965,7 @@ \Crefname@preamble{remark}{Opmerking}{Opmerkingen}% \Crefname@preamble{note}{Aantekening}{Aantekeningen}% \Crefname@preamble{algorithm}{Algoritme}{Algoritmen}% + \Crefname@preamble{listing}{Listing}{Listings}% \Crefname@preamble{line}{Lijn}{Lijnen}% \if@cref@capitalise% \crefname@preamble{equation}{Verg.}{Verg's.}% @@ -6942,6 +6987,7 @@ \crefname@preamble{remark}{Opmerking}{Opmerkingen}% \crefname@preamble{note}{Aantekening}{Aantekeningen}% \crefname@preamble{algorithm}{Algoritme}{Algoritmen}% + \crefname@preamble{listing}{Listing}{Listings}% \crefname@preamble{line}{Lijn}{Lijnen}% \else% \crefname@preamble{equation}{verg.}{verg's.}% @@ -6963,6 +7009,7 @@ \crefname@preamble{remark}{opmerking}{opmerkingen}% \crefname@preamble{note}{aantekening}{aantekeningen}% \crefname@preamble{algorithm}{algoritme}{algoritmen}% + \crefname@preamble{listing}{listing}{listings}% \crefname@preamble{line}{lijn}{lijnen}% \fi% \def\cref@language{dutch}% @@ -7012,6 +7059,7 @@ \Crefname{remark}{Opmerking}{Opmerkingen}% \Crefname{note}{Aantekening}{Aantekeningen}% \Crefname{algorithm}{Algoritme}{Algoritmen}% + \Crefname{listing}{Listing}{Listings}% \Crefname{line}{Lijn}{Lijnen}% \if@cref@capitalise% \crefname{equation}{Verg.}{Verg's.}% @@ -7033,6 +7081,7 @@ \crefname{remark}{Opmerking}{Opmerkingen}% \crefname{note}{Aantekening}{Aantekeningen}% \crefname{algorithm}{Algoritme}{Algoritmen}% + \crefname{listing}{Listing}{Listings}% \crefname{line}{Lijn}{Lijnen}% \else% \crefname{equation}{verg.}{verg's.}% @@ -7054,6 +7103,7 @@ \crefname{remark}{opmerking}{opmerkingen}% \crefname{note}{aantekening}{aantekeningen}% \crefname{algorithm}{algoritme}{algoritmen}% + \crefname{listing}{listing}{listings}% \crefname{line}{lijn}{lijnen}% \fi% }}} @@ -7104,6 +7154,7 @@ \Crefname@preamble{example}{Exemple}{Exemples}% \Crefname@preamble{remark}{Remarque}{Remarques}% \Crefname@preamble{algorithm}{Algorithme}{Algorithmes}% + \Crefname@preamble{listing}{Liste}{Listes}% \Crefname@preamble{line}{Ligne}{Lignes}% \if@cref@capitalise% \crefname@preamble{equation}{{\'E}quation}{{\'E}quations}% @@ -7125,6 +7176,7 @@ \crefname@preamble{remark}{Remarque}{Remarques}% \crefname@preamble{note}{Commentaire}{Commentaires}% \crefname@preamble{algorithm}{Algorithme}{Algorithmes}% + \crefname@preamble{listing}{Liste}{Listes}% \crefname@preamble{line}{Ligne}{Lignes}% \else% \crefname@preamble{equation}{{\'e}quation}{{\'e}quations}% @@ -7146,6 +7198,7 @@ \crefname@preamble{remark}{remarque}{remarques}% \crefname@preamble{note}{commentaire}{commentaires}% \crefname@preamble{algorithm}{algorithme}{algorithmes}% + \crefname@preamble{listing}{liste}{listes}% \crefname@preamble{line}{ligne}{lignes}% \fi% \def\cref@language{french}% @@ -7195,6 +7248,7 @@ \Crefname{remark}{Remarque}{Remarques}% \Crefname{note}{Commentaire}{Commentaires}% \Crefname{algorithm}{Algorithme}{Algorithmes}% + \Crefname{listing}{Liste}{Listes}% \Crefname{line}{Ligne}{Lignes}% \if@cref@capitalise% \crefname{equation}{{\'E}quation}{{\'E}quations}% @@ -7227,6 +7281,7 @@ \crefname{remark}{Remarque}{Remarques}% \crefname{note}{Commentaire}{Commentaires}% \crefname{algorithm}{Algorithme}{Algorithmes}% + \crefname{listing}{Liste}{Listes}% \crefname{line}{Ligne}{Lignes}% \else% \crefname{equation}{{\'e}quation}{{\'e}quations}% @@ -7259,6 +7314,7 @@ \crefname{remark}{remarque}{remarques}% \crefname{note}{commentaire}{commentaires}% \crefname{algorithm}{algorithme}{algorithmes}% + \crefname{listing}{liste}{listes}% \crefname{line}{ligne}{lignes}% \fi% }}} @@ -7304,6 +7360,7 @@ \Crefname@preamble{remark}{Observaci\'on}{Observaciones}% \Crefname@preamble{note}{Nota}{Notas}% \Crefname@preamble{algorithm}{Algoritmo}{Algoritmos}% + \Crefname@preamble{listing}{Listado}{Listados}% \Crefname@preamble{line}{L\'inea}{L\'ineas}% \if@cref@capitalise% \crefname@preamble{equation}{Ecuaci\'on}{Ecuaciones}% @@ -7325,6 +7382,7 @@ \crefname@preamble{remark}{Observaci\'on}{Observaciones}% \crefname@preamble{note}{Nota}{Notas}% \crefname@preamble{algorithm}{Algoritmo}{Algoritmos}% + \crefname@preamble{listing}{Listado}{Listados}% \crefname@preamble{line}{L\'inea}{L\'ineas}% \else% \crefname@preamble{equation}{ecuaci\'on}{ecuaciones}% @@ -7346,6 +7404,7 @@ \crefname@preamble{remark}{observaci\'on}{observaciones}% \crefname@preamble{note}{nota}{notas}% \crefname@preamble{algorithm}{algoritmo}{algoritmos}% + \crefname@preamble{listing}{listado}{listados}% \crefname@preamble{line}{l\'inea}{l\'ineas}% \fi% \def\cref@language{spanish}% @@ -7395,6 +7454,7 @@ \Crefname{remark}{Observaci\'on}{Observaci\'on}% \Crefname{note}{Nota}{Notas}% \Crefname{algorithm}{Algoritmo}{Algoritmos}% + \Crefname{listing}{Listado}{Listados}% \Crefname{line}{L\'inea}{L\'ineas}% \if@cref@capitalise% \crefname{equation}{Ecuaci\'on}{Ecuaciones}% @@ -7427,6 +7487,7 @@ \crefname{remark}{Observaci\'on}{Observaci\'ones}% \crefname{note}{Nota}{Notas}% \crefname{algorithm}{Algoritmo}{Algoritmos}% + \crefname{listing}{Listado}{Listados}% \crefname{line}{L\'inea}{L\'ineas}% \else% \crefname{equation}{ecuaci\'on}{ecuaciones}% @@ -7459,6 +7520,7 @@ \crefname{remark}{observaci\'on}{observaci\'ones}% \crefname{note}{nota}{notas}% \crefname{algorithm}{algoritmo}{algoritmos}% + \crefname{listing}{listado}{listados}% \crefname{line}{l\'inea}{l\'ineas}% \fi% }}} @@ -7511,6 +7573,7 @@ \Crefname@preamble{remark}{Osservazione}{Osservazioni}% \Crefname@preamble{note}{Nota}{Note}% \Crefname@preamble{algorithm}{Algoritmo}{Algoritmi}% + \Crefname@preamble{listing}{Elenco}{Elenchi}% \Crefname@preamble{line}{Linea}{Linee}% \if@cref@capitalise% \crefname@preamble{equation}{Eq.}{Eq.}% @@ -7532,6 +7595,7 @@ \crefname@preamble{remark}{Osservazione}{Osservazioni}% \crefname@preamble{note}{Nota}{Note}% \crefname@preamble{algorithm}{Algoritmo}{Algoritmi}% + \crefname@preamble{listing}{Elenco}{Elenchi}% \crefname@preamble{line}{Linea}{Linee}% \else% \crefname@preamble{equation}{eq.}{eq.}% @@ -7553,6 +7617,7 @@ \crefname@preamble{remark}{osservazione}{osservazioni}% \crefname@preamble{note}{nota}{note}% \crefname@preamble{algorithm}{algoritmo}{algoritmi}% + \crefname@preamble{listing}{elenco}{elenchi}% \crefname@preamble{line}{linea}{linee}% \fi% \def\cref@language{italian}% @@ -7602,6 +7667,7 @@ \Crefname{remark}{Osservazione}{Osservazioni}% \Crefname{note}{Nota}{Note}% \Crefname{algorithm}{Algoritmo}{Algoritmi}% + \Crefname{listing}{Elenco}{Elenchi}% \Crefname{line}{Linea}{Linee}% \if@cref@capitalise% \crefname{equation}{Eq.}{Eq.}% @@ -7634,6 +7700,7 @@ \crefname{remark}{Osservazione}{Osservazioni}% \crefname{note}{Nota}{Note}% \crefname{algorithm}{Algoritmo}{Algoritmi}% + \crefname{listing}{Elenco}{Elenchi}% \crefname{line}{Linea}{Linee}% \else% \crefname{equation}{eq.}{eq.}% @@ -7666,6 +7733,7 @@ \crefname{remark}{osservazione}{osservazioni}% \crefname{note}{nota}{note}% \crefname{algorithm}{algoritmo}{algoritmi}% + \crefname{listing}{elenco}{elenchi}% \crefname{line}{linea}{linee}% \fi% }}} @@ -7756,6 +7824,9 @@ \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}% @@ -7815,6 +7886,9 @@ \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}% @@ -7872,6 +7946,9 @@ \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.}% @@ -7984,6 +8061,9 @@ \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}% @@ -8066,6 +8146,9 @@ \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}% @@ -8148,6 +8231,9 @@ \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.}% @@ -8240,6 +8326,9 @@ \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}% @@ -8297,6 +8386,9 @@ \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}% @@ -8354,6 +8446,9 @@ \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.}% @@ -8466,6 +8561,9 @@ \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}% @@ -8548,6 +8646,9 @@ \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}% @@ -8628,6 +8729,9 @@ \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.}% @@ -8662,181 +8766,360 @@ \def\crefpairgroupconjunction@preamble{ og\nobreakspace}% \def\crefmiddlegroupconjunction@preamble{, }% \def\creflastgroupconjunction@preamble{ og\nobreakspace}% - \Crefname@preamble{equation}{Likning}{Likninger}% - \Crefname@preamble{part}{Del}{Deler}% - \Crefname@preamble{chapter}{Kapittel}{Kapitler}% - \Crefname@preamble{section}{Avsnitt}{Avsnitt}% - \Crefname@preamble{appendix}{Tillegg}{Tillegg}% + \Crefname@preamble{equation}{Likning}{Likningene}% + \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}% + \Crefname@preamble{proposition}{P\aa stand}{P\aa standene}% + \Crefname@preamble{definition}{Definisjon}{Definisjonene}% + \Crefname@preamble{result}{Resultat}{Resultatene}% + \Crefname@preamble{example}{Eksempel}{Eksemplene}% + \Crefname@preamble{remark}{Bemerkning}{Bemerkningene}% + \Crefname@preamble{note}{Note}{Notene}% + \Crefname@preamble{algorithm}{Algoritme}{Algoritmene}% + \Crefname@preamble{listing}{Opplisting}{Opplistingene}% + \Crefname@preamble{line}{Linje}{Linjene}% + \if@cref@capitalise% + \crefname@preamble{equation}{Likning}{Likningene}% + \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}% + \crefname@preamble{proposition}{P\aa stand}{P\aa standene}% + \crefname@preamble{definition}{Definisjon}{Definisjonene}% + \crefname@preamble{result}{Resultat}{Resultatene}% + \crefname@preamble{example}{Eksempel}{Eksemplene}% + \crefname@preamble{remark}{Bemerkning}{Bemerkningene}% + \crefname@preamble{note}{Note}{Notene}% + \crefname@preamble{algorithm}{Algoritme}{Algoritmene}% + \crefname@preamble{listing}{Opplisting}{Opplistingene}% + \crefname@preamble{line}{Linje}{Linjene}% + \else% + \crefname@preamble{equation}{likning}{likningene}% + \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}% + \crefname@preamble{proposition}{p\aa stand}{p\aa standene}% + \crefname@preamble{definition}{definisjon}{definisjonene}% + \crefname@preamble{result}{resultat}{resultatene}% + \crefname@preamble{example}{eksempel}{eksemplene}% + \crefname@preamble{remark}{bemerkning}{bemerkningene}% + \crefname@preamble{note}{note}{notene}% + \crefname@preamble{algorithm}{algoritme}{algoritmene}% + \crefname@preamble{listing}{opplisting}{opplistingene}% + \crefname@preamble{line}{linje}{linjene}% + \fi% + \def\cref@language{norsk}% +% \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\extrasnorsk{% + \renewcommand{\crefrangeconjunction}{ til\nobreakspace}% + \renewcommand\crefrangepreconjunction{}% + \renewcommand\crefrangepostconjunction{}% + \renewcommand{\crefpairconjunction}{ og\nobreakspace}% + \renewcommand{\crefmiddleconjunction}{, }% + \renewcommand{\creflastconjunction}{ og\nobreakspace}% + \renewcommand{\crefpairgroupconjunction}{ og\nobreakspace}% + \renewcommand{\crefmiddlegroupconjunction}{, }% + \renewcommand{\creflastgroupconjunction}{ og\nobreakspace}% + \Crefname{equation}{Likning}{Likningene}% + \Crefname{part}{Del}{Delene}% + \Crefname{chapter}{Kapittel}{Kapitlene}% + \Crefname{section}{Avsnitt}{Avsnittene}% + \Crefname{subsection}{Avsnitt}{Avsnittene}% + \Crefname{subsubsection}{Avsnitt}{Avsnittene}% + \Crefname{appendix}{Tillegg}{Tilleggene}% + \Crefname{subappendix}{Tillegg}{Tilleggene}% + \Crefname{subsubappendix}{Tillegg}{Tilleggene}% + \Crefname{subsubsubappendix}{Tillegg}{Tilleggene}% + \Crefname{enumi}{Punkt}{Punktene}% + \Crefname{enumii}{Punkt}{Punktene}% + \Crefname{enumiii}{Punkt}{Punktene}% + \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}% + \Crefname{proposition}{P\aa stand}{P\aa standene}% + \Crefname{definition}{Definisjon}{Definisjonene}% + \Crefname{result}{Resultat}{Resultatene}% + \Crefname{example}{Eksempel}{Eksemplene}% + \Crefname{remark}{Bemerkning}{Bemerkningene}% + \Crefname{note}{Note}{Notene}% + \Crefname{algorithm}{Algoritme}{Algoritmene}% + \Crefname{listing}{Opplisting}{Opplistingene}% + \Crefname{line}{Linje}{Linjene}% + \if@cref@capitalise% + \crefname{equation}{Likning}{Likningene}% + \crefname{part}{Del}{Delene}% + \crefname{chapter}{Kapittel}{Kapitlene}% + \crefname{section}{Avsnitt}{Avsnittene}% + \crefname{subsection}{Avsnitt}{Avsnittene}% + \crefname{subsubsection}{Avsnitt}{Avsnittene}% + \crefname{appendix}{Tillegg}{Tilleggene}% + \crefname{subappendix}{Tillegg}{Tilleggene}% + \crefname{subsubappendix}{Tillegg}{Tilleggene}% + \crefname{subsubsubappendix}{Tillegg}{Tilleggene}% + \crefname{enumi}{Punkt}{Punktene}% + \crefname{enumii}{Punkt}{Punktene}% + \crefname{enumiii}{Punkt}{Punktene}% + \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}% + \crefname{proposition}{P\aa stand}{P\aa standene}% + \crefname{definition}{Definisjon}{Definisjonene}% + \crefname{result}{Resultat}{Resultatene}% + \crefname{example}{Eksempel}{Eksemplene}% + \crefname{remark}{Bemerkning}{Bemerkningene}% + \crefname{note}{Note}{Notene}% + \crefname{algorithm}{Algoritme}{Algoritmene}% + \crefname{listing}{Opplisting}{Opplistingene}% + \crefname{line}{Linje}{Linjene}% + \else% + \crefname{equation}{likning}{likningene}% + \crefname{part}{del}{delene}% + \crefname{chapter}{kapittel}{kapitlene}% + \crefname{section}{avsnitt}{avsnittene}% + \crefname{subsection}{avsnitt}{avsnittene}% + \crefname{subsubsection}{avsnitt}{avsnittene}% + \crefname{appendix}{tillegg}{tilleggene}% + \crefname{subappendix}{tillegg}{tilleggene}% + \crefname{subsubappendix}{tillegg}{tilleggene}% + \crefname{subsubsubappendix}{tillegg}{tilleggene}% + \crefname{enumi}{punkt}{punktene}% + \crefname{enumii}{punkt}{punktene}% + \crefname{enumiii}{punkt}{punktene}% + \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}% + \crefname{proposition}{p\aa stand}{p\aa standene}% + \crefname{definition}{definisjon}{definisjonene}% + \crefname{result}{resultat}{resultatene}% + \crefname{example}{eksempel}{eksemplene}% + \crefname{remark}{bemerkning}{bemerkningene}% + \crefname{note}{note}{notene}% + \crefname{algorithm}{algoritme}{algoritmene}% + \crefname{listing}{opplisting}{opplistingene}% + \crefname{line}{linje}{linjene}% + \fi% + }}} +% \end{macrocode} +% +% +% \begin{macro}{danish} +% Danish translations courtesy of Benjamin H{\o}yer. +% \end{macro} +% \begin{macrocode} +\DeclareOption{danish}{% + \PackageInfo{cleveref}{loaded danish 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{ til\nobreakspace}% + \def\crefrangepreconjunction@preamble{}% + \def\crefrangepostconjunction@preamble{}% + \def\crefpairconjunction@preamble{ og\nobreakspace}% + \def\crefmiddleconjunction@preamble{, }% + \def\creflastconjunction@preamble{ og\nobreakspace}% +% \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{ og\nobreakspace}% + \def\crefmiddlegroupconjunction@preamble{, }% + \def\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}{Fotnote}{Fotnoter}% + \Crefname@preamble{footnote}{Fodnote}{Fodnoter}% \Crefname@preamble{figure}{Figur}{Figurer}% - \Crefname@preamble{table}{Tabell}{Tabeller}% + \Crefname@preamble{table}{Tabel}{Tabeller}% \Crefname@preamble{theorem}{Teorem}{Teoremer}% \Crefname@preamble{lemma}{Lemma}{Lemma}% - \Crefname@preamble{corollary}{Korollar}{Korollarer}% - \Crefname@preamble{proposition}{P\aa stand}{P\aa stander}% - \Crefname@preamble{definition}{Definisjon}{Definisjoner}% - \Crefname@preamble{result}{Resultat}{Resultat}% + \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}{Bemerkning}{Bemerkninger}% + \Crefname@preamble{remark}{Bem\ae rkning}{Bem\ae rkninger}% \Crefname@preamble{note}{Note}{Noter}% - \Crefname@preamble{algorithm}{Algoritme }{Algoritmer}% + \Crefname@preamble{algorithm}{Algoritme}{Algoritmer}% \Crefname@preamble{line}{Linje}{Linjer}% \if@cref@capitalise% - \crefname@preamble{equation}{Likning}{Likninger}% - \crefname@preamble{part}{Del}{Deler}% - \crefname@preamble{chapter}{Kapittel}{Kapitler}% - \crefname@preamble{section}{Avsnitt}{Avsnitt}% - \crefname@preamble{appendix}{Tillegg}{Tillegg}% + \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}{Fotnote}{Fotnoter}% + \crefname@preamble{footnote}{Fodnote}{Fodnoter}% \crefname@preamble{figure}{Figur}{Figurer}% - \crefname@preamble{table}{Tabell}{Tabeller}% + \crefname@preamble{table}{Tabel}{Tabeller}% \crefname@preamble{theorem}{Teorem}{Teoremer}% \crefname@preamble{lemma}{Lemma}{Lemma}% - \crefname@preamble{corollary}{Korollar}{Korollarer}% - \crefname@preamble{proposition}{P\aa stand}{P\aa stander}% - \crefname@preamble{definition}{Definisjon}{Definisjoner}% + \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}{Bemerkning}{Bemerkninger}% + \crefname@preamble{remark}{Bem\ae rkning}{Bem\ae rkninger}% \crefname@preamble{note}{Note}{Noter}% \crefname@preamble{algorithm}{Algoritme}{Algoritmer}% \crefname@preamble{line}{Linje}{Linjer}% \else% - \crefname@preamble{equation}{likning}{likninger}% - \crefname@preamble{part}{del}{deler}% - \crefname@preamble{chapter}{kapittel}{kapitler}% - \crefname@preamble{section}{avsnitt}{avsnitt}% - \crefname@preamble{appendix}{tillegg}{tillegg}% + \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}{fotnote}{fotnoter}% + \crefname@preamble{footnote}{fodnote}{fodnoter}% \crefname@preamble{figure}{figur}{figurer}% - \crefname@preamble{table}{tabell}{tabeller}% + \crefname@preamble{table}{tabel}{tabeller}% \crefname@preamble{theorem}{teorem}{teoremer}% \crefname@preamble{lemma}{lemma}{lemma}% - \crefname@preamble{corollary}{korollar}{korollarer}% - \crefname@preamble{proposition}{p\aa stand}{p\aa stander}% - \crefname@preamble{definition}{definisjon}{definisjoner}% + \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}{bemerkning}{bemerkninger}% + \crefname@preamble{remark}{bem\ae rkning}{bem\ae rkninger}% \crefname@preamble{note}{note}{noter}% \crefname@preamble{algorithm}{algoritme}{algoritmer}% \crefname@preamble{line}{linje}{linjer}% \fi% - \def\cref@language{norsk}% + \def\cref@language{danish}% % \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\extrasnorsk{% - \renewcommand{\crefrangeconjunction}{ til\nobreakspace}% - \renewcommand\crefrangepreconjunction{}% - \renewcommand\crefrangepostconjunction{}% - \renewcommand{\crefpairconjunction}{ og\nobreakspace}% - \renewcommand{\crefmiddleconjunction}{, }% - \renewcommand{\creflastconjunction}{ og\nobreakspace}% - \renewcommand{\crefpairgroupconjunction}{ og\nobreakspace}% - \renewcommand{\crefmiddlegroupconjunction}{, }% - \renewcommand{\creflastgroupconjunction}{ og\nobreakspace}% - \Crefname{equation}{Likning}{Likninger}% - \Crefname{part}{Del}{Deler}% - \Crefname{chapter}{Kapittel}{Kapitler}% - \Crefname{section}{Avsnitt}{Avsnitt}% - \Crefname{subsection}{Avsnitt}{Avsnitt}% - \Crefname{subsubsection}{Avsnitt}{Avsnitt}% - \Crefname{appendix}{Tillegg}{Tillegg}% - \Crefname{subappendix}{Tillegg}{Tillegg}% - \Crefname{subsubappendix}{Tillegg}{Tillegg}% - \Crefname{subsubsubappendix}{Tillegg}{Tillegg}% - \Crefname{enumi}{Punkt}{Punkter}% - \Crefname{enumii}{Punkt}{Punkter}% - \Crefname{enumiii}{Punkt}{Punkter}% - \Crefname{enumiv}{Punkt}{Punkter}% - \Crefname{enumv}{Punkt}{Punkter}% - \Crefname{footnote}{Fotnote}{Fotnoter}% - \Crefname{figure}{Figur}{Figurer}% - \Crefname{subfigure}{Figur}{Figurer}% - \Crefname{table}{Tabell}{Tabeller}% - \Crefname{subtable}{Tabell}{Tabeller}% - \Crefname{theorem}{Teorem}{Teoremer}% - \Crefname{lemma}{Lemma}{Lemma}% - \Crefname{corollary}{Korollar}{Korollarer}% - \Crefname{proposition}{P\aa stand}{P\aa stander}% - \Crefname{definition}{Definisjon}{Definisjoner}% - \Crefname{result}{Resultat}{Resultater}% - \Crefname{example}{Eksempel}{Eksempler}% - \Crefname{remark}{Bemerkning}{Bemerkninger}% - \Crefname{note}{Note}{Noter}% - \Crefname{algorithm}{Algoritme}{Algoritmer}% - \Crefname{line}{Linje}{Linjer}% - \if@cref@capitalise% - \crefname{equation}{Likning}{Likninger}% - \crefname{part}{Del}{Deler}% - \crefname{chapter}{Kapittel}{Kapitler}% - \crefname{section}{Avsnitt}{Avsnitt}% - \crefname{subsection}{Avsnitt}{Avsnitt}% - \crefname{subsubsection}{Avsnitt}{Avsnitt}% - \crefname{appendix}{Tillegg}{Tillegg}% - \crefname{subappendix}{Tillegg}{Tillegg}% - \crefname{subsubappendix}{Tillegg}{Tillegg}% - \crefname{subsubsubappendix}{Tillegg}{Tillegg}% - \crefname{enumi}{Punkt}{Punkter}% - \crefname{enumii}{Punkt}{Punkter}% - \crefname{enumiii}{Punkt}{Punkter}% - \crefname{enumiv}{Punkt}{Punkter}% - \crefname{enumv}{Punkt}{Punkter}% - \crefname{footnote}{Fotnote}{Fotnoter}% - \crefname{figure}{Figur}{Figurer}% - \crefname{subfigure}{Figur}{Figurer}% - \crefname{table}{Tabell}{Tabeller}% - \crefname{subtable}{Tabell}{Tabeller}% - \crefname{theorem}{Teorem}{Teoremer}% - \crefname{lemma}{Lemma}{Lemma}% - \crefname{corollary}{Korollar}{Korollarer}% - \crefname{proposition}{P\aa stand}{P\aa stand}% - \crefname{definition}{Definisjon}{Definisjoner}% - \crefname{result}{Resultat}{Resultat}% - \crefname{example}{Eksempel}{Eksempler}% - \crefname{remark}{Merknad}{Bemerkninger}% - \crefname{note}{Note}{Noter}% - \crefname{algorithm}{Algoritme}{Algoritmer}% - \crefname{line}{Linje}{Linjer}% - \else% - \crefname{equation}{likning}{likninger}% - \crefname{part}{del}{deler}% - \crefname{chapter}{kapittel}{kapitler}% - \crefname{section}{avsnitt}{avsnitt}% - \crefname{subsection}{avsnitt}{avsnitt}% - \crefname{subsubsection}{avsnitt}{avsnitt}% - \crefname{appendix}{tillegg}{tillegg}% - \crefname{subappendix}{tillegg}{tillegg}% - \crefname{subsubappendix}{tillegg}{tillegg}% - \crefname{subsubsubappendix}{tillegg}{tillegg}% - \crefname{enumi}{punkt}{punkter}% - \crefname{enumii}{punkt}{punkter}% - \crefname{enumiii}{punkt}{punkter}% - \crefname{enumiv}{punkt}{punkter}% - \crefname{enumv}{punkt}{punkter}% - \crefname{footnote}{fotnote}{fotnoter}% - \crefname{figure}{figur}{figurer}% - \crefname{subfigure}{figur}{figurer}% - \crefname{table}{tabell}{tabeller}% - \crefname{subtable}{tabell}{tabell}% - \crefname{theorem}{teorem}{teoremer}% - \crefname{lemma}{lemma}{lemma}% - \crefname{corollary}{korollar}{korollarer}% - \crefname{proposition}{p\aa stand}{p\aa stand}% - \crefname{definition}{definisjon}{definisjoner}% - \crefname{result}{resultat}{resultater}% - \crefname{example}{eksempel}{eksempler}% - \crefname{remark}{bemerkning}{bemerkninger}% - \crefname{note}{note}{noter}% - \crefname{algorithm}{algoritme}{algoritmer}% - \crefname{line}{linje}{linjer}% + \cref@addto\extrasdanish{% + \renewcommand{\crefrangeconjunction@preamble}{ til\nobreakspace}% + \renewcommand\crefrangepreconjunction@preamble{}% + \renewcommand\crefrangepostconjunction@preamble{}% + \renewcommand{\crefpairconjunction@preamble}{ og\nobreakspace}% + \renewcommand{\crefmiddleconjunction@preamble}{, }% + \renewcommand{\creflastconjunction@preamble}{ og\nobreakspace}% + \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}% + \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}% + \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}% \fi% }}} % \end{macrocode} @@ -8877,37 +9160,37 @@ % the document to set up the default cross-reference names, unless % overridden by explicit definitions. % \begin{macrocode} - \edef\@tmpa{% + \edef\@tempa{% \expandafter\noexpand\csname extras\cref@language\endcsname}% \@ifundefined{crefrangeconjunction}{% \let\crefrangeconjunction\crefrangeconjunction@preamble% }{% - \expandafter\def\expandafter\@tmpb\expandafter{% + \expandafter\def\expandafter\@tempb\expandafter{% \expandafter\renewcommand\expandafter% {\expandafter\crefrangeconjunction\expandafter}% \expandafter{\crefrangeconjunction}}% \expandafter\expandafter\expandafter\cref@addto% - \expandafter\@tmpa\expandafter{\@tmpb}% + \expandafter\@tempa\expandafter{\@tempb}% }% \@ifundefined{crefrangepreconjunction}{% \let\crefrangepreconjunction\crefrangepreconjunction@preamble% }{% - \expandafter\def\expandafter\@tmpb\expandafter{% + \expandafter\def\expandafter\@tempb\expandafter{% \expandafter\renewcommand\expandafter% {\expandafter\crefrangepreconjunction\expandafter}% \expandafter{\crefrangepreconjunction}}% \expandafter\expandafter\expandafter\cref@addto% - \expandafter\@tmpa\expandafter{\@tmpb}% + \expandafter\@tempa\expandafter{\@tempb}% }% \@ifundefined{crefrangepostconjunction}{% \let\crefrangepostconjunction\crefrangepostconjunction@preamble% }{% - \expandafter\def\expandafter\@tmpb\expandafter{% + \expandafter\def\expandafter\@tempb\expandafter{% \expandafter\renewcommand\expandafter% {\expandafter\crefrangepostconjunction\expandafter}% \expandafter{\crefrangepostconjunction}}% \expandafter\expandafter\expandafter\cref@addto% - \expandafter\@tmpa\expandafter{\@tmpb}% + \expandafter\@tempa\expandafter{\@tempb}% }% % \end{macrocode} % If the group conjunctions haven't been defined, but explicit @@ -8918,36 +9201,36 @@ \@ifundefined{crefpairconjunction}{% \let\crefpairconjunction\crefpairconjunction@preamble% }{% - \expandafter\def\expandafter\@tmpb\expandafter{% + \expandafter\def\expandafter\@tempb\expandafter{% \expandafter\renewcommand\expandafter% {\expandafter\crefpairconjunction\expandafter}% \expandafter{\crefpairconjunction}}% \expandafter\expandafter\expandafter\cref@addto% - \expandafter\@tmpa\expandafter{\@tmpb}% + \expandafter\@tempa\expandafter{\@tempb}% \@ifundefined{crefpairgroupconjunction}{% \let\crefpairgroupconjunction\crefpairconjunction}{}% }% \@ifundefined{crefmiddleconjunction}{% \let\crefmiddleconjunction\crefmiddleconjunction@preamble% }{% - \expandafter\def\expandafter\@tmpb\expandafter{% + \expandafter\def\expandafter\@tempb\expandafter{% \expandafter\renewcommand\expandafter% {\expandafter\crefmiddleconjunction\expandafter}% \expandafter{\crefmiddleconjunction}}% \expandafter\expandafter\expandafter\cref@addto% - \expandafter\@tmpa\expandafter{\@tmpb}% + \expandafter\@tempa\expandafter{\@tempb}% \@ifundefined{crefmiddlegroupconjunction}{% \let\crefmiddlegroupconjunction\crefmiddleconjunction}{}% }% \@ifundefined{creflastconjunction}{% \let\creflastconjunction\creflastconjunction@preamble% }{% - \expandafter\def\expandafter\@tmpb\expandafter{% + \expandafter\def\expandafter\@tempb\expandafter{% \expandafter\renewcommand\expandafter% {\expandafter\creflastconjunction\expandafter}% \expandafter{\creflastconjunction}}% \expandafter\expandafter\expandafter\cref@addto% - \expandafter\@tmpa\expandafter{\@tmpb}% + \expandafter\@tempa\expandafter{\@tempb}% % \end{macrocode} % Define the last group conjunction to include an extra comma. % \begin{macrocode} @@ -8958,101 +9241,101 @@ \let\crefpairgroupconjunction% \crefpairgroupconjunction@preamble% }{% - \expandafter\def\expandafter\@tmpb\expandafter{% + \expandafter\def\expandafter\@tempb\expandafter{% \expandafter\renewcommand\expandafter% {\expandafter\crefpairgroupconjunction\expandafter}% \expandafter{\crefpairgroupconjunction}}% \expandafter\expandafter\expandafter\cref@addto% - \expandafter\@tmpa\expandafter{\@tmpb}% + \expandafter\@tempa\expandafter{\@tempb}% }% \@ifundefined{crefmiddlegroupconjunction}{% \let\crefmiddlegroupconjunction% \crefmiddlegroupconjunction@preamble% }{% - \expandafter\def\expandafter\@tmpb\expandafter{% + \expandafter\def\expandafter\@tempb\expandafter{% \expandafter\renewcommand\expandafter% {\expandafter\crefmiddlegroupconjunction\expandafter}% \expandafter{\crefmiddlegroupconjunction}}% \expandafter\expandafter\expandafter\cref@addto% - \expandafter\@tmpa\expandafter{\@tmpb}% + \expandafter\@tempa\expandafter{\@tempb}% }% \@ifundefined{creflastgroupconjunction}{% \let\creflastgroupconjunction% \creflastgroupconjunction@preamble% }{% - \expandafter\def\expandafter\@tmpb\expandafter{% + \expandafter\def\expandafter\@tempb\expandafter{% \expandafter\renewcommand\expandafter% {\expandafter\creflastgroupconjunction\expandafter}% \expandafter{\creflastgroupconjunction}}% \expandafter\expandafter\expandafter\cref@addto% - \expandafter\@tmpa\expandafter{\@tmpb}% + \expandafter\@tempa\expandafter{\@tempb}% }% % \end{macrocode} % % Define any undefined formats listed in \cmd{\cref@label@types} using % the components. % \begin{macrocode} - \let\@tmpstack\cref@label@types% - \cref@isstackfull{\@tmpstack}% + \let\@tempstack\cref@label@types% + \cref@isstackfull{\@tempstack}% \@whilesw\if@cref@stackfull\fi{% - \edef\@tmpa{\cref@stack@top{\@tmpstack}}% - \@ifundefined{cref@\@tmpa @name}{% - \expandafter\def\expandafter\@tmpb\expandafter{% - \csname cref@\@tmpa @name\endcsname}% - \expandafter\def\expandafter\@tmpc\expandafter{% - \csname cref@\@tmpa @name@preamble\endcsname}% - \expandafter\expandafter\expandafter\let\expandafter\@tmpb\@tmpc% - \expandafter\def\expandafter\@tmpb\expandafter{% - \csname cref@\@tmpa @name@plural\endcsname}% - \expandafter\def\expandafter\@tmpc\expandafter{% - \csname cref@\@tmpa @name@plural@preamble\endcsname}% - \expandafter\expandafter\expandafter\let\expandafter\@tmpb\@tmpc% + \edef\@tempa{\cref@stack@top{\@tempstack}}% + \@ifundefined{cref@\@tempa @name}{% + \expandafter\def\expandafter\@tempb\expandafter{% + \csname cref@\@tempa @name\endcsname}% + \expandafter\def\expandafter\@tempc\expandafter{% + \csname cref@\@tempa @name@preamble\endcsname}% + \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% }{% - \edef\@tmpb{% + \edef\@tempb{% \expandafter\noexpand\csname extras\cref@language\endcsname}% - \expandafter\def\expandafter\@tmpc\expandafter{% - \expandafter\crefname\expandafter{\@tmpa}}% + \expandafter\def\expandafter\@tempc\expandafter{% + \expandafter\crefname\expandafter{\@tempa}}% \expandafter\expandafter\expandafter\cref@addto% - \expandafter\expandafter\expandafter\@tmpc% + \expandafter\expandafter\expandafter\@tempc% \expandafter\expandafter\expandafter{% \expandafter\expandafter\expandafter{% - \csname cref@\@tmpa @name\endcsname}}% + \csname cref@\@tempa @name\endcsname}}% \expandafter\expandafter\expandafter\cref@addto% - \expandafter\expandafter\expandafter\@tmpc% + \expandafter\expandafter\expandafter\@tempc% \expandafter\expandafter\expandafter{% \expandafter\expandafter\expandafter{% - \csname cref@\@tmpa @name@plural\endcsname}}% + \csname cref@\@tempa @name@plural\endcsname}}% \expandafter\expandafter\expandafter\cref@addto% - \expandafter\@tmpb\expandafter{\@tmpc}% + \expandafter\@tempb\expandafter{\@tempc}% }% - \@ifundefined{Cref@\@tmpa @name}{% - \expandafter\def\expandafter\@tmpb\expandafter{% - \csname Cref@\@tmpa @name\endcsname}% - \expandafter\def\expandafter\@tmpc\expandafter{% - \csname Cref@\@tmpa @name@preamble\endcsname}% - \expandafter\expandafter\expandafter\let\expandafter\@tmpb\@tmpc% - \expandafter\def\expandafter\@tmpb\expandafter{% - \csname Cref@\@tmpa @name@plural\endcsname}% - \expandafter\def\expandafter\@tmpc\expandafter{% - \csname Cref@\@tmpa @name@plural@preamble\endcsname}% - \expandafter\expandafter\expandafter\let\expandafter\@tmpb\@tmpc% + \@ifundefined{Cref@\@tempa @name}{% + \expandafter\def\expandafter\@tempb\expandafter{% + \csname Cref@\@tempa @name\endcsname}% + \expandafter\def\expandafter\@tempc\expandafter{% + \csname Cref@\@tempa @name@preamble\endcsname}% + \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% }{% - \edef\@tmpb{% + \edef\@tempb{% \expandafter\noexpand\csname extras\cref@language\endcsname}% - \expandafter\def\expandafter\@tmpc\expandafter{% - \expandafter\Crefname\expandafter{\@tmpa}}% + \expandafter\def\expandafter\@tempc\expandafter{% + \expandafter\Crefname\expandafter{\@tempa}}% \expandafter\expandafter\expandafter\cref@addto% - \expandafter\expandafter\expandafter\@tmpc% + \expandafter\expandafter\expandafter\@tempc% \expandafter\expandafter\expandafter{% \expandafter\expandafter\expandafter{% - \csname Cref@\@tmpa @name\endcsname}}% + \csname Cref@\@tempa @name\endcsname}}% \expandafter\expandafter\expandafter\cref@addto% - \expandafter\expandafter\expandafter\@tmpc% + \expandafter\expandafter\expandafter\@tempc% \expandafter\expandafter\expandafter{% \expandafter\expandafter\expandafter{% - \csname Cref@\@tmpa @name@plural\endcsname}}% + \csname Cref@\@tempa @name@plural\endcsname}}% \expandafter\expandafter\expandafter\cref@addto% - \expandafter\@tmpb\expandafter{\@tmpc}% + \expandafter\@tempb\expandafter{\@tempc}% }% % \end{macrocode} % We only define the reference-range and multi-reference formats if the @@ -9067,21 +9350,21 @@ % \cmd{\cref\meta{type}@name} is defined), though currently this should % always be the case. % \begin{macrocode} - \@ifundefined{cref@\@tmpa @format}{% - \@ifundefined{cref@\@tmpa @name}{}{% - \expandafter\@crefdefineformat\expandafter{\@tmpa}}}{}% - \@ifundefined{crefrange@\@tmpa @format}{% - \@ifundefined{cref@\@tmpa @name@plural}{}{% - \expandafter\@crefrangedefineformat\expandafter{\@tmpa}}}{}% - \@ifundefined{cref@\@tmpa @format@first}{% - \@ifundefined{cref@\@tmpa @name@plural}{}{% - \expandafter\@crefdefinemultiformat\expandafter{\@tmpa}}}{}% - \@ifundefined{crefrange@\@tmpa @format@first}{% - \@ifundefined{cref@\@tmpa @name@plural}{}{% + \@ifundefined{cref@\@tempa @format}{% + \@ifundefined{cref@\@tempa @name}{}{% + \expandafter\@crefdefineformat\expandafter{\@tempa}}}{}% + \@ifundefined{crefrange@\@tempa @format}{% + \@ifundefined{cref@\@tempa @name@plural}{}{% + \expandafter\@crefrangedefineformat\expandafter{\@tempa}}}{}% + \@ifundefined{cref@\@tempa @format@first}{% + \@ifundefined{cref@\@tempa @name@plural}{}{% + \expandafter\@crefdefinemultiformat\expandafter{\@tempa}}}{}% + \@ifundefined{crefrange@\@tempa @format@first}{% + \@ifundefined{cref@\@tempa @name@plural}{}{% \expandafter\@crefrangedefinemultiformat% - \expandafter{\@tmpa}}}{}% - \cref@stack@pop{\@tmpstack}% - \cref@isstackfull{\@tmpstack}}% + \expandafter{\@tempa}}}{}% + \cref@stack@pop{\@tempstack}% + \cref@isstackfull{\@tempstack}}% % \end{macrocode} % % If formats for subsections are undefined, define them to be identical diff --git a/Master/texmf-dist/tex/latex/cleveref/cleveref.sty b/Master/texmf-dist/tex/latex/cleveref/cleveref.sty index 990c9e2c949..93fb02c7464 100644 --- a/Master/texmf-dist/tex/latex/cleveref/cleveref.sty +++ b/Master/texmf-dist/tex/latex/cleveref/cleveref.sty @@ -22,7 +22,7 @@ %% version 1999/12/01 or later. \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesPackage{cleveref} - [2011/01/19 v0.17.8 Intelligent cross-referencing] + [2011/03/22 v0.17.9 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 @@ -45,30 +45,30 @@ } \def\refstepcounter@noarg#1{% \cref@old@refstepcounter{#1}% - \cref@constructprefix{#1}{\@result}% + \cref@constructprefix{#1}{\cref@result}% \@ifundefined{cref@#1@alias}% - {\def\@tmpa{#1}}% - {\def\@tmpa{\csname cref@#1@alias\endcsname}}% + {\def\@tempa{#1}}% + {\def\@tempa{\csname cref@#1@alias\endcsname}}% \protected@xdef\cref@currentlabel{% - [\@tmpa][\arabic{#1}][\@result]% + [\@tempa][\arabic{#1}][\cref@result]% \csname p@#1\endcsname\csname the#1\endcsname}} \def\refstepcounter@optarg[#1]#2{% \cref@old@refstepcounter{#2}% - \cref@constructprefix{#2}{\@result}% + \cref@constructprefix{#2}{\cref@result}% \protected@xdef\cref@currentlabel{% - [#1][\arabic{#2}][\@result]% + [#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}{\@result}% + \cref@constructprefix{footnote}{\cref@result}% \protected@xdef\cref@currentlabel{% - [footnote][\arabic{footnote}][\@result]\p@footnote\@thefnmark}% + [footnote][\arabic{footnote}][\cref@result]\p@footnote\@thefnmark}% \cref@old@footnotetext} \def\@mpfootnotetext#1{% - \cref@constructprefix{mpfootnote}{\@result}% + \cref@constructprefix{mpfootnote}{\cref@result}% \protected@xdef\cref@currentlabel{% - [footnote][\arabic{mpfootnote}][\@result]\p@footnote\@thefnmark}% + [footnote][\arabic{mpfootnote}][\cref@result]\p@footnote\@thefnmark}% \cref@old@mpfootnotetext{#1}} \AtBeginDocument{% \let\cref@old@label\label @@ -389,9 +389,9 @@ \endgroup} \let\cref@old@subequations\subequations% \let\cref@old@endsubequations\endsubequations% - \cref@resetby{equation}{\@result}% - \ifx\@result\relax\else% - \@addtoreset{parentequation}{\@result}% + \cref@resetby{equation}{\cref@result}% + \ifx\cref@result\relax\else% + \@addtoreset{parentequation}{\cref@result}% \fi% \renewenvironment{subequations}{% \@addtoreset{equation}{parentequation}% @@ -402,11 +402,12 @@ \setcounter{parentequation}{0}% }% \def\make@df@tag@@#1{% - \gdef\df@tag{\maketag@@@{#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 @@ -416,38 +417,38 @@ \@ifundefined{chapter}{% \gdef\refstepcounter@noarg##1{% \cref@old@refstepcounter{##1}% - \cref@constructprefix{##1}{\@result}% - \ifx\@result\@empty% - \def\@result{2147483647}% + \cref@constructprefix{##1}{\cref@result}% + \ifx\cref@result\@empty% + \def\cref@result{2147483647}% \else% - \edef\@result{2147483647,\@result}% + \edef\cref@result{2147483647,\cref@result}% \fi% - \def\@tmpa{##1}% - \def\@tmpb{section}% - \ifx\@tmpa\@tmpb% + \def\@tempa{##1}% + \def\@tempb{section}% + \ifx\@tempa\@tempb% \protected@xdef\cref@currentlabel{% - [appendix][\arabic{##1}][\@result]% + [appendix][\arabic{##1}][\cref@result]% \csname p@##1\endcsname\csname the##1\endcsname}% \else% - \def\@tmpa{##1}% - \def\@tmpb{subsection}% - \ifx\@tmpa\@tmpb% + \def\@tempa{##1}% + \def\@tempb{subsection}% + \ifx\@tempa\@tempb% \protected@xdef\cref@currentlabel{% - [subappendix][\arabic{##1}][\@result]% + [subappendix][\arabic{##1}][\cref@result]% \csname p@##1\endcsname\csname the##1\endcsname}% \else% - \def\@tmpa{##1}% - \def\@tmpb{subsubsection}% - \ifx\@tmpa\@tmpb% + \def\@tempa{##1}% + \def\@tempb{subsubsection}% + \ifx\@tempa\@tempb% \protected@xdef\cref@currentlabel{% - [subsubappendix][\arabic{##1}][\@result]% + [subsubappendix][\arabic{##1}][\cref@result]% \csname p@##1\endcsname\csname the##1\endcsname}% \else% \@ifundefined{cref@##1@alias}% - {\def\@tmpa{##1}}% - {\def\@tmpa{\csname cref@##1@alias\endcsname}}% + {\def\@tempa{##1}}% + {\def\@tempa{\csname cref@##1@alias\endcsname}}% \protected@xdef\cref@currentlabel{% - [\@tmpa][\arabic{##1}][\@result]% + [\@tempa][\arabic{##1}][\cref@result]% \csname p@##1\endcsname\csname the##1\endcsname} \fi% \fi% @@ -455,45 +456,45 @@ }{% \def\refstepcounter@noarg##1{% \cref@old@refstepcounter{##1}% - \cref@constructprefix{##1}{\@result}% - \ifx\@result\@empty% - \def\@result{2147483647}% + \cref@constructprefix{##1}{\cref@result}% + \ifx\cref@result\@empty% + \def\cref@result{2147483647}% \else% - \edef\@result{2147483647,\@result}% + \edef\cref@result{2147483647,\cref@result}% \fi% - \def\@tmpa{##1}% - \def\@tmpb{chapter}% - \ifx\@tmpa\@tmpb% + \def\@tempa{##1}% + \def\@tempb{chapter}% + \ifx\@tempa\@tempb% \protected@xdef\cref@currentlabel{% - [appendix][\arabic{##1}][\@result]% + [appendix][\arabic{##1}][\cref@result]% \csname p@##1\endcsname\csname the##1\endcsname}% \else% - \def\@tmpa{##1}% - \def\@tmpb{section}% - \ifx\@tmpa\@tmpb% + \def\@tempa{##1}% + \def\@tempb{section}% + \ifx\@tempa\@tempb% \protected@xdef\cref@currentlabel{% - [subappendix][\arabic{##1}][\@result]% + [subappendix][\arabic{##1}][\cref@result]% \csname p@##1\endcsname\csname the##1\endcsname}% \else% - \def\@tmpa{##1}% - \def\@tmpb{subsection}% - \ifx\@tmpa\@tmpb% + \def\@tempa{##1}% + \def\@tempb{subsection}% + \ifx\@tempa\@tempb% \protected@xdef\cref@currentlabel{% - [subsubappendix][\arabic{##1}][\@result]% + [subsubappendix][\arabic{##1}][\cref@result]% \csname p@##1\endcsname\csname the##1\endcsname}% \else% - \def\@tmpa{##1}% - \def\@tmpb{subsubsection}% - \ifx\@tmpa\@tmpb% + \def\@tempa{##1}% + \def\@tempb{subsubsection}% + \ifx\@tempa\@tempb% \protected@xdef\cref@currentlabel{% - [subsubsubappendix][\arabic{##1}][\@result]% + [subsubsubappendix][\arabic{##1}][\cref@result]% \csname p@##1\endcsname\csname the##1\endcsname}% \else% \@ifundefined{cref@##1@alias}% - {\def\@tmpa{##1}}% - {\def\@tmpa{\csname cref@##1@alias\endcsname}}% + {\def\@tempa{##1}}% + {\def\@tempa{\csname cref@##1@alias\endcsname}}% \protected@xdef\cref@currentlabel{% - [\@tmpa][\arabic{##1}][\@result]% + [\@tempa][\arabic{##1}][\cref@result]% \csname p@##1\endcsname\csname the##1\endcsname} \fi% \fi% @@ -505,62 +506,62 @@ \def\@gobble@orig#1{} \def\@@gobble@optarg[#1]#2{} \def\cref@getlabel#1#2{% - \expandafter\let\expandafter\@tmpa\csname r@cref@#1\endcsname% + \expandafter\let\expandafter\@tempa\csname r@cref@#1\endcsname% \expandafter\expandafter\expandafter\def% - \expandafter\expandafter\expandafter\@tmpa% + \expandafter\expandafter\expandafter\@tempa% \expandafter\expandafter\expandafter{% - \expandafter\@firstoftwo\@tmpa}% - \expandafter\@cref@getlabel\@tmpa\@nil#2}% + \expandafter\@firstoftwo\@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\@tmpa\csname r@cref@#1\endcsname% + \expandafter\let\expandafter\@tempa\csname r@cref@#1\endcsname% \expandafter\expandafter\expandafter\def% - \expandafter\expandafter\expandafter\@tmpa% + \expandafter\expandafter\expandafter\@tempa% \expandafter\expandafter\expandafter{% - \expandafter\@firstoftwo\@tmpa}% - \expandafter\@cref@gettype\@tmpa\@nil#2}% + \expandafter\@firstoftwo\@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\@tmpa\csname r@cref@#1\endcsname% + \expandafter\let\expandafter\@tempa\csname r@cref@#1\endcsname% \expandafter\expandafter\expandafter\def% - \expandafter\expandafter\expandafter\@tmpa% + \expandafter\expandafter\expandafter\@tempa% \expandafter\expandafter\expandafter{% - \expandafter\@firstoftwo\@tmpa}% - \expandafter\@cref@getcounter\@tmpa\@nil#2} + \expandafter\@firstoftwo\@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\@tmpa\csname r@cref@#1\endcsname% + \expandafter\let\expandafter\@tempa\csname r@cref@#1\endcsname% \expandafter\expandafter\expandafter\def% - \expandafter\expandafter\expandafter\@tmpa% + \expandafter\expandafter\expandafter\@tempa% \expandafter\expandafter\expandafter{% - \expandafter\@firstoftwo\@tmpa}% - \expandafter\@cref@getprefix\@tmpa\@nil#2} + \expandafter\@firstoftwo\@tempa}% + \expandafter\@cref@getprefix\@tempa\@nil#2} \def\@cref@getprefix{\@ifnextchar[%] \@@cref@getprefix{\@@cref@getprefix[][][]}} \def\@@cref@getprefix[#1][#2][#3]#4\@nil#5{\def#5{#3}} \def\cref@override@label@type[#1][#2][#3]#4\@nil#5{[#5][#2][#3]#4} \def\cref@constructprefix#1#2{% - \cref@stack@init{\@tmpstack}% - \edef\@tmpa{\noexpand{#1\noexpand}}% - \expandafter\def\expandafter\@tmpa\expandafter{\@tmpa{#2}}% - \expandafter\@cref@constructprefix\@tmpa% - \cref@stack@to@list{\@tmpstack}{\@tmpa}% - \expandafter\def\expandafter#2\expandafter{\@tmpa}} + \cref@stack@init{\@tempstack}% + \edef\@tempa{\noexpand{#1\noexpand}}% + \expandafter\def\expandafter\@tempa\expandafter{\@tempa{#2}}% + \expandafter\@cref@constructprefix\@tempa% + \cref@stack@to@list{\@tempstack}{\@tempa}% + \expandafter\def\expandafter#2\expandafter{\@tempa}} \def\@cref@constructprefix#1#2{% \cref@resetby{#1}{#2}% \ifx#2\relax% \else% - \edef\@tmpa{\the\csname c@#2\endcsname}% - \expandafter\cref@stack@push\expandafter{\@tmpa}{\@tmpstack}% - \edef\@tmpa{{#2}}% + \edef\@tempa{\the\csname c@#2\endcsname}% + \expandafter\cref@stack@push\expandafter{\@tempa}{\@tempstack}% + \edef\@tempa{{#2}}% \expandafter\expandafter\expandafter\@cref@constructprefix% - \expandafter\@tmpa\expandafter{\expandafter#2\expandafter}% + \expandafter\@tempa\expandafter{\expandafter#2\expandafter}% \fi} \def\cref@append@toks#1#2{\toks0={#2}% \edef\act{\noexpand#1={\the#1\the\toks0}}% @@ -602,31 +603,31 @@ \def\cref@stack@add#1#2{% \begingroup% \def\@arg1{#1}% - \let\@tmpstack#2% + \let\@tempstack#2% \newif\if@notthere% \@nottheretrue% - \cref@isstackfull{\@tmpstack}% + \cref@isstackfull{\@tempstack}% \@whilesw\if@cref@stackfull\fi{% - \edef\@tmpb{\cref@stack@top{\@tmpstack}}% - \def\@tmpa{#1}% - \ifx\@tmpa\@tmpb% + \edef\@tempb{\cref@stack@top{\@tempstack}}% + \def\@tempa{#1}% + \ifx\@tempa\@tempb% \@cref@stackfullfalse% \@nottherefalse% \else% - \cref@stack@pop{\@tmpstack}% - \cref@isstackfull{\@tmpstack}% + \cref@stack@pop{\@tempstack}% + \cref@isstackfull{\@tempstack}% \fi}% \expandafter\endgroup% \if@notthere\cref@stack@push{#1}{#2}\fi} \newif\if@cref@stackempty \newif\if@cref@stackfull \def\cref@isstackempty#1{% - \def\@tmpa{\@nil}% - \ifx#1\@tmpa\@cref@stackemptytrue% + \def\@tempa{\@nil}% + \ifx#1\@tempa\@cref@stackemptytrue% \else\@cref@stackemptyfalse\fi} \def\cref@isstackfull#1{% - \def\@tmpa{\@nil}% - \ifx#1\@tmpa\@cref@stackfullfalse% + \def\@tempa{\@nil}% + \ifx#1\@tempa\@cref@stackfullfalse% \else\@cref@stackfulltrue\fi} \def\cref@stack@sort#1#2{% \begingroup% @@ -636,15 +637,15 @@ \cref@stack@pop{#1}% \cref@isstackfull{#1}% \if@cref@stackfull% - \edef\@tmpa{\cref@stack@top{#1}}% - \@whilesw\ifx\@tmpa\@empty\fi{% + \edef\@tempa{\cref@stack@top{#1}}% + \@whilesw\ifx\@tempa\@empty\fi{% \cref@stack@pull{}{\@sortstack}% \cref@stack@pop{#1}% \cref@isstackempty{#1}% \if@cref@stackempty% - \let\@tmpa\relax% + \let\@tempa\relax% \else% - \edef\@tmpa{\cref@stack@top{#1}}% + \edef\@tempa{\cref@stack@top{#1}}% \fi}% \fi% \cref@isstackfull{#1}% @@ -654,21 +655,21 @@ \def\@empties{}% \cref@isstackfull{#1}% \if@cref@stackfull% - \edef\@tmpa{\cref@stack@top{#1}}% - \@whilesw\ifx\@tmpa\@empty\fi{% + \edef\@tempa{\cref@stack@top{#1}}% + \@whilesw\ifx\@tempa\@empty\fi{% \edef\@empties{\@empties,}% \cref@stack@pop{#1}% \cref@isstackempty{#1}% \if@cref@stackempty% - \let\@tmpa\relax% + \let\@tempa\relax% \else% - \edef\@tmpa{\cref@stack@top{#1}}% + \edef\@tempa{\cref@stack@top{#1}}% \fi}% \fi% - \edef\@tmpa{{\expandafter\noexpand\@element}% + \edef\@tempa{{\expandafter\noexpand\@element}% {\expandafter\noexpand\@empties}% {\noexpand\@sortstack}{\noexpand#2}}% - \expandafter\cref@stack@insert\@tmpa% + \expandafter\cref@stack@insert\@tempa% \cref@isstackfull{#1}}% \expandafter\endgroup\expandafter% \def\expandafter#1\expandafter{\@sortstack}} @@ -682,16 +683,16 @@ \if@cref@stackempty% \cref@stack@push{#1,#2#3}{#4}% \else% - \edef\@tmpa{\cref@stack@top{#4}}% - \expandafter\@cmp\expandafter{\@tmpa}{#2}{\@result}% - \ifnum\@result=2\relax% + \edef\@tempa{\cref@stack@top{#4}}% + \expandafter\@cmp\expandafter{\@tempa}{#2}{\cref@result}% + \ifnum\cref@result=2\relax% \cref@stack@push{#1,#2#3}{#4}% \else% \cref@stack@pop{#4}% - \edef\@tmpa{{\noexpand#1,\@tmpa}{\noexpand#2}% + \edef\@tempa{{\noexpand#1,\@tempa}{\noexpand#2}% {\noexpand#3}{\noexpand#4}}% \expandafter\def\expandafter\@iterate\expandafter% - {\expandafter\@cref@stack@insert\@tmpa}% + {\expandafter\@cref@stack@insert\@tempa}% \fi% \fi% \@iterate} @@ -699,19 +700,19 @@ \def\cref@counter@rest#1#2\@nil{#2} \def\cref@countercmp#1#2#3{% \begingroup% - \def\@tmpa{#1}% - \ifx\@tmpa\@empty% - \def\@result{1}% + \def\@tempa{#1}% + \ifx\@tempa\@empty% + \def\cref@result{1}% \else% - \def\@tmpa{#2}% - \ifx\@tmpa\@empty% - \def\@result{2}% + \def\@tempa{#2}% + \ifx\@tempa\@empty% + \def\cref@result{2}% \else% \expandafter\ifx\csname r@cref@#1\endcsname\relax% - \def\@result{2}% + \def\cref@result{2}% \else% \expandafter\ifx\csname r@cref@#2\endcsname\relax% - \def\@result{1}% + \def\cref@result{1}% \else% \cref@getcounter{#1}{\@countera}% \cref@getprefix{#1}{\@prefixa}% @@ -737,31 +738,31 @@ \fi% \fi% \expandafter\endgroup\expandafter% - \chardef\expandafter#3\expandafter=\@result\relax} + \chardef\expandafter#3\expandafter=\cref@result\relax} \def\@cref@countercmp{% \let\@iterate\relax% \cref@isstackempty{\@countstacka}% \if@cref@stackempty% \cref@isstackempty{\@countstackb}% \if@cref@stackempty% - \def\@result{0}% + \def\cref@result{0}% \else% - \def\@result{1}% + \def\cref@result{1}% \fi% \else% \cref@isstackempty{\@countstackb}% \if@cref@stackempty% - \def\@result{2}% + \def\cref@result{2}% \else% - \edef\@tmpa{\cref@stack@top{\@countstacka}}% + \edef\@tempa{\cref@stack@top{\@countstacka}}% \cref@stack@pop{\@countstacka}% - \edef\@tmpb{\cref@stack@top{\@countstackb}}% + \edef\@tempb{\cref@stack@top{\@countstackb}}% \cref@stack@pop{\@countstackb}% - \ifnum\@tmpa<\@tmpb\relax% - \def\@result{1}% + \ifnum\@tempa<\@tempb\relax% + \def\cref@result{1}% \else% - \ifnum\@tmpa>\@tmpb\relax% - \def\@result{2}% + \ifnum\@tempa>\@tempb\relax% + \def\cref@result{2}% \else% \def\@iterate{\@cref@countercmp}% \fi% @@ -800,26 +801,26 @@ \@next} \def\cref@resetby#1#2{% \let#2\relax% - \def\@tmpa{#1}% - \def\@tmpb{subfigure}% - \ifx\@tmpa\@tmpb% + \def\@tempa{#1}% + \def\@tempb{subfigure}% + \ifx\@tempa\@tempb% \cref@isinresetlist{#1}{figure}% \if@cref@inresetlist% \def#2{figure}% \fi% \fi% - \def\@tmpa{#1}% - \def\@tmpb{subtable}% - \ifx\@tmpa\@tmpb% + \def\@tempa{#1}% + \def\@tempb{subtable}% + \ifx\@tempa\@tempb% \cref@isinresetlist{#1}{table}% \if@cref@inresetlist% \def#2{table}% \fi% \fi% \@ifundefined{cl@parentequation}{}{% - \def\@tmpa{#1}% - \def\@tmpb{equation}% - \ifx\@tmpa\@tmpb% + \def\@tempa{#1}% + \def\@tempb{equation}% + \ifx\@tempa\@tempb% \cref@isinresetlist{#1}{parentequation}% \if@cref@inresetlist% \expandafter\ifnum\c@parentequation=0\else% @@ -827,25 +828,25 @@ \fi% \fi% \fi}% - \def\@tmpa{#1}% - \def\@tmpb{enumii}% - \ifx\@tmpa\@tmpb% + \def\@tempa{#1}% + \def\@tempb{enumii}% + \ifx\@tempa\@tempb% \def#2{enum}% \fi% - \def\@tmpb{enumiii}% - \ifx\@tmpa\@tmpb% + \def\@tempb{enumiii}% + \ifx\@tempa\@tempb% \def#2{enum}% \fi% - \def\@tmpb{enumiv}% - \ifx\@tmpa\@tmpb% + \def\@tempb{enumiv}% + \ifx\@tempa\@tempb% \def#2{enum}% \fi% - \def\@tmpb{enumv}% - \ifx\@tmpa\@tmpb% + \def\@tempb{enumv}% + \ifx\@tempa\@tempb% \def#2{enum}% \fi% - \def\@tmpb{enum}% - \ifx#2\@tmpb% + \def\@tempb{enum}% + \ifx#2\@tempb% \cref@isinresetlist{#1}{enumiv}% \if@cref@inresetlist% \def#2{enumiv}% @@ -911,10 +912,10 @@ \begingroup% \countdef\refa@counter=0% \countdef\refb@counter=1% - \cref@getcounter{#1}{\@result}% - \refa@counter=\@result% - \cref@getcounter{#2}{\@result}% - \refb@counter=\@result% + \cref@getcounter{#1}{\cref@result}% + \refa@counter=\cref@result% + \cref@getcounter{#2}{\cref@result}% + \refb@counter=\cref@result% \cref@getprefix{#1}{\refa@prefix}% \cref@getprefix{#2}{\refb@prefix}% \def\@after{\@cref@refconsecutivefalse}% @@ -963,8 +964,8 @@ \else% \expandafter\cref@gettype\expandafter% {\@nextref}{\@nexttype}% - \def\@tmpa{\@undefined}% - \ifx\@nexttype\@tmpa% + \def\@tempa{\@undefined}% + \ifx\@nexttype\@tempa% \def\@nextformat{\@undefined}% \else% \expandafter\expandafter\expandafter\def% @@ -978,7 +979,7 @@ \fi}% } \def\cref@processgroupall#1#2{% - \cref@stack@init{\@tmpstack}% + \cref@stack@init{\@tempstack}% \edef\@nextref{\cref@stack@top{#1}}% \expandafter\ifx\csname r@cref@\@nextref\endcsname\relax% \def\@grouptype{\@undefined}% @@ -1011,8 +1012,8 @@ \else% \expandafter\cref@gettype\expandafter% {\@nextref}{\@nexttype}% - \def\@tmpa{\@undefined}% - \ifx\@nexttype\@tmpa% + \def\@tempa{\@undefined}% + \ifx\@nexttype\@tempa% \def\@nextformat{\@undefined}% \else% \expandafter\expandafter\expandafter\def% @@ -1026,13 +1027,13 @@ \ifx\@nextformat\@groupformat% \expandafter\cref@stack@pull\expandafter{\@nextref}{#2}% \else% - \expandafter\cref@stack@pull\expandafter{\@nextref}{\@tmpstack}% + \expandafter\cref@stack@pull\expandafter{\@nextref}{\@tempstack}% \fi% \cref@stack@pop{#1}% \let\@lasttype\@nexttype% \let\@lastformat\@nextformat% \cref@isstackfull{#1}}% - \let#1\@tmpstack} + \let#1\@tempstack} \def\cref@processconsecutive#1#2#3#4{% #4=0% \edef\@nextref{\cref@stack@top{#1}}% @@ -1064,8 +1065,8 @@ \expandafter\ifx\csname r@cref@\@nextref\endcsname\relax% \@cref@refconsecutivefalse% \else% - \edef\@tmpa{{#2}{\@nextref}}% - \expandafter\cref@isrefconsecutive\@tmpa% + \edef\@tempa{{#2}{\@nextref}}% + \expandafter\cref@isrefconsecutive\@tempa% \fi% \fi% \fi% @@ -1092,8 +1093,8 @@ \expandafter\ifx\csname r@cref@\@nextref\endcsname\relax% \@cref@refconsecutivefalse% \else% - \edef\@tmpa{{#3}{\@nextref}}% - \expandafter\cref@isrefconsecutive\@tmpa% + \edef\@tempa{{#3}{\@nextref}}% + \expandafter\cref@isrefconsecutive\@tempa% \fi% \fi% \fi}% @@ -1113,8 +1114,8 @@ \def\cref@variant{#1}% \newif\if@secondref% \cref@stack@init{\@refstack}% - \edef\@tmpa{#2}% - \expandafter\cref@stack@push\expandafter{\@tmpa}{\@refstack}% + \edef\@tempa{#2}% + \expandafter\cref@stack@push\expandafter{\@tempa}{\@refstack}% \cref@isstackfull{\@refstack}% \@whilesw\if@cref@stackfull\fi{% \cref@stack@init{\@refsubstack}% @@ -1173,11 +1174,11 @@ \expandafter\cref@stack@push\expandafter% {\@endref,}{\@refsubstack}% \else% - \edef\@tmpa{{\@beginref}{\@endref}}% + \edef\@tempa{{\@beginref}{\@endref}}% \if@cref@stackempty% - \expandafter\@setcrefrange\@tmpa{\cref@variant}{}% + \expandafter\@setcrefrange\@tempa{\cref@variant}{}% \else% - \expandafter\@setcrefrange\@tmpa{\cref@variant}{@first}% + \expandafter\@setcrefrange\@tempa{\cref@variant}{@first}% \fi% \fi% \fi% @@ -1212,8 +1213,8 @@ \def\@pos{@middle}% \fi% \ifnum\count@consecutive=1\relax% - \edef\@tmpa{{\@beginref}{cref}{\@pos}}% - \expandafter\@setcref\@tmpa% + \edef\@tempa{{\@beginref}{cref}{\@pos}}% + \expandafter\@setcref\@tempa% \else% \ifnum\count@consecutive=2\relax% \expandafter\@setcref\expandafter% @@ -1221,8 +1222,8 @@ \expandafter\cref@stack@push\expandafter% {\@endref}{\@refsubstack}% \else% - \edef\@tmpa{{\@beginref}{\@endref}{cref}{\@pos}}% - \expandafter\@setcrefrange\@tmpa% + \edef\@tempa{{\@beginref}{\@endref}{cref}{\@pos}}% + \expandafter\@setcrefrange\@tempa% \fi% \fi% \@secondreffalse% @@ -1230,8 +1231,8 @@ }% end loop over reference substack \cref@isstackfull{\@refstack}% \if@cref@stackfull% - \def\@tmpa{#1}\def\@tmpb{labelcref}% - \ifx\@tmpa\@tmpb\relax% + \def\@tempa{#1}\def\@tempb{labelcref}% + \ifx\@tempa\@tempb\relax% \protect\G@refundefinedtrue% \nfss@text{\reset@font\bfseries\space ??}% \@latex@warning{References in label reference on page \thepage @@ -1250,8 +1251,8 @@ \cref@gettype{#1}{\@temptype}% puts label type in \@temptype \cref@getlabel{#1}{\@templabel}% puts label in \@templabel \expandafter\ifx\csname #2@\@temptype @format#3\endcsname\relax% - \edef\@tmpa{#2}\def\@tmpb{labelcref}% - \ifx\@tmpa\@tmpb\relax% + \edef\@tempa{#2}\def\@tempb{labelcref}% + \ifx\@tempa\@tempb\relax% \expandafter\@@setcref\expandafter% {\csname #2@default@format#3\endcsname}{#1}% \else% @@ -1298,8 +1299,8 @@ \edef\@formatb{\expandafter\noexpand% \csname #3range@\@typeb @format#4\endcsname}% \expandafter\ifx\@formata\relax% - \edef\@tmpa{#3}\def\@tmpb{labelcref}% - \ifx\@tmpa\@tmpb\relax% + \edef\@tempa{#3}\def\@tempb{labelcref}% + \ifx\@tempa\@tempb\relax% \expandafter\@@setcrefrange\expandafter% {\csname #3range@default@format#4\endcsname}{#1}{#2}% \else% @@ -1335,12 +1336,12 @@ \nfss@text{\reset@font\bfseries ??}% \@latex@warning{Reference `#1' on page \thepage \space undefined}% \else% - \cref@gettype{#1}{\@tmpa}% - \@ifundefined{cref@\@tmpa @name}{% + \cref@gettype{#1}{\@tempa}% + \@ifundefined{cref@\@tempa @name}{% \protect\G@refundefinedtrue%`` \nfss@text{\reset@font\bfseries ??}% - \@latex@warning{Reference name for label type `\@tmpa' undefined}% - }{\csname cref@\@tmpa @name\endcsname}% + \@latex@warning{Reference name for label type `\@tempa' undefined}% + }{\csname cref@\@tempa @name\endcsname}% \fi} \DeclareRobustCommand{\nameCref}[1]{% \expandafter\ifx\csname r@cref@#1\endcsname\relax% @@ -1348,12 +1349,12 @@ \nfss@text{\reset@font\bfseries ??}% \@latex@warning{Reference `#1' on page \thepage \space undefined}% \else% - \cref@gettype{#1}{\@tmpa}% - \@ifundefined{Cref@\@tmpa @name}{% + \cref@gettype{#1}{\@tempa}% + \@ifundefined{Cref@\@tempa @name}{% \protect\G@refundefinedtrue%`` \nfss@text{\reset@font\bfseries ??}% - \@latex@warning{Reference name for label type `\@tmpa' undefined}% - }{\csname Cref@\@tmpa @name\endcsname}% + \@latex@warning{Reference name for label type `\@tempa' undefined}% + }{\csname Cref@\@tempa @name\endcsname}% \fi} \DeclareRobustCommand{\lcnamecref}[1]{% \expandafter\ifx\csname r@cref@#1\endcsname\relax% @@ -1361,13 +1362,13 @@ \nfss@text{\reset@font\bfseries ??}% \@latex@warning{Reference `#1' on page \thepage \space undefined}% \else% - \cref@gettype{#1}{\@tmpa}% - \@ifundefined{cref@\@tmpa @name}{% + \cref@gettype{#1}{\@tempa}% + \@ifundefined{cref@\@tempa @name}{% \protect\G@refundefinedtrue%`` \nfss@text{\reset@font\bfseries ??}% - \@latex@warning{Reference name for label type `\@tmpa' undefined}% + \@latex@warning{Reference name for label type `\@tempa' undefined}% }{\expandafter\expandafter\expandafter% - \MakeLowercase\csname cref@\@tmpa @name\endcsname}% + \MakeLowercase\csname cref@\@tempa @name\endcsname}% \fi} \DeclareRobustCommand{\namecrefs}[1]{% \expandafter\ifx\csname r@cref@#1\endcsname\relax% @@ -1375,12 +1376,12 @@ \nfss@text{\reset@font\bfseries ??}% \@latex@warning{Reference `#1' on page \thepage \space undefined}% \else% - \cref@gettype{#1}{\@tmpa}% - \@ifundefined{cref@\@tmpa @name@plural}{% + \cref@gettype{#1}{\@tempa}% + \@ifundefined{cref@\@tempa @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}% + \@latex@warning{Reference name for label type `\@tempa' undefined}% + }{\csname cref@\@tempa @name@plural\endcsname}% \fi} \DeclareRobustCommand{\nameCrefs}[1]{% \expandafter\ifx\csname r@cref@#1\endcsname\relax% @@ -1388,12 +1389,12 @@ \nfss@text{\reset@font\bfseries ??}% \@latex@warning{Reference `#1' on page \thepage \space undefined}% \else% - \cref@gettype{#1}{\@tmpa}% - \@ifundefined{Cref@\@tmpa @name@plural}{% + \cref@gettype{#1}{\@tempa}% + \@ifundefined{Cref@\@tempa @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}% + \@latex@warning{Reference name for label type `\@tempa' undefined}% + }{\csname Cref@\@tempa @name@plural\endcsname}% \fi} \DeclareRobustCommand{\lcnamecrefs}[1]{% \expandafter\ifx\csname r@cref@#1\endcsname\relax% @@ -1401,13 +1402,13 @@ \nfss@text{\reset@font\bfseries ??}% \@latex@warning{Reference `#1' on page \thepage \space undefined}% \else% - \cref@gettype{#1}{\@tmpa}% - \@ifundefined{cref@\@tmpa @name@plural}{% + \cref@gettype{#1}{\@tempa}% + \@ifundefined{cref@\@tempa @name@plural}{% \protect\G@refundefinedtrue%`` \nfss@text{\reset@font\bfseries ??}% - \@latex@warning{Reference name for label type `\@tmpa' undefined}% + \@latex@warning{Reference name for label type `\@tempa' undefined}% }{\expandafter\expandafter\expandafter% - \MakeLowercase\csname cref@\@tmpa @name@plural\endcsname}% + \MakeLowercase\csname cref@\@tempa @name@plural\endcsname}% \fi} \cref@stack@init{\cref@label@types} \newcommand{\crefdefaultlabelformat}[1]{% @@ -1432,282 +1433,282 @@ \def\@crefname#1#2#3#4#5{% \expandafter\def\csname #1@#2@name#5\endcsname{#3}% \expandafter\def\csname #1@#2@name@plural#5\endcsname{#4}% - \def\@tmpa##1##2\@nil{% + \def\@tempa##1##2\@nil{% \if##1c% \def\@other{C##2}% - \def\@tmpc{\expandafter\MakeUppercase}% + \def\@tempc{\expandafter\MakeUppercase}% \else% \def\@other{c##2}% \if@cref@capitalise% - \def\@tmpc{}% + \def\@tempc{}% \else% - \def\@tmpc{\MakeLowercase}% + \def\@tempc{\MakeLowercase}% \fi% \fi}% - \@tmpa#1\@nil% + \@tempa#1\@nil% \@ifundefined{\@other @#2@name#5}{% \expandafter\expandafter\expandafter\def% - \expandafter\expandafter\expandafter\@tmpa% + \expandafter\expandafter\expandafter\@tempa% \expandafter\expandafter\expandafter{% \csname#1@#2@name\endcsname}% \expandafter\expandafter\expandafter\def% - \expandafter\expandafter\expandafter\@tmpb% + \expandafter\expandafter\expandafter\@tempb% \expandafter\expandafter\expandafter{% \csname#1@#2@name@plural\endcsname}% - \expandafter\ifx\@tmpa\@empty\else% + \expandafter\ifx\@tempa\@empty\else% \expandafter\expandafter\expandafter\def% - \expandafter\expandafter\expandafter\@tmpa% + \expandafter\expandafter\expandafter\@tempa% \expandafter\expandafter\expandafter{% - \expandafter\@tmpc\@tmpa}% + \expandafter\@tempc\@tempa}% \expandafter\expandafter\expandafter\def% - \expandafter\expandafter\expandafter\@tmpb% + \expandafter\expandafter\expandafter\@tempb% \expandafter\expandafter\expandafter{% - \expandafter\@tmpc\@tmpb}% + \expandafter\@tempc\@tempb}% \fi% \toksdef\@toksa=0% \@toksa={% \expandafter\def\csname\@other @#2@name#5\endcsname}% - \expandafter\the\expandafter\@toksa\expandafter{\@tmpa}% + \expandafter\the\expandafter\@toksa\expandafter{\@tempa}% \@toksa={% \expandafter\def\csname\@other @#2@name@plural#5\endcsname}% - \expandafter\the\expandafter\@toksa\expandafter{\@tmpb}% + \expandafter\the\expandafter\@toksa\expandafter{\@tempb}% }{}% \cref@stack@add{#2}{\cref@label@types}} \def\@crefconstructcomponents#1{% \@ifundefined{cref@#1@label}{% - \let\@tmplabel\cref@default@label% + \let\@templabel\cref@default@label% }{% - \expandafter\let\expandafter\@tmplabel% + \expandafter\let\expandafter\@templabel% \csname cref@#1@label\endcsname% }% \@ifundefined{cref@#1@rangelabel}{% - \expandafter\def\expandafter\@tmpa\expandafter{% - \@tmplabel{####1}{####3}{####4}}% - \expandafter\def\expandafter\@tmpb\expandafter{% - \@tmplabel{####2}{####5}{####6}}% + \expandafter\def\expandafter\@tempa\expandafter{% + \@templabel{####1}{####3}{####4}}% + \expandafter\def\expandafter\@tempb\expandafter{% + \@templabel{####2}{####5}{####6}}% \toksdef\@toksa=0% - \@toksa={\def\@tmprangelabel##1##2##3##4##5##6}% + \@toksa={\def\@temprangelabel##1##2##3##4##5##6}% \expandafter\expandafter\expandafter\the% \expandafter\expandafter\expandafter\@toksa% \expandafter\expandafter\expandafter{% \expandafter\expandafter\expandafter\crefrangepreconjunction% - \expandafter\@tmpa\expandafter\crefrangeconjunction\@tmpb% + \expandafter\@tempa\expandafter\crefrangeconjunction\@tempb% \crefrangepostconjunction}% }{% - \expandafter\let\expandafter\@tmprangelabel% + \expandafter\let\expandafter\@temprangelabel% \csname cref@#1@rangelabel\endcsname% }% - \expandafter\def\expandafter\@tmplabel\expandafter{% - \@tmplabel{########1}{########2}{########3}}% - \expandafter\def\expandafter\@tmprangelabel\expandafter{% - \@tmprangelabel{########1}{########2}{########3}% + \expandafter\def\expandafter\@templabel\expandafter{% + \@templabel{########1}{########2}{########3}}% + \expandafter\def\expandafter\@temprangelabel\expandafter{% + \@temprangelabel{########1}{########2}{########3}% {########4}{########5}{########6}}% - \expandafter\def\expandafter\@tmpname\expandafter{% + \expandafter\def\expandafter\@tempname\expandafter{% \csname cref@#1@name\endcsname}% - \expandafter\def\expandafter\@tmpName\expandafter{% + \expandafter\def\expandafter\@tempName\expandafter{% \csname Cref@#1@name\endcsname}% - \expandafter\def\expandafter\@tmpnameplural\expandafter{% + \expandafter\def\expandafter\@tempnameplural\expandafter{% \csname cref@#1@name@plural\endcsname}% - \expandafter\def\expandafter\@tmpNameplural\expandafter{% + \expandafter\def\expandafter\@tempNameplural\expandafter{% \csname Cref@#1@name@plural\endcsname}% } \def\@crefdefineformat#1{% \begingroup% \@crefconstructcomponents{#1}% - \expandafter\ifx\@tmpname\@empty\relax% - \expandafter\def\expandafter\@tmpfirst\expandafter{\@tmplabel}% + \expandafter\ifx\@tempname\@empty\relax% + \expandafter\def\expandafter\@tempfirst\expandafter{\@templabel}% \else% \expandafter\expandafter\expandafter\def% - \expandafter\expandafter\expandafter\@tmpfirst% + \expandafter\expandafter\expandafter\@tempfirst% \expandafter\expandafter\expandafter{% - \expandafter\@tmpname\expandafter\nobreakspace\@tmplabel}% + \expandafter\@tempname\expandafter\nobreakspace\@templabel}% \fi% - \expandafter\ifx\@tmpName\@empty\relax% - \expandafter\def\expandafter\@tmpFirst\expandafter{\@tmplabel}% + \expandafter\ifx\@tempName\@empty\relax% + \expandafter\def\expandafter\@tempFirst\expandafter{\@templabel}% \else% \expandafter\expandafter\expandafter\def% - \expandafter\expandafter\expandafter\@tmpFirst% + \expandafter\expandafter\expandafter\@tempFirst% \expandafter\expandafter\expandafter{% - \expandafter\@tmpName\expandafter\nobreakspace\@tmplabel}% + \expandafter\@tempName\expandafter\nobreakspace\@templabel}% \fi% - \expandafter\def\expandafter\@tmplabel\expandafter{\@tmplabel}% + \expandafter\def\expandafter\@templabel\expandafter{\@templabel}% \toksdef\@toksa=0% \@toksa={\crefformat{#1}}% - \expandafter\the\expandafter\@toksa\expandafter{\@tmpfirst}% + \expandafter\the\expandafter\@toksa\expandafter{\@tempfirst}% \@toksa={\Crefformat{#1}}% - \expandafter\the\expandafter\@toksa\expandafter{\@tmpFirst}% + \expandafter\the\expandafter\@toksa\expandafter{\@tempFirst}% \@ifundefined{cref@#1@label}{}{% \@toksa={\labelcrefformat{#1}}% - \expandafter\the\expandafter\@toksa\expandafter{\@tmplabel}}% + \expandafter\the\expandafter\@toksa\expandafter{\@templabel}}% \endgroup} \def\@crefrangedefineformat#1{% \begingroup% \@crefconstructcomponents{#1}% - \expandafter\ifx\@tmpname\@empty\relax% - \expandafter\def\expandafter\@tmpfirst% - \expandafter{\@tmprangelabel}% + \expandafter\ifx\@tempname\@empty\relax% + \expandafter\def\expandafter\@tempfirst% + \expandafter{\@temprangelabel}% \else% \expandafter\expandafter\expandafter\def% - \expandafter\expandafter\expandafter\@tmpfirst% + \expandafter\expandafter\expandafter\@tempfirst% \expandafter\expandafter\expandafter{% - \expandafter\@tmpnameplural\expandafter\nobreakspace\@tmprangelabel}% + \expandafter\@tempnameplural\expandafter\nobreakspace\@temprangelabel}% \fi% - \expandafter\ifx\@tmpName\@empty\relax% - \expandafter\def\expandafter\@tmpFirst% - \expandafter{\@tmprangelabel}% + \expandafter\ifx\@tempName\@empty\relax% + \expandafter\def\expandafter\@tempFirst% + \expandafter{\@temprangelabel}% \else% \expandafter\expandafter\expandafter\def% - \expandafter\expandafter\expandafter\@tmpFirst% + \expandafter\expandafter\expandafter\@tempFirst% \expandafter\expandafter\expandafter{% - \expandafter\@tmpNameplural\expandafter\nobreakspace\@tmprangelabel}% + \expandafter\@tempNameplural\expandafter\nobreakspace\@temprangelabel}% \fi% - \expandafter\def\expandafter\@tmprangelabel% - \expandafter{\@tmprangelabel}% + \expandafter\def\expandafter\@temprangelabel% + \expandafter{\@temprangelabel}% \toksdef\@toksa=0% \@toksa={\crefrangeformat{#1}}% - \expandafter\the\expandafter\@toksa\expandafter{\@tmpfirst}% + \expandafter\the\expandafter\@toksa\expandafter{\@tempfirst}% \@toksa={\Crefrangeformat{#1}}% - \expandafter\the\expandafter\@toksa\expandafter{\@tmpFirst}% + \expandafter\the\expandafter\@toksa\expandafter{\@tempFirst}% \@ifundefined{cref@#1@rangelabel}{% - \@ifundefined{cref@#1@label}{\let\@tmpa\relax}{\def\@tmpa{}}}% - {\def\@tmpa{}}% - \ifx\@tmpa\@empty\relax% + \@ifundefined{cref@#1@label}{\let\@tempa\relax}{\def\@tempa{}}}% + {\def\@tempa{}}% + \ifx\@tempa\@empty\relax% \@toksa={\labelcrefrangeformat{#1}}% \expandafter\the\expandafter\@toksa\expandafter{% - \@tmprangelabel}% + \@temprangelabel}% \fi% \endgroup} \def\@crefdefinemultiformat#1{% \begingroup% \@crefconstructcomponents{#1}% - \expandafter\ifx\@tmpnameplural\@empty\relax% - \expandafter\def\expandafter\@tmpfirst% - \expandafter{\@tmplabel}% + \expandafter\ifx\@tempnameplural\@empty\relax% + \expandafter\def\expandafter\@tempfirst% + \expandafter{\@templabel}% \else% \expandafter\expandafter\expandafter\def% - \expandafter\expandafter\expandafter\@tmpfirst% + \expandafter\expandafter\expandafter\@tempfirst% \expandafter\expandafter\expandafter{% - \expandafter\@tmpnameplural\expandafter\nobreakspace\@tmplabel}% + \expandafter\@tempnameplural\expandafter\nobreakspace\@templabel}% \fi% - \expandafter\ifx\@tmpNameplural\@empty\relax% - \expandafter\def\expandafter\@tmpFirst% - \expandafter{\@tmplabel}% + \expandafter\ifx\@tempNameplural\@empty\relax% + \expandafter\def\expandafter\@tempFirst% + \expandafter{\@templabel}% \else% \expandafter\expandafter\expandafter\def% - \expandafter\expandafter\expandafter\@tmpFirst% + \expandafter\expandafter\expandafter\@tempFirst% \expandafter\expandafter\expandafter{% - \expandafter\@tmpNameplural\expandafter\nobreakspace\@tmplabel}% + \expandafter\@tempNameplural\expandafter\nobreakspace\@templabel}% \fi% - \expandafter\def\expandafter\@tmpsecond\expandafter{% - \expandafter\crefpairconjunction\@tmplabel}% - \expandafter\def\expandafter\@tmpmiddle\expandafter{% - \expandafter\crefmiddleconjunction\@tmplabel}% - \expandafter\def\expandafter\@tmplast\expandafter{% - \expandafter\creflastconjunction\@tmplabel}% - \expandafter\def\expandafter\@tmplabel\expandafter{\@tmplabel}% + \expandafter\def\expandafter\@tempsecond\expandafter{% + \expandafter\crefpairconjunction\@templabel}% + \expandafter\def\expandafter\@tempmiddle\expandafter{% + \expandafter\crefmiddleconjunction\@templabel}% + \expandafter\def\expandafter\@templast\expandafter{% + \expandafter\creflastconjunction\@templabel}% + \expandafter\def\expandafter\@templabel\expandafter{\@templabel}% \toksdef\@toksa=0% \toksdef\@toksb=1% \@toksb={}% \expandafter\cref@append@toks\expandafter\@toksb\expandafter{% - \expandafter{\@tmpfirst}}% + \expandafter{\@tempfirst}}% \expandafter\cref@append@toks\expandafter\@toksb\expandafter{% - \expandafter{\@tmpsecond}}% + \expandafter{\@tempsecond}}% \expandafter\cref@append@toks\expandafter\@toksb\expandafter{% - \expandafter{\@tmpmiddle}}% + \expandafter{\@tempmiddle}}% \expandafter\cref@append@toks\expandafter\@toksb\expandafter{% - \expandafter{\@tmplast}}% + \expandafter{\@templast}}% \@toksa={\crefmultiformat{#1}}% \expandafter\the\expandafter\@toksa\the\@toksb% \@toksb={}% \expandafter\cref@append@toks\expandafter\@toksb\expandafter{% - \expandafter{\@tmpFirst}}% + \expandafter{\@tempFirst}}% \expandafter\cref@append@toks\expandafter\@toksb\expandafter{% - \expandafter{\@tmpsecond}}% + \expandafter{\@tempsecond}}% \expandafter\cref@append@toks\expandafter\@toksb\expandafter{% - \expandafter{\@tmpmiddle}}% + \expandafter{\@tempmiddle}}% \expandafter\cref@append@toks\expandafter\@toksb\expandafter{% - \expandafter{\@tmplast}}% + \expandafter{\@templast}}% \@toksa={\Crefmultiformat{#1}}% \expandafter\the\expandafter\@toksa\the\@toksb% \@ifundefined{cref@#1@label}{}{% \@toksb={}% \expandafter\cref@append@toks\expandafter\@toksb\expandafter{% - \expandafter{\@tmplabel}}% + \expandafter{\@templabel}}% \expandafter\cref@append@toks\expandafter\@toksb\expandafter{% - \expandafter{\@tmpsecond}}% + \expandafter{\@tempsecond}}% \expandafter\cref@append@toks\expandafter\@toksb\expandafter{% - \expandafter{\@tmpmiddle}}% + \expandafter{\@tempmiddle}}% \expandafter\cref@append@toks\expandafter\@toksb\expandafter{% - \expandafter{\@tmplast}}% + \expandafter{\@templast}}% \@toksa={\labelcrefmultiformat{#1}}% \expandafter\the\expandafter\@toksa\the\@toksb}% \endgroup} \def\@crefrangedefinemultiformat#1{% \begingroup% \@crefconstructcomponents{#1}% - \expandafter\ifx\@tmpnameplural\@empty\relax% - \expandafter\def\expandafter\@tmpfirst% - \expandafter{\@tmprangelabel}% + \expandafter\ifx\@tempnameplural\@empty\relax% + \expandafter\def\expandafter\@tempfirst% + \expandafter{\@temprangelabel}% \else% \expandafter\expandafter\expandafter\def% - \expandafter\expandafter\expandafter\@tmpfirst% + \expandafter\expandafter\expandafter\@tempfirst% \expandafter\expandafter\expandafter{% - \expandafter\@tmpnameplural\expandafter\nobreakspace\@tmprangelabel}% + \expandafter\@tempnameplural\expandafter\nobreakspace\@temprangelabel}% \fi% - \expandafter\ifx\@tmpNameplural\@empty\relax% - \expandafter\def\expandafter\@tmpFirst% - \expandafter{\@tmprangelabel}% + \expandafter\ifx\@tempNameplural\@empty\relax% + \expandafter\def\expandafter\@tempFirst% + \expandafter{\@temprangelabel}% \else% \expandafter\expandafter\expandafter\def% - \expandafter\expandafter\expandafter\@tmpFirst% + \expandafter\expandafter\expandafter\@tempFirst% \expandafter\expandafter\expandafter{% - \expandafter\@tmpNameplural\expandafter\nobreakspace\@tmprangelabel}% + \expandafter\@tempNameplural\expandafter\nobreakspace\@temprangelabel}% \fi% - \expandafter\def\expandafter\@tmpsecond\expandafter{% - \expandafter\crefpairconjunction\@tmprangelabel}% - \expandafter\def\expandafter\@tmpmiddle\expandafter{% - \expandafter\crefmiddleconjunction\@tmprangelabel}% - \expandafter\def\expandafter\@tmplast\expandafter{% - \expandafter\creflastconjunction\@tmprangelabel}% - \expandafter\def\expandafter\@tmprangelabel% - \expandafter{\@tmprangelabel}% + \expandafter\def\expandafter\@tempsecond\expandafter{% + \expandafter\crefpairconjunction\@temprangelabel}% + \expandafter\def\expandafter\@tempmiddle\expandafter{% + \expandafter\crefmiddleconjunction\@temprangelabel}% + \expandafter\def\expandafter\@templast\expandafter{% + \expandafter\creflastconjunction\@temprangelabel}% + \expandafter\def\expandafter\@temprangelabel% + \expandafter{\@temprangelabel}% \toksdef\@toksa=0% \toksdef\@toksb=1% \@toksb={}% \expandafter\cref@append@toks\expandafter\@toksb\expandafter{% - \expandafter{\@tmpfirst}}% + \expandafter{\@tempfirst}}% \expandafter\cref@append@toks\expandafter\@toksb\expandafter{% - \expandafter{\@tmpsecond}}% + \expandafter{\@tempsecond}}% \expandafter\cref@append@toks\expandafter\@toksb\expandafter{% - \expandafter{\@tmpmiddle}}% + \expandafter{\@tempmiddle}}% \expandafter\cref@append@toks\expandafter\@toksb\expandafter{% - \expandafter{\@tmplast}}% + \expandafter{\@templast}}% \@toksa={\crefrangemultiformat{#1}}% \expandafter\the\expandafter\@toksa\the\@toksb% \@toksb={}% \expandafter\cref@append@toks\expandafter\@toksb\expandafter{% - \expandafter{\@tmpFirst}}% + \expandafter{\@tempFirst}}% \expandafter\cref@append@toks\expandafter\@toksb\expandafter{% - \expandafter{\@tmpsecond}}% + \expandafter{\@tempsecond}}% \expandafter\cref@append@toks\expandafter\@toksb\expandafter{% - \expandafter{\@tmpmiddle}}% + \expandafter{\@tempmiddle}}% \expandafter\cref@append@toks\expandafter\@toksb\expandafter{% - \expandafter{\@tmplast}}% + \expandafter{\@templast}}% \@toksa={\Crefrangemultiformat{#1}}% \expandafter\the\expandafter\@toksa\the\@toksb% \@ifundefined{cref@#1@rangelabel}{% - \@ifundefined{cref@#1@label}{\let\@tmpa\relax}{\def\@tmpa{}}}% - {\def\@tmpa{}}% - \ifx\@tmpa\@empty\relax% + \@ifundefined{cref@#1@label}{\let\@tempa\relax}{\def\@tempa{}}}% + {\def\@tempa{}}% + \ifx\@tempa\@empty\relax% \@toksb={}% \expandafter\cref@append@toks\expandafter\@toksb\expandafter{% - \expandafter{\@tmprangelabel}}% + \expandafter{\@temprangelabel}}% \expandafter\cref@append@toks\expandafter\@toksb\expandafter{% - \expandafter{\@tmpsecond}}% + \expandafter{\@tempsecond}}% \expandafter\cref@append@toks\expandafter\@toksb\expandafter{% - \expandafter{\@tmpmiddle}}% + \expandafter{\@tempmiddle}}% \expandafter\cref@append@toks\expandafter\@toksb\expandafter{% - \expandafter{\@tmplast}}% + \expandafter{\@templast}}% \@toksa={\labelcrefrangemultiformat{#1}}% \expandafter\the\expandafter\@toksa\the\@toksb% \fi% @@ -1716,62 +1717,62 @@ \begingroup% \toksdef\@toksa=0% \toksdef\@toksb=1% - \let\@tmplabel\cref@default@label% - \expandafter\def\expandafter\@tmpa\expandafter{% - \@tmplabel{####1}{####3}{####4}}% - \expandafter\def\expandafter\@tmpb\expandafter{% - \@tmplabel{####2}{####5}{####6}}% - \@toksa={\def\@tmprangelabel##1##2##3##4##5##6}% + \let\@templabel\cref@default@label% + \expandafter\def\expandafter\@tempa\expandafter{% + \@templabel{####1}{####3}{####4}}% + \expandafter\def\expandafter\@tempb\expandafter{% + \@templabel{####2}{####5}{####6}}% + \@toksa={\def\@temprangelabel##1##2##3##4##5##6}% \expandafter\expandafter\expandafter\the% \expandafter\expandafter\expandafter\@toksa% \expandafter\expandafter\expandafter{% \expandafter\expandafter\expandafter\crefrangepreconjunction% - \expandafter\@tmpa\expandafter\crefrangeconjunction\@tmpb% + \expandafter\@tempa\expandafter\crefrangeconjunction\@tempb% \crefrangepostconjunction}% - \expandafter\def\expandafter\@tmplabel\expandafter{% - \@tmplabel{########1}{########2}{########3}}% - \expandafter\def\expandafter\@tmprangelabel\expandafter{% - \@tmprangelabel{########1}{########2}{########3}% + \expandafter\def\expandafter\@templabel\expandafter{% + \@templabel{########1}{########2}{########3}}% + \expandafter\def\expandafter\@temprangelabel\expandafter{% + \@temprangelabel{########1}{########2}{########3}% {########4}{########5}{########6}}% - \expandafter\def\expandafter\@tmpsecond\expandafter{% - \expandafter\crefpairconjunction\@tmplabel}% - \expandafter\def\expandafter\@tmpmiddle\expandafter{% - \expandafter\crefmiddleconjunction\@tmplabel}% - \expandafter\def\expandafter\@tmplast\expandafter{% - \expandafter\creflastconjunction\@tmplabel}% - \expandafter\def\expandafter\@tmprangesecond\expandafter{% - \expandafter\crefpairconjunction\@tmprangelabel}% - \expandafter\def\expandafter\@tmprangemiddle\expandafter{% - \expandafter\crefmiddleconjunction\@tmprangelabel}% - \expandafter\def\expandafter\@tmprangelast\expandafter{% - \expandafter\creflastconjunction\@tmprangelabel}% - \expandafter\def\expandafter\@tmplabel\expandafter{\@tmplabel}% - \expandafter\def\expandafter\@tmprangelabel% - \expandafter{\@tmprangelabel}% + \expandafter\def\expandafter\@tempsecond\expandafter{% + \expandafter\crefpairconjunction\@templabel}% + \expandafter\def\expandafter\@tempmiddle\expandafter{% + \expandafter\crefmiddleconjunction\@templabel}% + \expandafter\def\expandafter\@templast\expandafter{% + \expandafter\creflastconjunction\@templabel}% + \expandafter\def\expandafter\@temprangesecond\expandafter{% + \expandafter\crefpairconjunction\@temprangelabel}% + \expandafter\def\expandafter\@temprangemiddle\expandafter{% + \expandafter\crefmiddleconjunction\@temprangelabel}% + \expandafter\def\expandafter\@temprangelast\expandafter{% + \expandafter\creflastconjunction\@temprangelabel}% + \expandafter\def\expandafter\@templabel\expandafter{\@templabel}% + \expandafter\def\expandafter\@temprangelabel% + \expandafter{\@temprangelabel}% \@toksa={\labelcrefformat{default}}% - \expandafter\the\expandafter\@toksa\expandafter{\@tmplabel}% + \expandafter\the\expandafter\@toksa\expandafter{\@templabel}% \@toksa={\labelcrefrangeformat{default}}% - \expandafter\the\expandafter\@toksa\expandafter{\@tmprangelabel}% + \expandafter\the\expandafter\@toksa\expandafter{\@temprangelabel}% \@toksb={}% \expandafter\cref@append@toks\expandafter\@toksb\expandafter{% - \expandafter{\@tmplabel}}% + \expandafter{\@templabel}}% \expandafter\cref@append@toks\expandafter\@toksb\expandafter{% - \expandafter{\@tmpsecond}}% + \expandafter{\@tempsecond}}% \expandafter\cref@append@toks\expandafter\@toksb\expandafter{% - \expandafter{\@tmpmiddle}}% + \expandafter{\@tempmiddle}}% \expandafter\cref@append@toks\expandafter\@toksb\expandafter{% - \expandafter{\@tmplast}}% + \expandafter{\@templast}}% \@toksa={\labelcrefmultiformat{default}}% \expandafter\the\expandafter\@toksa\the\@toksb% \@toksb={}% \expandafter\cref@append@toks\expandafter\@toksb\expandafter{% - \expandafter{\@tmprangelabel}}% + \expandafter{\@temprangelabel}}% \expandafter\cref@append@toks\expandafter\@toksb\expandafter{% - \expandafter{\@tmpsecond}}% + \expandafter{\@tempsecond}}% \expandafter\cref@append@toks\expandafter\@toksb\expandafter{% - \expandafter{\@tmpmiddle}}% + \expandafter{\@tempmiddle}}% \expandafter\cref@append@toks\expandafter\@toksb\expandafter{% - \expandafter{\@tmplast}}% + \expandafter{\@templast}}% \@toksa={\labelcrefrangemultiformat{default}}% \expandafter\the\expandafter\@toksa\the\@toksb% \endgroup} @@ -1818,7 +1819,7 @@ \def\@crefformat#1#2#3{% \begingroup% \expandafter\gdef\csname #1@#2@format\endcsname##1##2##3{#3}% - \def\@tmpa##1##2\@nil{% + \def\@tempa##1##2\@nil{% \if##1c% \def\@other{C##2}% \def\@changecase{\expandafter\MakeUppercase}% @@ -1830,10 +1831,10 @@ \def\@changecase{\MakeLowercase}% \fi% \fi}% - \@tmpa#1\@nil% + \@tempa#1\@nil% \@ifundefined{\@other @#2@format}{% \toksdef\@toksa=0% - \@toksa={\def\@tmpa##1##2##3}% + \@toksa={\def\@tempa##1##2##3}% \expandafter\expandafter\expandafter\the% \expandafter\expandafter\expandafter\@toksa% \expandafter\expandafter\expandafter{% @@ -1841,18 +1842,18 @@ \expandafter\expandafter\expandafter\the% \expandafter\expandafter\expandafter\@toksa% \expandafter\expandafter\expandafter{% - \expandafter\@changecase\@tmpa{##1}{##2}{##3}}% + \expandafter\@changecase\@tempa{##1}{##2}{##3}}% \@toksa={% \expandafter\gdef\csname\@other @#2@format\endcsname##1##2##3}% \expandafter\the\expandafter\@toksa\expandafter{% - \@tmpa{##1}{##2}{##3}}% + \@tempa{##1}{##2}{##3}}% }{}% \endgroup} \def\@crefrangeformat#1#2#3{% \begingroup% \expandafter\gdef\csname #1@#2@format\endcsname% ##1##2##3##4##5##6{#3}% - \def\@tmpa##1##2\@nil{% + \def\@tempa##1##2\@nil{% \if##1c% \def\@other{C##2}% \def\@changecase{\expandafter\MakeUppercase}% @@ -1864,10 +1865,10 @@ \def\@changecase{\MakeLowercase}% \fi% \fi}% - \@tmpa#1\@nil% + \@tempa#1\@nil% \@ifundefined{\@other @#2@format}{% \toksdef\@toksa=0% - \@toksa={\def\@tmpa##1##2##3##4##5##6}% + \@toksa={\def\@tempa##1##2##3##4##5##6}% \expandafter\expandafter\expandafter\the% \expandafter\expandafter\expandafter\@toksa% \expandafter\expandafter\expandafter{% @@ -1875,11 +1876,11 @@ \expandafter\expandafter\expandafter\the% \expandafter\expandafter\expandafter\@toksa% \expandafter\expandafter\expandafter{% - \expandafter\@changecase\@tmpa{##1}{##2}{##3}{##4}{##5}{##6}}% + \expandafter\@changecase\@tempa{##1}{##2}{##3}{##4}{##5}{##6}}% \@toksa={\expandafter\gdef% \csname\@other @#2@format\endcsname##1##2##3##4##5##6}% \expandafter\the\expandafter\@toksa\expandafter{% - \@tmpa{##1}{##2}{##3}{##4}{##5}{##6}}% + \@tempa{##1}{##2}{##3}{##4}{##5}{##6}}% }{}% \endgroup} \def\@crefmultiformat#1#2#3#4#5#6{% @@ -1888,7 +1889,7 @@ \expandafter\gdef\csname #1@#2@format@second\endcsname##1##2##3{#4}% \expandafter\gdef\csname #1@#2@format@middle\endcsname##1##2##3{#5}% \expandafter\gdef\csname #1@#2@format@last\endcsname##1##2##3{#6}% - \def\@tmpa##1##2\@nil{% + \def\@tempa##1##2\@nil{% \if##1c% \def\@other{C##2}% \def\@changecase{\expandafter\MakeUppercase}% @@ -1900,10 +1901,10 @@ \def\@changecase{\MakeLowercase}% \fi% \fi}% - \@tmpa#1\@nil% + \@tempa#1\@nil% \@ifundefined{\@other @#2@format@first}{% \toksdef\@toksa=0% - \@toksa={\def\@tmpa##1##2##3}% + \@toksa={\def\@tempa##1##2##3}% \expandafter\expandafter\expandafter\the% \expandafter\expandafter\expandafter\@toksa% \expandafter\expandafter\expandafter{% @@ -1911,12 +1912,12 @@ \expandafter\expandafter\expandafter\the% \expandafter\expandafter\expandafter\@toksa% \expandafter\expandafter\expandafter{% - \expandafter\@changecase\@tmpa{##1}{##2}{##3}}% + \expandafter\@changecase\@tempa{##1}{##2}{##3}}% \@toksa={% \expandafter\gdef\csname\@other @#2@format@first\endcsname% ##1##2##3}% \expandafter\the\expandafter\@toksa\expandafter{% - \@tmpa{##1}{##2}{##3}}% + \@tempa{##1}{##2}{##3}}% }{}% \@ifundefined{\@other @#2@format@second}{% \@toksa={% @@ -1950,7 +1951,7 @@ ##1##2##3##4##5##6{#5}% \expandafter\gdef\csname #1@#2@format@last\endcsname% ##1##2##3##4##5##6{#6}% - \def\@tmpa##1##2\@nil{% + \def\@tempa##1##2\@nil{% \if##1c% \def\@other{C##2}% \def\@changecase{\expandafter\MakeUppercase}% @@ -1962,10 +1963,10 @@ \def\@changecase{\MakeLowercase}% \fi% \fi}% - \@tmpa#1\@nil% + \@tempa#1\@nil% \@ifundefined{\@other @#2@format@first}{% \toksdef\@toksa=0% - \@toksa={\def\@tmpa##1##2##3##4##5##6}% + \@toksa={\def\@tempa##1##2##3##4##5##6}% \expandafter\expandafter\expandafter\the% \expandafter\expandafter\expandafter\@toksa% \expandafter\expandafter\expandafter{% @@ -1974,12 +1975,12 @@ \expandafter\expandafter\expandafter\the% \expandafter\expandafter\expandafter\@toksa% \expandafter\expandafter\expandafter{% - \expandafter\@changecase\@tmpa{##1}{##2}{##3}{##4}{##5}{##6}}% + \expandafter\@changecase\@tempa{##1}{##2}{##3}{##4}{##5}{##6}}% \@toksa={% \expandafter\gdef\csname\@other @#2@format@first\endcsname% ##1##2##3##4##5##6}% \expandafter\the\expandafter\@toksa\expandafter{% - \@tmpa{##1}{##2}{##3}{##4}{##5}{##6}}% + \@tempa{##1}{##2}{##3}{##4}{##5}{##6}}% }{}% \@ifundefined{\@other @#2@format@second}{% \@toksa={% @@ -2015,12 +2016,12 @@ \let\cref@old@H@refstepcounter\H@refstepcounter \def\H@refstepcounter#1{% \cref@old@H@refstepcounter{#1}% - \cref@constructprefix{#1}{\@result}% + \cref@constructprefix{#1}{\cref@result}% \@ifundefined{cref@#1@alias}% - {\def\@tmpa{#1}}% - {\def\@tmpa{\csname cref@#1@alias\endcsname}}% + {\def\@tempa{#1}}% + {\def\@tempa{\csname cref@#1@alias\endcsname}}% \protected@xdef\cref@currentlabel{% - [\@tmpa][\arabic{#1}][\@result]% + [\@tempa][\arabic{#1}][\cref@result]% \csname p@#1\endcsname\csname the#1\endcsname}} \let\refstepcounter@noarg\cref@old@refstepcounter% \def\refstepcounter@optarg[#1]#2{% @@ -2033,38 +2034,38 @@ \@ifundefined{chapter}{% \def\H@refstepcounter##1{% \cref@old@H@refstepcounter{##1}% - \cref@constructprefix{##1}{\@result}% - \ifx\@result\@empty% - \def\@result{2147483647}% + \cref@constructprefix{##1}{\cref@result}% + \ifx\cref@result\@empty% + \def\cref@result{2147483647}% \else% - \edef\@result{2147483647,\@result}% + \edef\cref@result{2147483647,\cref@result}% \fi% - \def\@tmpa{##1}% - \def\@tmpb{section}% - \ifx\@tmpa\@tmpb% + \def\@tempa{##1}% + \def\@tempb{section}% + \ifx\@tempa\@tempb% \protected@xdef\cref@currentlabel{% - [appendix][\arabic{##1}][\@result]% + [appendix][\arabic{##1}][\cref@result]% \csname p@##1\endcsname\csname the##1\endcsname}% \else% - \def\@tmpa{##1}% - \def\@tmpb{subsection}% - \ifx\@tmpa\@tmpb% + \def\@tempa{##1}% + \def\@tempb{subsection}% + \ifx\@tempa\@tempb% \protected@xdef\cref@currentlabel{% - [subappendix][\arabic{##1}][\@result]% + [subappendix][\arabic{##1}][\cref@result]% \csname p@##1\endcsname\csname the##1\endcsname}% \else% - \def\@tmpa{##1}% - \def\@tmpb{subsubsection}% - \ifx\@tmpa\@tmpb% + \def\@tempa{##1}% + \def\@tempb{subsubsection}% + \ifx\@tempa\@tempb% \protected@xdef\cref@currentlabel{% - [subsubappendix][\arabic{##1}][\@result]% + [subsubappendix][\arabic{##1}][\cref@result]% \csname p@##1\endcsname\csname the##1\endcsname}% \else% \@ifundefined{cref@##1@alias}% - {\def\@tmpa{##1}}% - {\def\@tmpa{\csname cref@##1@alias\endcsname}}% + {\def\@tempa{##1}}% + {\def\@tempa{\csname cref@##1@alias\endcsname}}% \protected@xdef\cref@currentlabel{% - [\@tmpa][\arabic{##1}][\@result]% + [\@tempa][\arabic{##1}][\cref@result]% \csname p@##1\endcsname\csname the##1\endcsname} \fi% \fi% @@ -2072,45 +2073,45 @@ }{% \def\H@refstepcounter##1{% \cref@old@H@refstepcounter{##1}% - \cref@constructprefix{##1}{\@result}% - \ifx\@result\@empty% - \def\@result{2147483647}% + \cref@constructprefix{##1}{\cref@result}% + \ifx\cref@result\@empty% + \def\cref@result{2147483647}% \else% - \edef\@result{2147483647,\@result}% + \edef\cref@result{2147483647,\cref@result}% \fi% - \def\@tmpa{##1}% - \def\@tmpb{chapter}% - \ifx\@tmpa\@tmpb% + \def\@tempa{##1}% + \def\@tempb{chapter}% + \ifx\@tempa\@tempb% \protected@xdef\cref@currentlabel{% - [appendix][\arabic{##1}][\@result]% + [appendix][\arabic{##1}][\cref@result]% \csname p@##1\endcsname\csname the##1\endcsname}% \else% - \def\@tmpa{##1}% - \def\@tmpb{section}% - \ifx\@tmpa\@tmpb% + \def\@tempa{##1}% + \def\@tempb{section}% + \ifx\@tempa\@tempb% \protected@xdef\cref@currentlabel{% - [subappendix][\arabic{##1}][\@result]% + [subappendix][\arabic{##1}][\cref@result]% \csname p@##1\endcsname\csname the##1\endcsname}% \else% - \def\@tmpa{##1}% - \def\@tmpb{subsection}% - \ifx\@tmpa\@tmpb% + \def\@tempa{##1}% + \def\@tempb{subsection}% + \ifx\@tempa\@tempb% \protected@xdef\cref@currentlabel{% - [subsubappendix][\arabic{##1}][\@result]% + [subsubappendix][\arabic{##1}][\cref@result]% \csname p@##1\endcsname\csname the##1\endcsname}% \else% - \def\@tmpa{##1}% - \def\@tmpb{subsubsection}% - \ifx\@tmpa\@tmpb% + \def\@tempa{##1}% + \def\@tempb{subsubsection}% + \ifx\@tempa\@tempb% \protected@xdef\cref@currentlabel{% - [subsubsubappendix][\arabic{##1}][\@result]% + [subsubsubappendix][\arabic{##1}][\cref@result]% \csname p@##1\endcsname\csname the##1\endcsname}% \else% \@ifundefined{cref@##1@alias}% - {\def\@tmpa{##1}}% - {\def\@tmpa{\csname cref@##1@alias\endcsname}}% + {\def\@tempa{##1}}% + {\def\@tempa{\csname cref@##1@alias\endcsname}}% \protected@xdef\cref@currentlabel{% - [\@tmpa][\arabic{##1}][\@result]% + [\@tempa][\arabic{##1}][\cref@result]% \csname p@##1\endcsname\csname the##1\endcsname} \fi% \fi% @@ -2133,12 +2134,12 @@ \def\@crefrangestar#1#2#3{% \@crefstarredtrue\@setcrefrange{#2}{#3}{#1}{}\@crefstarredfalse} \def\@@setcref#1#2{% - \cref@getlabel{#2}{\@tmplabel}% + \cref@getlabel{#2}{\@templabel}% \if@crefstarred% - #1{\@tmplabel}{}{}% + #1{\@templabel}{}{}% \else% - \edef\@tmplink{\cref@hyperref{#2}}% - #1{\@tmplabel}{\hyper@linkstart{link}{\@tmplink}}{\hyper@linkend}% + \edef\@templink{\cref@hyperref{#2}}% + #1{\@templabel}{\hyper@linkstart{link}{\@templink}}{\hyper@linkend}% \fi} \def\@@setcrefrange#1#2#3{% \cref@getlabel{#2}{\@labela}% @@ -2185,55 +2186,55 @@ }{}% end of \@ifpackageloaded{ntheorem} \let\cref@old@othm\@othm \def\@othm#1[#2]#3{% - \edef\@tmpa{\expandafter\noexpand% + \edef\@tempa{\expandafter\noexpand% \csname cref@#1@name@preamble\endcsname}% - \edef\@tmpb{\expandafter\noexpand% + \edef\@tempb{\expandafter\noexpand% \csname Cref@#1@name@preamble\endcsname}% - \def\@tmpc{#3}% - \ifx\@tmpc\@empty\relax% - \expandafter\gdef\@tmpa{}% - \expandafter\gdef\@tmpb{}% + \def\@tempc{#3}% + \ifx\@tempc\@empty\relax% + \expandafter\gdef\@tempa{}% + \expandafter\gdef\@tempb{}% \else% \expandafter\expandafter\expandafter\gdef\expandafter% - \@tmpa\expandafter{\MakeLowercase #3}% + \@tempa\expandafter{\MakeLowercase #3}% \expandafter\expandafter\expandafter\gdef\expandafter% - \@tmpa\expandafter{\MakeUppercase #3}% + \@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\@tmpa{\expandafter\noexpand% + \edef\@tempa{\expandafter\noexpand% \csname cref@#1@name@preamble\endcsname}% - \edef\@tmpb{\expandafter\noexpand% + \edef\@tempb{\expandafter\noexpand% \csname Cref@#1@name@preamble\endcsname}% - \def\@tmpc{#2}% - \ifx\@tmpc\@empty\relax% - \expandafter\gdef\@tmpa{}% - \expandafter\gdef\@tmpb{}% + \def\@tempc{#2}% + \ifx\@tempc\@empty\relax% + \expandafter\gdef\@tempa{}% + \expandafter\gdef\@tempb{}% \else% \expandafter\expandafter\expandafter\gdef\expandafter% - \@tmpa\expandafter{\MakeLowercase #2}% + \@tempa\expandafter{\MakeLowercase #2}% \expandafter\expandafter\expandafter\gdef\expandafter% - \@tmpa\expandafter{\MakeUppercase #2}% + \@tempa\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\@tmpa{\expandafter\noexpand% + \edef\@tempa{\expandafter\noexpand% \csname cref@#1@name@preamble\endcsname}% - \edef\@tmpb{\expandafter\noexpand% + \edef\@tempb{\expandafter\noexpand% \csname Cref@#1@name@preamble\endcsname}% - \def\@tmpc{#2}% - \ifx\@tmpc\@empty\relax% - \expandafter\gdef\@tmpa{}% - \expandafter\gdef\@tmpb{}% + \def\@tempc{#2}% + \ifx\@tempc\@empty\relax% + \expandafter\gdef\@tempa{}% + \expandafter\gdef\@tempb{}% \else% \expandafter\expandafter\expandafter\gdef\expandafter% - \@tmpa\expandafter{\MakeLowercase #2}% + \@tempa\expandafter{\MakeLowercase #2}% \expandafter\expandafter\expandafter\gdef\expandafter% - \@tmpa\expandafter{\MakeUppercase #2}% + \@tempa\expandafter{\MakeUppercase #2}% \fi% \cref@stack@add{#1}{\cref@label@types}% \cref@old@ynthm{#1}{#2}} @@ -2262,19 +2263,19 @@ \fi% \@tempa} \def\@ynthm#1[#2]#3{% - \edef\@tmpa{\expandafter\noexpand% + \edef\@tempa{\expandafter\noexpand% \csname cref@#1@name@preamble\endcsname}% - \edef\@tmpb{\expandafter\noexpand% + \edef\@tempb{\expandafter\noexpand% \csname Cref@#1@name@preamble\endcsname}% - \def\@tmpc{#3}% - \ifx\@tmpc\@empty\relax% - \expandafter\gdef\@tmpa{}% - \expandafter\gdef\@tmpb{}% + \def\@tempc{#3}% + \ifx\@tempc\@empty\relax% + \expandafter\gdef\@tempa{}% + \expandafter\gdef\@tempb{}% \else% \expandafter\expandafter\expandafter\gdef\expandafter% - \@tmpa\expandafter{\MakeLowercase #3}% + \@tempa\expandafter{\MakeLowercase #3}% \expandafter\expandafter\expandafter\gdef\expandafter% - \@tmpa\expandafter{\MakeUppercase #3}% + \@tempa\expandafter{\MakeUppercase #3}% \fi% \cref@stack@add{#1}{\cref@label@types}% \ifx\relax#2\relax% @@ -2309,6 +2310,10 @@ \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}{`subfig' support loaded} \AtBeginDocument{ @@ -2323,9 +2328,9 @@ \let\cref@old@newaliascnt\newaliascnt \renewcommand*{\newaliascnt}[2]{% \cref@old@newaliascnt{#1}{#2}% - \cref@resetby{#2}{\@result}% - \ifx\@result\relax\else% - \@addtoreset{#1}{\@result}% + \cref@resetby{#2}{\cref@result}% + \ifx\cref@result\relax\else% + \@addtoreset{#1}{\cref@result}% \fi} }{}% end of \@ifpackageloaded{aliascnt} \@ifpackageloaded{varioref}{% @@ -2339,16 +2344,16 @@ \fi% \@cref{#1}{#2} % space here is deliberate \begingroup% - \def\@tmpstack{#2,\@nil}% - \cref@stack@topandbottom{\@tmpstack}{\@firstref}{\@lastref}% + \def\@tempstack{#2,\@nil}% + \cref@stack@topandbottom{\@tempstack}{\@firstref}{\@lastref}% \ifx\@lastref\@empty% \vpageref[\unskip]{#2}% \else% - \edef\@tmpa{{\@firstref}{\@lastref}}% - \expandafter\def\expandafter\@tmpa\expandafter{% + \edef\@tempa{{\@firstref}{\@lastref}}% + \expandafter\def\expandafter\@tempa\expandafter{% \expandafter[\expandafter\unskip\expandafter]% - \@tmpa}% - \expandafter\vpagerefrange\@tmpa% + \@tempa}% + \expandafter\vpagerefrange\@tempa% \fi% \endgroup} \def\cref@vrefrange#1#2#3{% @@ -2356,20 +2361,20 @@ \def\cref@fullref#1#2{% \@cref{#1}{#2} % space here is deliberate \begingroup% - \def\@tmpstack{#2,\@nil}% - \cref@stack@topandbottom{\@tmpstack}{\@firstref}{\@lastref}% + \def\@tempstack{#2,\@nil}% + \cref@stack@topandbottom{\@tempstack}{\@firstref}{\@lastref}% \ifx\@lastref\@empty% \reftextfaraway{#2}% \else% \expandafter\vrefpagenum\expandafter% - \@tmpa\expandafter{\@firstref}% + \@tempa\expandafter{\@firstref}% \expandafter\vrefpagenum\expandafter% - \@tmpb\expandafter{\@lastref}% - \ifx\@tmpa\@tmpb% + \@tempb\expandafter{\@lastref}% + \ifx\@tempa\@tempb% \expandafter\reftextfaraway\expandafter{\@firstref}% \else% - \edef\@tmpa{{\@firstref}{\@lastref}}% - \expandafter\reftextpagerange\@tmpa% + \edef\@tempa{{\@firstref}{\@lastref}}% + \expandafter\reftextpagerange\@tempa% \fi% \fi% \endgroup} @@ -2454,112 +2459,112 @@ \fi% \expandafter\def\expandafter\cref@poorman@text\expandafter{% \crefrangeconjunction}% - \expandafter\def\expandafter\@tmpa\expandafter{% + \expandafter\def\expandafter\@tempa\expandafter{% \expandafter{\@address}{\string\crefrangeconjunction}}% - \expandafter\cref@writescript\@tmpa% + \expandafter\cref@writescript\@tempa% \expandafter\def\expandafter\cref@poorman@text\expandafter{% \crefrangepreconjunction}% - \expandafter\def\expandafter\@tmpa\expandafter{% + \expandafter\def\expandafter\@tempa\expandafter{% \expandafter{\@address}{\string\crefrangepreconjunction}}% - \expandafter\cref@writescript\@tmpa% + \expandafter\cref@writescript\@tempa% \expandafter\def\expandafter\cref@poorman@text\expandafter{% \crefrangepostconjunction}% - \expandafter\def\expandafter\@tmpa\expandafter{% + \expandafter\def\expandafter\@tempa\expandafter{% \expandafter{\@address}{\string\crefrangepostconjunction}}% - \expandafter\cref@writescript\@tmpa% + \expandafter\cref@writescript\@tempa% \expandafter\def\expandafter\cref@poorman@text\expandafter{% \crefpairconjunction}% - \expandafter\def\expandafter\@tmpa\expandafter{% + \expandafter\def\expandafter\@tempa\expandafter{% \expandafter{\@address}{\string\crefpairconjunction}}% - \expandafter\cref@writescript\@tmpa% + \expandafter\cref@writescript\@tempa% \expandafter\def\expandafter\cref@poorman@text\expandafter{% \crefmiddleconjunction}% - \expandafter\def\expandafter\@tmpa\expandafter{% + \expandafter\def\expandafter\@tempa\expandafter{% \expandafter{\@address}{\string\crefmiddleconjunction}}% - \expandafter\cref@writescript\@tmpa% + \expandafter\cref@writescript\@tempa% \expandafter\def\expandafter\cref@poorman@text\expandafter{% \creflastconjunction}% - \expandafter\def\expandafter\@tmpa\expandafter{% + \expandafter\def\expandafter\@tempa\expandafter{% \expandafter{\@address}{\string\creflastconjunction}}% - \expandafter\cref@writescript\@tmpa% + \expandafter\cref@writescript\@tempa% \expandafter\def\expandafter\cref@poorman@text\expandafter{% \crefpairgroupconjunction}% - \expandafter\def\expandafter\@tmpa\expandafter{% + \expandafter\def\expandafter\@tempa\expandafter{% \expandafter{\@address}{\string\crefpairgroupconjunction}}% - \expandafter\cref@writescript\@tmpa% + \expandafter\cref@writescript\@tempa% \expandafter\def\expandafter\cref@poorman@text\expandafter{% \crefmiddlegroupconjunction}% - \expandafter\def\expandafter\@tmpa\expandafter{% + \expandafter\def\expandafter\@tempa\expandafter{% \expandafter{\@address}{\string\crefmiddlegroupconjunction}}% - \expandafter\cref@writescript\@tmpa% + \expandafter\cref@writescript\@tempa% \expandafter\def\expandafter\cref@poorman@text\expandafter{% \creflastgroupconjunction}% - \expandafter\def\expandafter\@tmpa\expandafter{% + \expandafter\def\expandafter\@tempa\expandafter{% \expandafter{\@address}{\string\creflastgroupconjunction}}% - \expandafter\cref@writescript\@tmpa% - \let\@tmpstack\cref@label@types% - \cref@isstackfull{\@tmpstack}% + \expandafter\cref@writescript\@tempa% + \let\@tempstack\cref@label@types% + \cref@isstackfull{\@tempstack}% \@whilesw\if@cref@stackfull\fi{% - \edef\@tmpa{\cref@stack@top{\@tmpstack}}% + \edef\@tempa{\cref@stack@top{\@tempstack}}% \expandafter\expandafter\expandafter\def% \expandafter\expandafter\expandafter\cref@poorman@text% \expandafter\expandafter\expandafter{% - \csname cref@\@tmpa @name\endcsname}% - \edef\@tmpa{% - \string\cref@\expandafter\noexpand\@tmpa @name\space}% + \csname cref@\@tempa @name\endcsname}% + \edef\@tempa{% + \string\cref@\expandafter\noexpand\@tempa @name\space}% \expandafter\expandafter\expandafter\def% - \expandafter\expandafter\expandafter\@tmpa% + \expandafter\expandafter\expandafter\@tempa% \expandafter\expandafter\expandafter{% \expandafter\expandafter\expandafter{% \expandafter\@address\expandafter}% - \expandafter{\@tmpa}}% - \expandafter\cref@writescript\@tmpa% - \edef\@tmpa{\cref@stack@top{\@tmpstack}}% + \expandafter{\@tempa}}% + \expandafter\cref@writescript\@tempa% + \edef\@tempa{\cref@stack@top{\@tempstack}}% \expandafter\expandafter\expandafter\def% \expandafter\expandafter\expandafter\cref@poorman@text% \expandafter\expandafter\expandafter{% - \csname cref@\@tmpa @name@plural\endcsname}% - \edef\@tmpa{% - \string\cref@\expandafter\noexpand\@tmpa% + \csname cref@\@tempa @name@plural\endcsname}% + \edef\@tempa{% + \string\cref@\expandafter\noexpand\@tempa% @name@plural\space}% \expandafter\expandafter\expandafter\def% - \expandafter\expandafter\expandafter\@tmpa% + \expandafter\expandafter\expandafter\@tempa% \expandafter\expandafter\expandafter{% \expandafter\expandafter\expandafter{% \expandafter\@address\expandafter}% - \expandafter{\@tmpa}}% - \expandafter\cref@writescript\@tmpa% - \edef\@tmpa{\cref@stack@top{\@tmpstack}}% + \expandafter{\@tempa}}% + \expandafter\cref@writescript\@tempa% + \edef\@tempa{\cref@stack@top{\@tempstack}}% \expandafter\expandafter\expandafter\def% \expandafter\expandafter\expandafter\cref@poorman@text% \expandafter\expandafter\expandafter{% - \csname Cref@\@tmpa @name\endcsname}% - \edef\@tmpa{% - \string\Cref@\expandafter\noexpand\@tmpa @name\space}% + \csname Cref@\@tempa @name\endcsname}% + \edef\@tempa{% + \string\Cref@\expandafter\noexpand\@tempa @name\space}% \expandafter\expandafter\expandafter\def% - \expandafter\expandafter\expandafter\@tmpa% + \expandafter\expandafter\expandafter\@tempa% \expandafter\expandafter\expandafter{% \expandafter\expandafter\expandafter% {\expandafter\@address\expandafter}% - \expandafter{\@tmpa}}% - \expandafter\cref@writescript\@tmpa% - \edef\@tmpa{\cref@stack@top{\@tmpstack}}% + \expandafter{\@tempa}}% + \expandafter\cref@writescript\@tempa% + \edef\@tempa{\cref@stack@top{\@tempstack}}% \expandafter\expandafter\expandafter\def% \expandafter\expandafter\expandafter\cref@poorman@text% \expandafter\expandafter\expandafter{% - \csname Cref@\@tmpa @name@plural\endcsname}% - \edef\@tmpa{% - \string\Cref@\expandafter\noexpand\@tmpa% + \csname Cref@\@tempa @name@plural\endcsname}% + \edef\@tempa{% + \string\Cref@\expandafter\noexpand\@tempa% @name@plural\space}% \expandafter\expandafter\expandafter\def% - \expandafter\expandafter\expandafter\@tmpa% + \expandafter\expandafter\expandafter\@tempa% \expandafter\expandafter\expandafter{% \expandafter\expandafter\expandafter% {\expandafter\@address\expandafter}% - \expandafter{\@tmpa}}% - \expandafter\cref@writescript\@tmpa% - \cref@stack@pop{\@tmpstack}% - \cref@isstackfull{\@tmpstack}}% + \expandafter{\@tempa}}% + \expandafter\cref@writescript\@tempa% + \cref@stack@pop{\@tempstack}% + \cref@isstackfull{\@tempstack}}% \endgroup% \edef\cref@inputlineno{\the\inputlineno}}% \AtEndDocument{% @@ -2584,89 +2589,89 @@ \lccode`~=36\lowercase{\def~{\string/\string$}}% $ \lccode`~=0 \lccode`/=0 \catcode`~=12 \def\cref@poorman@text{}% - \immediate\read\@crefscript to \@tmpa% - \ifx\@tmpa\@eof% + \immediate\read\@crefscript to \@tempa% + \ifx\@tempa\@eof% \@not@eoffalse% \else% \@not@eoftrue% - \edef\@tmpa{\@tmpa}% + \edef\@tempa{\@tempa}% \fi% \@whilesw\if@not@eof\fi{% \expandafter\g@addto@macro\expandafter% - \cref@poorman@text\expandafter{\@tmpa^^J}% - \immediate\read\@crefscript to \@tmpa% - \ifx\@tmpa\@eof% + \cref@poorman@text\expandafter{\@tempa^^J}% + \immediate\read\@crefscript to \@tempa% + \ifx\@tempa\@eof% \@not@eoffalse% \else% \@not@eoftrue% - \edef\@tmpa{\@tmpa}% + \edef\@tempa{\@tempa}% \fi}% \endgroup% \immediate\closein\@crefscript% \begingroup% \lccode`|=92 \lccode`<=123 \lccode`>=125 \lccode`C=67 - \lowercase{\def\@tmpa{%[ + \lowercase{\def\@tempa{%[ s/||label|[[^]]*|]/||label/g}} \expandafter\g@addto@macro\expandafter% - \cref@poorman@text\expandafter{\@tmpa^^J}% - \lowercase{\edef\@tmpa{s/||usepackage|(|[.*|]|)|<0,1|>//g}}% + \cref@poorman@text\expandafter{\@tempa^^J}% + \lowercase{\edef\@tempa{s/||usepackage|(|[.*|]|)|<0,1|>//g}}% \expandafter\g@addto@macro\expandafter% - \cref@poorman@text\expandafter{\@tmpa^^J}% - \lowercase{\edef\@tmpa{s/||[cC]refformat<.*><.*>//g}}% + \cref@poorman@text\expandafter{\@tempa^^J}% + \lowercase{\edef\@tempa{s/||[cC]refformat<.*><.*>//g}}% \expandafter\g@addto@macro\expandafter% - \cref@poorman@text\expandafter{\@tmpa^^J}% - \lowercase{\edef\@tmpa{s/||[cC]refrangeformat<.*><.*>//g}}% + \cref@poorman@text\expandafter{\@tempa^^J}% + \lowercase{\edef\@tempa{s/||[cC]refrangeformat<.*><.*>//g}}% \expandafter\g@addto@macro\expandafter% - \cref@poorman@text\expandafter{\@tmpa^^J}% - \lowercase{\edef\@tmpa{s/||[cC]refmultiformat<.*><.*><.*><.*>//g}}% + \cref@poorman@text\expandafter{\@tempa^^J}% + \lowercase{\edef\@tempa{s/||[cC]refmultiformat<.*><.*><.*><.*>//g}}% \expandafter\g@addto@macro\expandafter% - \cref@poorman@text\expandafter{\@tmpa^^J}% - \lowercase{\edef\@tmpa{% + \cref@poorman@text\expandafter{\@tempa^^J}% + \lowercase{\edef\@tempa{% s/||[cC]refrangemultiformat<.*><.*><.*><.*>//g}}% \expandafter\g@addto@macro\expandafter% - \cref@poorman@text\expandafter{\@tmpa^^J}% - \lowercase{\edef\@tmpa{s/||[cC]refname<.*><.*>//g}}% + \cref@poorman@text\expandafter{\@tempa^^J}% + \lowercase{\edef\@tempa{s/||[cC]refname<.*><.*>//g}}% \expandafter\g@addto@macro\expandafter% - \cref@poorman@text\expandafter{\@tmpa^^J}% - \lowercase{\edef\@tmpa{s/||[cC]reflabelformat<.*><.*>//g}}% + \cref@poorman@text\expandafter{\@tempa^^J}% + \lowercase{\edef\@tempa{s/||[cC]reflabelformat<.*><.*>//g}}% \expandafter\g@addto@macro\expandafter% - \cref@poorman@text\expandafter{\@tmpa^^J}% - \lowercase{\edef\@tmpa{s/||[cC]refrangelabelformat<.*><.*>//g}}% + \cref@poorman@text\expandafter{\@tempa^^J}% + \lowercase{\edef\@tempa{s/||[cC]refrangelabelformat<.*><.*>//g}}% \expandafter\g@addto@macro\expandafter% - \cref@poorman@text\expandafter{\@tmpa^^J}% - \lowercase{\edef\@tmpa{s/||[cC]refdefaultlabelformat<.*>//g}}% + \cref@poorman@text\expandafter{\@tempa^^J}% + \lowercase{\edef\@tempa{s/||[cC]refdefaultlabelformat<.*>//g}}% \expandafter\g@addto@macro\expandafter% - \cref@poorman@text\expandafter{\@tmpa^^J}% - \lowercase{\edef\@tmpa{% + \cref@poorman@text\expandafter{\@tempa^^J}% + \lowercase{\edef\@tempa{% s/||renewcommand<||crefpairconjunction><.*>//g}}% \expandafter\g@addto@macro\expandafter% - \cref@poorman@text\expandafter{\@tmpa^^J}% - \lowercase{\edef\@tmpa{% + \cref@poorman@text\expandafter{\@tempa^^J}% + \lowercase{\edef\@tempa{% s/||renewcommand<||crefpairgroupconjunction><.*>//g}}% \expandafter\g@addto@macro\expandafter% - \cref@poorman@text\expandafter{\@tmpa^^J}% - \lowercase{\edef\@tmpa{% + \cref@poorman@text\expandafter{\@tempa^^J}% + \lowercase{\edef\@tempa{% s/||renewcommand<||crefmiddleconjunction><.*>//g}}% \expandafter\g@addto@macro\expandafter% - \cref@poorman@text\expandafter{\@tmpa^^J}% - \lowercase{\edef\@tmpa{% + \cref@poorman@text\expandafter{\@tempa^^J}% + \lowercase{\edef\@tempa{% s/||renewcommand<||crefmiddlegroupconjunction><.*>//g}}% \expandafter\g@addto@macro\expandafter% - \cref@poorman@text\expandafter{\@tmpa^^J}% - \lowercase{\edef\@tmpa{% + \cref@poorman@text\expandafter{\@tempa^^J}% + \lowercase{\edef\@tempa{% s/||renewcommand<||creflastconjunction><.*>//g}}% \expandafter\g@addto@macro\expandafter% - \cref@poorman@text\expandafter{\@tmpa^^J}% - \lowercase{\edef\@tmpa{% + \cref@poorman@text\expandafter{\@tempa^^J}% + \lowercase{\edef\@tempa{% s/||renewcommand<||creflastgroupconjunction><.*>//g}}% \expandafter\g@addto@macro\expandafter% - \cref@poorman@text\expandafter{\@tmpa^^J}% - \lowercase{\edef\@tmpa{s/||renewcommand<||[cC]ref><.*>//g}}% + \cref@poorman@text\expandafter{\@tempa^^J}% + \lowercase{\edef\@tempa{s/||renewcommand<||[cC]ref><.*>//g}}% \expandafter\g@addto@macro\expandafter% - \cref@poorman@text\expandafter{\@tmpa^^J}% - \lowercase{\edef\@tmpa{s/||renewcommand<||[cC]refrange><.*>//g}}% + \cref@poorman@text\expandafter{\@tempa^^J}% + \lowercase{\edef\@tempa{s/||renewcommand<||[cC]refrange><.*>//g}}% \expandafter\g@addto@macro\expandafter% - \cref@poorman@text\expandafter{\@tmpa^^J}% + \cref@poorman@text\expandafter{\@tempa^^J}% \endgroup% \newwrite\@crefscript% \immediate\openout\@crefscript=\jobname.sed% @@ -2676,33 +2681,33 @@ \def\cref@getmeaning#1{\expandafter\@cref@getmeaning\meaning#1\@nil} \def\@cref@getmeaning#1->#2\@nil{#2} \def\cref@writescript#1#2{% - \edef\@tmpa{\cref@getmeaning{\cref@poorman@text}}% - \immediate\write\@crefscript{#1 s/#2/\@tmpa/g}} + \edef\@tempa{\cref@getmeaning{\cref@poorman@text}}% + \immediate\write\@crefscript{#1 s/#2/\@tempa/g}} \if@cref@hyperrefloaded\relax% hyperref loaded \def\@crefnostar#1#2{% \gdef\cref@poorman@text{}% \@cref{#1}{#2}% - \def\@tmpa##1##2\@nil{% + \def\@tempa##1##2\@nil{% \if##1c% \cref@writescript{}{\string\cref\string{#2\string}}% \else% \cref@writescript{}{\string\Cref\string{#2\string}}% \fi}% - \@tmpa#1\@nil} + \@tempa#1\@nil} \def\@crefstar#1#2{% \gdef\cref@poorman@text{}% \@crefstarredtrue\@cref{#1}{#2}\@crefstarredfalse% - \def\@tmpa##1##2\@nil{% + \def\@tempa##1##2\@nil{% \if##1c% \cref@writescript{}{\string\cref*\string{#2\string}}% \else% \cref@writescript{}{\string\Cref*\string{#2\string}}% \fi}% - \@tmpa#1\@nil} + \@tempa#1\@nil} \def\@crefrangenostar#1#2#3{% \gdef\cref@poorman@text{}% \@setcrefrange{#2}{#3}{#1}{}% - \def\@tmpa##1##2\@nil{% + \def\@tempa##1##2\@nil{% \if##1c% \cref@writescript{}{% \string\crefrange\string{#2\string}\string{#3\string}}% @@ -2710,11 +2715,11 @@ \cref@writescript{}{% \string\Crefrange\string{#2\string}\string{#3\string}}% \fi}% - \@tmpa#1\@nil} + \@tempa#1\@nil} \def\@crefrangestar#1#2#3{% \gdef\cref@poorman@text{}% \@crefstarredtrue\@setcrefrange{#2}{#3}{#1}{}\@crefstarredfalse% - \def\@tmpa##1##2\@nil{% + \def\@tempa##1##2\@nil{% \if##1c% \cref@writescript{}{% \string\crefrange*\string{#2\string}\string{#3\string}}% @@ -2722,7 +2727,7 @@ \cref@writescript{}{% \string\Crefrange*\string{#2\string}\string{#3\string}}% \fi}% - \@tmpa#1\@nil} + \@tempa#1\@nil} \else% hyperref not loaded \DeclareRobustCommand{\cref}[1]{% \edef\cref@poorman@text{}% @@ -2761,22 +2766,22 @@ \if@cref@legacyvarioref\@crefstarredfalse\fi% \@cref{#1}{#2} % space here is deliberate \let\if@crefstarred\if@tmp% - \def\@tmpstack{#2,\@nil}% - \cref@stack@topandbottom{\@tmpstack}{\@firstref}{\@lastref}% + \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\@tmpa{{\@firstref}{\@lastref}}% - \expandafter\def\expandafter\@tmpa\expandafter{% + \edef\@tempa{{\@firstref}{\@lastref}}% + \expandafter\def\expandafter\@tempa\expandafter{% \expandafter[\expandafter\unskip\expandafter]% - \@tmpa}% - \expandafter\vpagerefrange\@tmpa% + \@tempa}% + \expandafter\vpagerefrange\@tempa% \expandafter\g@addto@macro\expandafter\cref@poorman@text% - \expandafter{\expandafter\vpagerefrange\@tmpa}% + \expandafter{\expandafter\vpagerefrange\@tempa}% \fi% - \def\@tmpa##1##2\@nil{% + \def\@tempa##1##2\@nil{% \if##1c% \if@crefstarred% \cref@writescript{}{\string\vref*\string{#2\string}}% @@ -2790,14 +2795,14 @@ \cref@writescript{}{\string\Vref\string{#2\string}}% \fi% \fi}% - \@tmpa#1\@nil% + \@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\@tmpa##1##2\@nil{% + \def\@tempa##1##2\@nil{% \if##1c% \if@crefstarred% \cref@writescript{}{% @@ -2815,36 +2820,36 @@ \string\Vrefrange\string{#2\string}\string{#3\string}}% \fi% \fi}% - \@tmpa#1\@nil} + \@tempa#1\@nil} \def\cref@fullref#1#2{% \gdef\cref@poorman@text{}% \begingroup% \@cref{#1}{#2} % space here is deliberate - \def\@tmpstack{#2,\@nil}% - \cref@stack@topandbottom{\@tmpstack}{\@firstref}{\@lastref}% + \def\@tempstack{#2,\@nil}% + \cref@stack@topandbottom{\@tempstack}{\@firstref}{\@lastref}% \ifx\@lastref\@empty% \reftextfaraway{#2}% \def\@pageref{\reftextfaraway{#1}}% \else% \expandafter\vrefpagenum\expandafter% - \@tmpa\expandafter{\@firstref}% + \@tempa\expandafter{\@firstref}% \expandafter\vrefpagenum\expandafter% - \@tmpb\expandafter{\@lastref}% - \ifx\@tmpa\@tmpb% + \@tempb\expandafter{\@lastref}% + \ifx\@tempa\@tempb% \expandafter\reftextfaraway\expandafter{\@firstref}% \expandafter\def\expandafter\@pageref\expandafter{% \expandafter\reftextfaraway\expandafter{\@firstref}}% \else% - \edef\@tmpa{{\@firstref}{\@lastref}}% - \expandafter\reftextpagerange\@tmpa% + \edef\@tempa{{\@firstref}{\@lastref}}% + \expandafter\reftextpagerange\@tempa% \expandafter\def\expandafter\@pageref\expandafter{% - \expandafter\reftextpagerange\@tmpa}% + \expandafter\reftextpagerange\@tempa}% \fi% \fi% \g@addto@macro\cref@poorman@text{ }% \expandafter\g@addto@macro\expandafter\cref@poorman@text% \expandafter{\@pageref}% - \def\@tmpa##1##2\@nil{% + \def\@tempa##1##2\@nil{% \if##1c% \if@crefstarred% \cref@writescript{}{\string\fullref*\string{#2\string}}% @@ -2858,7 +2863,7 @@ \cref@writescript{}{\string\Fullref\string{#2\string}}% \fi% \fi}% - \@tmpa#1\@nil% + \@tempa#1\@nil% \endgroup} }% end of \AtBeginDocument }{}% end of \@ifpackageloaded{varioref} @@ -2876,14 +2881,14 @@ \expandafter{\creflastgroupconjunction}} \if@cref@hyperrefloaded\relax% hyperref loaded \def\@@setcref#1#2{% - \cref@getlabel{#2}{\@tmplabel}% + \cref@getlabel{#2}{\@templabel}% \if@crefstarred% - #1{\@tmplabel}{}{}% + #1{\@templabel}{}{}% \expandafter\g@addto@macro\expandafter\cref@poorman@text% \expandafter{#1{\ref*{#2}}{}{}}% \else% - \edef\@tmplink{\cref@hyperref{#2}}% - #1{\@tmplabel}{\hyper@linkstart{link}{\@tmplink}}% + \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}}{}{}}% @@ -2992,6 +2997,7 @@ \Crefname@preamble{remark}{Remark}{Remarks}% \Crefname@preamble{note}{Note}{Notes}% \Crefname@preamble{algorithm}{Algorithm}{Algorithms}% + \Crefname@preamble{listing}{Listing}{Listings}% \Crefname@preamble{line}{Line}{Lines}% \if@cref@capitalise% \crefname@preamble{equation}{Eq.}{Eqs.}% @@ -3013,6 +3019,7 @@ \crefname@preamble{remark}{Remark}{Remarks}% \crefname@preamble{note}{Note}{Notes}% \crefname@preamble{algorithm}{Algorithm}{Algorithms}% + \crefname@preamble{listing}{Listing}{Listings}% \crefname@preamble{line}{Line}{Lines}% \else% \crefname@preamble{equation}{eq.}{eqs.}% @@ -3034,6 +3041,7 @@ \crefname@preamble{remark}{remark}{remarks}% \crefname@preamble{note}{note}{notes}% \crefname@preamble{algorithm}{algorithm}{algorithms}% + \crefname@preamble{listing}{listing}{listings}% \crefname@preamble{line}{line}{lines}% \fi% \def\cref@language{english}% @@ -3077,6 +3085,7 @@ \Crefname{remark}{Remark}{Remarks}% \Crefname{note}{Note}{Notes}% \Crefname{algorithm}{Algorithm}{Algorithms}% + \Crefname{listing}{Listing}{Listings}% \Crefname{line}{Line}{Lines}% \if@cref@capitalise% \crefname{equation}{Eq.}{Eqs.}% @@ -3109,6 +3118,7 @@ \crefname{remark}{Remark}{Remarks}% \crefname{note}{Note}{Notes}% \crefname{algorithm}{Algorithm}{Algorithms}% + \crefname{listing}{Listing}{Listings}% \crefname{line}{Line}{Lines}% \else% \crefname{equation}{eq.}{eqs.}% @@ -3141,6 +3151,7 @@ \crefname{remark}{remark}{remarks}% \crefname{note}{note}{notes}% \crefname{algorithm}{algorithm}{algorithms}% + \crefname{listing}{listing}{listings}% \crefname{line}{line}{lines}% \fi% }}} @@ -3175,6 +3186,7 @@ \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}% \if@cref@capitalise% \crefname@preamble{equation}{Gleichung}{Gleichungen}% @@ -3196,6 +3208,7 @@ \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}% @@ -3217,6 +3230,7 @@ \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% \def\cref@language{german}% @@ -3260,6 +3274,7 @@ \Crefname{remark}{Bemerkung}{Bemerkungen}% \Crefname{note}{Anmerkung}{Anmerkungen}% \Crefname{algorithm}{Algorithmus}{Algorithmen}% + \Crefname{listing}{Listing}{Listings}% \Crefname{line}{Zeile}{Zeilen}% \if@cref@capitalise% \crefname{equation}{Gleichung}{Gleichungen}% @@ -3292,6 +3307,7 @@ \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}% @@ -3324,6 +3340,7 @@ \crefname{remark}{Bemerkung}{Bemerkungen}% \crefname{note}{Anmerkung}{Anmerkungen}% \crefname{algorithm}{Algorithmus}{Algorithmen}% + \crefname{listing}{Listing}{Listings}% \crefname{line}{Zeile}{Zeilen}% \fi% }}} @@ -3372,6 +3389,7 @@ \Crefname{remark}{Bemerkung}{Bemerkungen}% \Crefname{note}{Anmerkung}{Anmerkungen}% \Crefname{algorithm}{Algorithmus}{Algorithmen}% + \Crefname{listing}{Listing}{Listings}% \Crefname{line}{Zeile}{Zeilen}% \if@cref@capitalise% \crefname{equation}{Gleichung}{Gleichungen}% @@ -3404,6 +3422,7 @@ \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}% @@ -3436,6 +3455,7 @@ \crefname{remark}{Bemerkung}{Bemerkungen}% \crefname{note}{Anmerkung}{Anmerkungen}% \crefname{algorithm}{Algorithmus}{Algorithmen}% + \crefname{listing}{Listing}{Listings}% \crefname{line}{Zeile}{Zeilen}% \fi% }}} @@ -3469,6 +3489,7 @@ \Crefname@preamble{remark}{Opmerking}{Opmerkingen}% \Crefname@preamble{note}{Aantekening}{Aantekeningen}% \Crefname@preamble{algorithm}{Algoritme}{Algoritmen}% + \Crefname@preamble{listing}{Listing}{Listings}% \Crefname@preamble{line}{Lijn}{Lijnen}% \if@cref@capitalise% \crefname@preamble{equation}{Verg.}{Verg's.}% @@ -3490,6 +3511,7 @@ \crefname@preamble{remark}{Opmerking}{Opmerkingen}% \crefname@preamble{note}{Aantekening}{Aantekeningen}% \crefname@preamble{algorithm}{Algoritme}{Algoritmen}% + \crefname@preamble{listing}{Listing}{Listings}% \crefname@preamble{line}{Lijn}{Lijnen}% \else% \crefname@preamble{equation}{verg.}{verg's.}% @@ -3511,6 +3533,7 @@ \crefname@preamble{remark}{opmerking}{opmerkingen}% \crefname@preamble{note}{aantekening}{aantekeningen}% \crefname@preamble{algorithm}{algoritme}{algoritmen}% + \crefname@preamble{listing}{listing}{listings}% \crefname@preamble{line}{lijn}{lijnen}% \fi% \def\cref@language{dutch}% @@ -3554,6 +3577,7 @@ \Crefname{remark}{Opmerking}{Opmerkingen}% \Crefname{note}{Aantekening}{Aantekeningen}% \Crefname{algorithm}{Algoritme}{Algoritmen}% + \Crefname{listing}{Listing}{Listings}% \Crefname{line}{Lijn}{Lijnen}% \if@cref@capitalise% \crefname{equation}{Verg.}{Verg's.}% @@ -3575,6 +3599,7 @@ \crefname{remark}{Opmerking}{Opmerkingen}% \crefname{note}{Aantekening}{Aantekeningen}% \crefname{algorithm}{Algoritme}{Algoritmen}% + \crefname{listing}{Listing}{Listings}% \crefname{line}{Lijn}{Lijnen}% \else% \crefname{equation}{verg.}{verg's.}% @@ -3596,6 +3621,7 @@ \crefname{remark}{opmerking}{opmerkingen}% \crefname{note}{aantekening}{aantekeningen}% \crefname{algorithm}{algoritme}{algoritmen}% + \crefname{listing}{listing}{listings}% \crefname{line}{lijn}{lijnen}% \fi% }}} @@ -3629,6 +3655,7 @@ \Crefname@preamble{example}{Exemple}{Exemples}% \Crefname@preamble{remark}{Remarque}{Remarques}% \Crefname@preamble{algorithm}{Algorithme}{Algorithmes}% + \Crefname@preamble{listing}{Liste}{Listes}% \Crefname@preamble{line}{Ligne}{Lignes}% \if@cref@capitalise% \crefname@preamble{equation}{{\'E}quation}{{\'E}quations}% @@ -3650,6 +3677,7 @@ \crefname@preamble{remark}{Remarque}{Remarques}% \crefname@preamble{note}{Commentaire}{Commentaires}% \crefname@preamble{algorithm}{Algorithme}{Algorithmes}% + \crefname@preamble{listing}{Liste}{Listes}% \crefname@preamble{line}{Ligne}{Lignes}% \else% \crefname@preamble{equation}{{\'e}quation}{{\'e}quations}% @@ -3671,6 +3699,7 @@ \crefname@preamble{remark}{remarque}{remarques}% \crefname@preamble{note}{commentaire}{commentaires}% \crefname@preamble{algorithm}{algorithme}{algorithmes}% + \crefname@preamble{listing}{liste}{listes}% \crefname@preamble{line}{ligne}{lignes}% \fi% \def\cref@language{french}% @@ -3714,6 +3743,7 @@ \Crefname{remark}{Remarque}{Remarques}% \Crefname{note}{Commentaire}{Commentaires}% \Crefname{algorithm}{Algorithme}{Algorithmes}% + \Crefname{listing}{Liste}{Listes}% \Crefname{line}{Ligne}{Lignes}% \if@cref@capitalise% \crefname{equation}{{\'E}quation}{{\'E}quations}% @@ -3746,6 +3776,7 @@ \crefname{remark}{Remarque}{Remarques}% \crefname{note}{Commentaire}{Commentaires}% \crefname{algorithm}{Algorithme}{Algorithmes}% + \crefname{listing}{Liste}{Listes}% \crefname{line}{Ligne}{Lignes}% \else% \crefname{equation}{{\'e}quation}{{\'e}quations}% @@ -3778,6 +3809,7 @@ \crefname{remark}{remarque}{remarques}% \crefname{note}{commentaire}{commentaires}% \crefname{algorithm}{algorithme}{algorithmes}% + \crefname{listing}{liste}{listes}% \crefname{line}{ligne}{lignes}% \fi% }}} @@ -3812,6 +3844,7 @@ \Crefname@preamble{remark}{Observaci\'on}{Observaciones}% \Crefname@preamble{note}{Nota}{Notas}% \Crefname@preamble{algorithm}{Algoritmo}{Algoritmos}% + \Crefname@preamble{listing}{Listado}{Listados}% \Crefname@preamble{line}{L\'inea}{L\'ineas}% \if@cref@capitalise% \crefname@preamble{equation}{Ecuaci\'on}{Ecuaciones}% @@ -3833,6 +3866,7 @@ \crefname@preamble{remark}{Observaci\'on}{Observaciones}% \crefname@preamble{note}{Nota}{Notas}% \crefname@preamble{algorithm}{Algoritmo}{Algoritmos}% + \crefname@preamble{listing}{Listado}{Listados}% \crefname@preamble{line}{L\'inea}{L\'ineas}% \else% \crefname@preamble{equation}{ecuaci\'on}{ecuaciones}% @@ -3854,6 +3888,7 @@ \crefname@preamble{remark}{observaci\'on}{observaciones}% \crefname@preamble{note}{nota}{notas}% \crefname@preamble{algorithm}{algoritmo}{algoritmos}% + \crefname@preamble{listing}{listado}{listados}% \crefname@preamble{line}{l\'inea}{l\'ineas}% \fi% \def\cref@language{spanish}% @@ -3897,6 +3932,7 @@ \Crefname{remark}{Observaci\'on}{Observaci\'on}% \Crefname{note}{Nota}{Notas}% \Crefname{algorithm}{Algoritmo}{Algoritmos}% + \Crefname{listing}{Listado}{Listados}% \Crefname{line}{L\'inea}{L\'ineas}% \if@cref@capitalise% \crefname{equation}{Ecuaci\'on}{Ecuaciones}% @@ -3929,6 +3965,7 @@ \crefname{remark}{Observaci\'on}{Observaci\'ones}% \crefname{note}{Nota}{Notas}% \crefname{algorithm}{Algoritmo}{Algoritmos}% + \crefname{listing}{Listado}{Listados}% \crefname{line}{L\'inea}{L\'ineas}% \else% \crefname{equation}{ecuaci\'on}{ecuaciones}% @@ -3961,6 +3998,7 @@ \crefname{remark}{observaci\'on}{observaci\'ones}% \crefname{note}{nota}{notas}% \crefname{algorithm}{algoritmo}{algoritmos}% + \crefname{listing}{listado}{listados}% \crefname{line}{l\'inea}{l\'ineas}% \fi% }}} @@ -3995,6 +4033,7 @@ \Crefname@preamble{remark}{Osservazione}{Osservazioni}% \Crefname@preamble{note}{Nota}{Note}% \Crefname@preamble{algorithm}{Algoritmo}{Algoritmi}% + \Crefname@preamble{listing}{Elenco}{Elenchi}% \Crefname@preamble{line}{Linea}{Linee}% \if@cref@capitalise% \crefname@preamble{equation}{Eq.}{Eq.}% @@ -4016,6 +4055,7 @@ \crefname@preamble{remark}{Osservazione}{Osservazioni}% \crefname@preamble{note}{Nota}{Note}% \crefname@preamble{algorithm}{Algoritmo}{Algoritmi}% + \crefname@preamble{listing}{Elenco}{Elenchi}% \crefname@preamble{line}{Linea}{Linee}% \else% \crefname@preamble{equation}{eq.}{eq.}% @@ -4037,6 +4077,7 @@ \crefname@preamble{remark}{osservazione}{osservazioni}% \crefname@preamble{note}{nota}{note}% \crefname@preamble{algorithm}{algoritmo}{algoritmi}% + \crefname@preamble{listing}{elenco}{elenchi}% \crefname@preamble{line}{linea}{linee}% \fi% \def\cref@language{italian}% @@ -4080,6 +4121,7 @@ \Crefname{remark}{Osservazione}{Osservazioni}% \Crefname{note}{Nota}{Note}% \Crefname{algorithm}{Algoritmo}{Algoritmi}% + \Crefname{listing}{Elenco}{Elenchi}% \Crefname{line}{Linea}{Linee}% \if@cref@capitalise% \crefname{equation}{Eq.}{Eq.}% @@ -4112,6 +4154,7 @@ \crefname{remark}{Osservazione}{Osservazioni}% \crefname{note}{Nota}{Note}% \crefname{algorithm}{Algoritmo}{Algoritmi}% + \crefname{listing}{Elenco}{Elenchi}% \crefname{line}{Linea}{Linee}% \else% \crefname{equation}{eq.}{eq.}% @@ -4144,6 +4187,7 @@ \crefname{remark}{osservazione}{osservazioni}% \crefname{note}{nota}{note}% \crefname{algorithm}{algoritmo}{algoritmi}% + \crefname{listing}{elenco}{elenchi}% \crefname{line}{linea}{linee}% \fi% }}} @@ -4217,6 +4261,9 @@ \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}% @@ -4276,6 +4323,9 @@ \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}% @@ -4333,6 +4383,9 @@ \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.}% @@ -4439,6 +4492,9 @@ \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}% @@ -4521,6 +4577,9 @@ \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}% @@ -4603,6 +4662,9 @@ \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.}% @@ -4678,6 +4740,9 @@ \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}% @@ -4735,6 +4800,9 @@ \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}% @@ -4792,6 +4860,9 @@ \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.}% @@ -4898,6 +4969,9 @@ \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}% @@ -4980,6 +5054,9 @@ \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}% @@ -5060,6 +5137,9 @@ \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.}% @@ -5077,175 +5157,331 @@ \def\crefpairgroupconjunction@preamble{ og\nobreakspace}% \def\crefmiddlegroupconjunction@preamble{, }% \def\creflastgroupconjunction@preamble{ og\nobreakspace}% - \Crefname@preamble{equation}{Likning}{Likninger}% - \Crefname@preamble{part}{Del}{Deler}% - \Crefname@preamble{chapter}{Kapittel}{Kapitler}% - \Crefname@preamble{section}{Avsnitt}{Avsnitt}% - \Crefname@preamble{appendix}{Tillegg}{Tillegg}% + \Crefname@preamble{equation}{Likning}{Likningene}% + \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}% + \Crefname@preamble{proposition}{P\aa stand}{P\aa standene}% + \Crefname@preamble{definition}{Definisjon}{Definisjonene}% + \Crefname@preamble{result}{Resultat}{Resultatene}% + \Crefname@preamble{example}{Eksempel}{Eksemplene}% + \Crefname@preamble{remark}{Bemerkning}{Bemerkningene}% + \Crefname@preamble{note}{Note}{Notene}% + \Crefname@preamble{algorithm}{Algoritme}{Algoritmene}% + \Crefname@preamble{listing}{Opplisting}{Opplistingene}% + \Crefname@preamble{line}{Linje}{Linjene}% + \if@cref@capitalise% + \crefname@preamble{equation}{Likning}{Likningene}% + \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}% + \crefname@preamble{proposition}{P\aa stand}{P\aa standene}% + \crefname@preamble{definition}{Definisjon}{Definisjonene}% + \crefname@preamble{result}{Resultat}{Resultatene}% + \crefname@preamble{example}{Eksempel}{Eksemplene}% + \crefname@preamble{remark}{Bemerkning}{Bemerkningene}% + \crefname@preamble{note}{Note}{Notene}% + \crefname@preamble{algorithm}{Algoritme}{Algoritmene}% + \crefname@preamble{listing}{Opplisting}{Opplistingene}% + \crefname@preamble{line}{Linje}{Linjene}% + \else% + \crefname@preamble{equation}{likning}{likningene}% + \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}% + \crefname@preamble{proposition}{p\aa stand}{p\aa standene}% + \crefname@preamble{definition}{definisjon}{definisjonene}% + \crefname@preamble{result}{resultat}{resultatene}% + \crefname@preamble{example}{eksempel}{eksemplene}% + \crefname@preamble{remark}{bemerkning}{bemerkningene}% + \crefname@preamble{note}{note}{notene}% + \crefname@preamble{algorithm}{algoritme}{algoritmene}% + \crefname@preamble{listing}{opplisting}{opplistingene}% + \crefname@preamble{line}{linje}{linjene}% + \fi% + \def\cref@language{norsk}% + \cref@addto\extrasnorsk{% + \renewcommand{\crefrangeconjunction}{ til\nobreakspace}% + \renewcommand\crefrangepreconjunction{}% + \renewcommand\crefrangepostconjunction{}% + \renewcommand{\crefpairconjunction}{ og\nobreakspace}% + \renewcommand{\crefmiddleconjunction}{, }% + \renewcommand{\creflastconjunction}{ og\nobreakspace}% + \renewcommand{\crefpairgroupconjunction}{ og\nobreakspace}% + \renewcommand{\crefmiddlegroupconjunction}{, }% + \renewcommand{\creflastgroupconjunction}{ og\nobreakspace}% + \Crefname{equation}{Likning}{Likningene}% + \Crefname{part}{Del}{Delene}% + \Crefname{chapter}{Kapittel}{Kapitlene}% + \Crefname{section}{Avsnitt}{Avsnittene}% + \Crefname{subsection}{Avsnitt}{Avsnittene}% + \Crefname{subsubsection}{Avsnitt}{Avsnittene}% + \Crefname{appendix}{Tillegg}{Tilleggene}% + \Crefname{subappendix}{Tillegg}{Tilleggene}% + \Crefname{subsubappendix}{Tillegg}{Tilleggene}% + \Crefname{subsubsubappendix}{Tillegg}{Tilleggene}% + \Crefname{enumi}{Punkt}{Punktene}% + \Crefname{enumii}{Punkt}{Punktene}% + \Crefname{enumiii}{Punkt}{Punktene}% + \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}% + \Crefname{proposition}{P\aa stand}{P\aa standene}% + \Crefname{definition}{Definisjon}{Definisjonene}% + \Crefname{result}{Resultat}{Resultatene}% + \Crefname{example}{Eksempel}{Eksemplene}% + \Crefname{remark}{Bemerkning}{Bemerkningene}% + \Crefname{note}{Note}{Notene}% + \Crefname{algorithm}{Algoritme}{Algoritmene}% + \Crefname{listing}{Opplisting}{Opplistingene}% + \Crefname{line}{Linje}{Linjene}% + \if@cref@capitalise% + \crefname{equation}{Likning}{Likningene}% + \crefname{part}{Del}{Delene}% + \crefname{chapter}{Kapittel}{Kapitlene}% + \crefname{section}{Avsnitt}{Avsnittene}% + \crefname{subsection}{Avsnitt}{Avsnittene}% + \crefname{subsubsection}{Avsnitt}{Avsnittene}% + \crefname{appendix}{Tillegg}{Tilleggene}% + \crefname{subappendix}{Tillegg}{Tilleggene}% + \crefname{subsubappendix}{Tillegg}{Tilleggene}% + \crefname{subsubsubappendix}{Tillegg}{Tilleggene}% + \crefname{enumi}{Punkt}{Punktene}% + \crefname{enumii}{Punkt}{Punktene}% + \crefname{enumiii}{Punkt}{Punktene}% + \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}% + \crefname{proposition}{P\aa stand}{P\aa standene}% + \crefname{definition}{Definisjon}{Definisjonene}% + \crefname{result}{Resultat}{Resultatene}% + \crefname{example}{Eksempel}{Eksemplene}% + \crefname{remark}{Bemerkning}{Bemerkningene}% + \crefname{note}{Note}{Notene}% + \crefname{algorithm}{Algoritme}{Algoritmene}% + \crefname{listing}{Opplisting}{Opplistingene}% + \crefname{line}{Linje}{Linjene}% + \else% + \crefname{equation}{likning}{likningene}% + \crefname{part}{del}{delene}% + \crefname{chapter}{kapittel}{kapitlene}% + \crefname{section}{avsnitt}{avsnittene}% + \crefname{subsection}{avsnitt}{avsnittene}% + \crefname{subsubsection}{avsnitt}{avsnittene}% + \crefname{appendix}{tillegg}{tilleggene}% + \crefname{subappendix}{tillegg}{tilleggene}% + \crefname{subsubappendix}{tillegg}{tilleggene}% + \crefname{subsubsubappendix}{tillegg}{tilleggene}% + \crefname{enumi}{punkt}{punktene}% + \crefname{enumii}{punkt}{punktene}% + \crefname{enumiii}{punkt}{punktene}% + \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}% + \crefname{proposition}{p\aa stand}{p\aa standene}% + \crefname{definition}{definisjon}{definisjonene}% + \crefname{result}{resultat}{resultatene}% + \crefname{example}{eksempel}{eksemplene}% + \crefname{remark}{bemerkning}{bemerkningene}% + \crefname{note}{note}{notene}% + \crefname{algorithm}{algoritme}{algoritmene}% + \crefname{listing}{opplisting}{opplistingene}% + \crefname{line}{linje}{linjene}% + \fi% + }}} +\DeclareOption{danish}{% + \PackageInfo{cleveref}{loaded danish language definitions} + \AtBeginDocument{% + \def\crefrangeconjunction@preamble{ til\nobreakspace}% + \def\crefrangepreconjunction@preamble{}% + \def\crefrangepostconjunction@preamble{}% + \def\crefpairconjunction@preamble{ og\nobreakspace}% + \def\crefmiddleconjunction@preamble{, }% + \def\creflastconjunction@preamble{ og\nobreakspace}% + \def\crefpairgroupconjunction@preamble{ og\nobreakspace}% + \def\crefmiddlegroupconjunction@preamble{, }% + \def\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}{Fotnote}{Fotnoter}% + \Crefname@preamble{footnote}{Fodnote}{Fodnoter}% \Crefname@preamble{figure}{Figur}{Figurer}% - \Crefname@preamble{table}{Tabell}{Tabeller}% + \Crefname@preamble{table}{Tabel}{Tabeller}% \Crefname@preamble{theorem}{Teorem}{Teoremer}% \Crefname@preamble{lemma}{Lemma}{Lemma}% - \Crefname@preamble{corollary}{Korollar}{Korollarer}% - \Crefname@preamble{proposition}{P\aa stand}{P\aa stander}% - \Crefname@preamble{definition}{Definisjon}{Definisjoner}% - \Crefname@preamble{result}{Resultat}{Resultat}% + \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}{Bemerkning}{Bemerkninger}% + \Crefname@preamble{remark}{Bem\ae rkning}{Bem\ae rkninger}% \Crefname@preamble{note}{Note}{Noter}% - \Crefname@preamble{algorithm}{Algoritme }{Algoritmer}% + \Crefname@preamble{algorithm}{Algoritme}{Algoritmer}% \Crefname@preamble{line}{Linje}{Linjer}% \if@cref@capitalise% - \crefname@preamble{equation}{Likning}{Likninger}% - \crefname@preamble{part}{Del}{Deler}% - \crefname@preamble{chapter}{Kapittel}{Kapitler}% - \crefname@preamble{section}{Avsnitt}{Avsnitt}% - \crefname@preamble{appendix}{Tillegg}{Tillegg}% + \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}{Fotnote}{Fotnoter}% + \crefname@preamble{footnote}{Fodnote}{Fodnoter}% \crefname@preamble{figure}{Figur}{Figurer}% - \crefname@preamble{table}{Tabell}{Tabeller}% + \crefname@preamble{table}{Tabel}{Tabeller}% \crefname@preamble{theorem}{Teorem}{Teoremer}% \crefname@preamble{lemma}{Lemma}{Lemma}% - \crefname@preamble{corollary}{Korollar}{Korollarer}% - \crefname@preamble{proposition}{P\aa stand}{P\aa stander}% - \crefname@preamble{definition}{Definisjon}{Definisjoner}% + \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}{Bemerkning}{Bemerkninger}% + \crefname@preamble{remark}{Bem\ae rkning}{Bem\ae rkninger}% \crefname@preamble{note}{Note}{Noter}% \crefname@preamble{algorithm}{Algoritme}{Algoritmer}% \crefname@preamble{line}{Linje}{Linjer}% \else% - \crefname@preamble{equation}{likning}{likninger}% - \crefname@preamble{part}{del}{deler}% - \crefname@preamble{chapter}{kapittel}{kapitler}% - \crefname@preamble{section}{avsnitt}{avsnitt}% - \crefname@preamble{appendix}{tillegg}{tillegg}% + \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}{fotnote}{fotnoter}% + \crefname@preamble{footnote}{fodnote}{fodnoter}% \crefname@preamble{figure}{figur}{figurer}% - \crefname@preamble{table}{tabell}{tabeller}% + \crefname@preamble{table}{tabel}{tabeller}% \crefname@preamble{theorem}{teorem}{teoremer}% \crefname@preamble{lemma}{lemma}{lemma}% - \crefname@preamble{corollary}{korollar}{korollarer}% - \crefname@preamble{proposition}{p\aa stand}{p\aa stander}% - \crefname@preamble{definition}{definisjon}{definisjoner}% + \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}{bemerkning}{bemerkninger}% + \crefname@preamble{remark}{bem\ae rkning}{bem\ae rkninger}% \crefname@preamble{note}{note}{noter}% \crefname@preamble{algorithm}{algoritme}{algoritmer}% \crefname@preamble{line}{linje}{linjer}% \fi% - \def\cref@language{norsk}% - \cref@addto\extrasnorsk{% - \renewcommand{\crefrangeconjunction}{ til\nobreakspace}% - \renewcommand\crefrangepreconjunction{}% - \renewcommand\crefrangepostconjunction{}% - \renewcommand{\crefpairconjunction}{ og\nobreakspace}% - \renewcommand{\crefmiddleconjunction}{, }% - \renewcommand{\creflastconjunction}{ og\nobreakspace}% - \renewcommand{\crefpairgroupconjunction}{ og\nobreakspace}% - \renewcommand{\crefmiddlegroupconjunction}{, }% - \renewcommand{\creflastgroupconjunction}{ og\nobreakspace}% - \Crefname{equation}{Likning}{Likninger}% - \Crefname{part}{Del}{Deler}% - \Crefname{chapter}{Kapittel}{Kapitler}% - \Crefname{section}{Avsnitt}{Avsnitt}% - \Crefname{subsection}{Avsnitt}{Avsnitt}% - \Crefname{subsubsection}{Avsnitt}{Avsnitt}% - \Crefname{appendix}{Tillegg}{Tillegg}% - \Crefname{subappendix}{Tillegg}{Tillegg}% - \Crefname{subsubappendix}{Tillegg}{Tillegg}% - \Crefname{subsubsubappendix}{Tillegg}{Tillegg}% - \Crefname{enumi}{Punkt}{Punkter}% - \Crefname{enumii}{Punkt}{Punkter}% - \Crefname{enumiii}{Punkt}{Punkter}% - \Crefname{enumiv}{Punkt}{Punkter}% - \Crefname{enumv}{Punkt}{Punkter}% - \Crefname{footnote}{Fotnote}{Fotnoter}% - \Crefname{figure}{Figur}{Figurer}% - \Crefname{subfigure}{Figur}{Figurer}% - \Crefname{table}{Tabell}{Tabeller}% - \Crefname{subtable}{Tabell}{Tabeller}% - \Crefname{theorem}{Teorem}{Teoremer}% - \Crefname{lemma}{Lemma}{Lemma}% - \Crefname{corollary}{Korollar}{Korollarer}% - \Crefname{proposition}{P\aa stand}{P\aa stander}% - \Crefname{definition}{Definisjon}{Definisjoner}% - \Crefname{result}{Resultat}{Resultater}% - \Crefname{example}{Eksempel}{Eksempler}% - \Crefname{remark}{Bemerkning}{Bemerkninger}% - \Crefname{note}{Note}{Noter}% - \Crefname{algorithm}{Algoritme}{Algoritmer}% - \Crefname{line}{Linje}{Linjer}% - \if@cref@capitalise% - \crefname{equation}{Likning}{Likninger}% - \crefname{part}{Del}{Deler}% - \crefname{chapter}{Kapittel}{Kapitler}% - \crefname{section}{Avsnitt}{Avsnitt}% - \crefname{subsection}{Avsnitt}{Avsnitt}% - \crefname{subsubsection}{Avsnitt}{Avsnitt}% - \crefname{appendix}{Tillegg}{Tillegg}% - \crefname{subappendix}{Tillegg}{Tillegg}% - \crefname{subsubappendix}{Tillegg}{Tillegg}% - \crefname{subsubsubappendix}{Tillegg}{Tillegg}% - \crefname{enumi}{Punkt}{Punkter}% - \crefname{enumii}{Punkt}{Punkter}% - \crefname{enumiii}{Punkt}{Punkter}% - \crefname{enumiv}{Punkt}{Punkter}% - \crefname{enumv}{Punkt}{Punkter}% - \crefname{footnote}{Fotnote}{Fotnoter}% - \crefname{figure}{Figur}{Figurer}% - \crefname{subfigure}{Figur}{Figurer}% - \crefname{table}{Tabell}{Tabeller}% - \crefname{subtable}{Tabell}{Tabeller}% - \crefname{theorem}{Teorem}{Teoremer}% - \crefname{lemma}{Lemma}{Lemma}% - \crefname{corollary}{Korollar}{Korollarer}% - \crefname{proposition}{P\aa stand}{P\aa stand}% - \crefname{definition}{Definisjon}{Definisjoner}% - \crefname{result}{Resultat}{Resultat}% - \crefname{example}{Eksempel}{Eksempler}% - \crefname{remark}{Merknad}{Bemerkninger}% - \crefname{note}{Note}{Noter}% - \crefname{algorithm}{Algoritme}{Algoritmer}% - \crefname{line}{Linje}{Linjer}% - \else% - \crefname{equation}{likning}{likninger}% - \crefname{part}{del}{deler}% - \crefname{chapter}{kapittel}{kapitler}% - \crefname{section}{avsnitt}{avsnitt}% - \crefname{subsection}{avsnitt}{avsnitt}% - \crefname{subsubsection}{avsnitt}{avsnitt}% - \crefname{appendix}{tillegg}{tillegg}% - \crefname{subappendix}{tillegg}{tillegg}% - \crefname{subsubappendix}{tillegg}{tillegg}% - \crefname{subsubsubappendix}{tillegg}{tillegg}% - \crefname{enumi}{punkt}{punkter}% - \crefname{enumii}{punkt}{punkter}% - \crefname{enumiii}{punkt}{punkter}% - \crefname{enumiv}{punkt}{punkter}% - \crefname{enumv}{punkt}{punkter}% - \crefname{footnote}{fotnote}{fotnoter}% - \crefname{figure}{figur}{figurer}% - \crefname{subfigure}{figur}{figurer}% - \crefname{table}{tabell}{tabeller}% - \crefname{subtable}{tabell}{tabell}% - \crefname{theorem}{teorem}{teoremer}% - \crefname{lemma}{lemma}{lemma}% - \crefname{corollary}{korollar}{korollarer}% - \crefname{proposition}{p\aa stand}{p\aa stand}% - \crefname{definition}{definisjon}{definisjoner}% - \crefname{result}{resultat}{resultater}% - \crefname{example}{eksempel}{eksempler}% - \crefname{remark}{bemerkning}{bemerkninger}% - \crefname{note}{note}{noter}% - \crefname{algorithm}{algoritme}{algoritmer}% - \crefname{line}{linje}{linjer}% + \def\cref@language{danish}% + \cref@addto\extrasdanish{% + \renewcommand{\crefrangeconjunction@preamble}{ til\nobreakspace}% + \renewcommand\crefrangepreconjunction@preamble{}% + \renewcommand\crefrangepostconjunction@preamble{}% + \renewcommand{\crefpairconjunction@preamble}{ og\nobreakspace}% + \renewcommand{\crefmiddleconjunction@preamble}{, }% + \renewcommand{\creflastconjunction@preamble}{ og\nobreakspace}% + \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}% + \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}% + \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}% \fi% }}} \edef\@curroptions{\@ptionlist{\@currname.\@currext}}% @@ -5263,71 +5499,71 @@ \ExecuteOptions{english} \ProcessOptions*\relax \AtBeginDocument{% - \edef\@tmpa{% + \edef\@tempa{% \expandafter\noexpand\csname extras\cref@language\endcsname}% \@ifundefined{crefrangeconjunction}{% \let\crefrangeconjunction\crefrangeconjunction@preamble% }{% - \expandafter\def\expandafter\@tmpb\expandafter{% + \expandafter\def\expandafter\@tempb\expandafter{% \expandafter\renewcommand\expandafter% {\expandafter\crefrangeconjunction\expandafter}% \expandafter{\crefrangeconjunction}}% \expandafter\expandafter\expandafter\cref@addto% - \expandafter\@tmpa\expandafter{\@tmpb}% + \expandafter\@tempa\expandafter{\@tempb}% }% \@ifundefined{crefrangepreconjunction}{% \let\crefrangepreconjunction\crefrangepreconjunction@preamble% }{% - \expandafter\def\expandafter\@tmpb\expandafter{% + \expandafter\def\expandafter\@tempb\expandafter{% \expandafter\renewcommand\expandafter% {\expandafter\crefrangepreconjunction\expandafter}% \expandafter{\crefrangepreconjunction}}% \expandafter\expandafter\expandafter\cref@addto% - \expandafter\@tmpa\expandafter{\@tmpb}% + \expandafter\@tempa\expandafter{\@tempb}% }% \@ifundefined{crefrangepostconjunction}{% \let\crefrangepostconjunction\crefrangepostconjunction@preamble% }{% - \expandafter\def\expandafter\@tmpb\expandafter{% + \expandafter\def\expandafter\@tempb\expandafter{% \expandafter\renewcommand\expandafter% {\expandafter\crefrangepostconjunction\expandafter}% \expandafter{\crefrangepostconjunction}}% \expandafter\expandafter\expandafter\cref@addto% - \expandafter\@tmpa\expandafter{\@tmpb}% + \expandafter\@tempa\expandafter{\@tempb}% }% \@ifundefined{crefpairconjunction}{% \let\crefpairconjunction\crefpairconjunction@preamble% }{% - \expandafter\def\expandafter\@tmpb\expandafter{% + \expandafter\def\expandafter\@tempb\expandafter{% \expandafter\renewcommand\expandafter% {\expandafter\crefpairconjunction\expandafter}% \expandafter{\crefpairconjunction}}% \expandafter\expandafter\expandafter\cref@addto% - \expandafter\@tmpa\expandafter{\@tmpb}% + \expandafter\@tempa\expandafter{\@tempb}% \@ifundefined{crefpairgroupconjunction}{% \let\crefpairgroupconjunction\crefpairconjunction}{}% }% \@ifundefined{crefmiddleconjunction}{% \let\crefmiddleconjunction\crefmiddleconjunction@preamble% }{% - \expandafter\def\expandafter\@tmpb\expandafter{% + \expandafter\def\expandafter\@tempb\expandafter{% \expandafter\renewcommand\expandafter% {\expandafter\crefmiddleconjunction\expandafter}% \expandafter{\crefmiddleconjunction}}% \expandafter\expandafter\expandafter\cref@addto% - \expandafter\@tmpa\expandafter{\@tmpb}% + \expandafter\@tempa\expandafter{\@tempb}% \@ifundefined{crefmiddlegroupconjunction}{% \let\crefmiddlegroupconjunction\crefmiddleconjunction}{}% }% \@ifundefined{creflastconjunction}{% \let\creflastconjunction\creflastconjunction@preamble% }{% - \expandafter\def\expandafter\@tmpb\expandafter{% + \expandafter\def\expandafter\@tempb\expandafter{% \expandafter\renewcommand\expandafter% {\expandafter\creflastconjunction\expandafter}% \expandafter{\creflastconjunction}}% \expandafter\expandafter\expandafter\cref@addto% - \expandafter\@tmpa\expandafter{\@tmpb}% + \expandafter\@tempa\expandafter{\@tempb}% \@ifundefined{creflastgroupconjunction}{% \edef\creflastgroupconjunction{, \creflastconjunction}}{}% }% @@ -5335,112 +5571,112 @@ \let\crefpairgroupconjunction% \crefpairgroupconjunction@preamble% }{% - \expandafter\def\expandafter\@tmpb\expandafter{% + \expandafter\def\expandafter\@tempb\expandafter{% \expandafter\renewcommand\expandafter% {\expandafter\crefpairgroupconjunction\expandafter}% \expandafter{\crefpairgroupconjunction}}% \expandafter\expandafter\expandafter\cref@addto% - \expandafter\@tmpa\expandafter{\@tmpb}% + \expandafter\@tempa\expandafter{\@tempb}% }% \@ifundefined{crefmiddlegroupconjunction}{% \let\crefmiddlegroupconjunction% \crefmiddlegroupconjunction@preamble% }{% - \expandafter\def\expandafter\@tmpb\expandafter{% + \expandafter\def\expandafter\@tempb\expandafter{% \expandafter\renewcommand\expandafter% {\expandafter\crefmiddlegroupconjunction\expandafter}% \expandafter{\crefmiddlegroupconjunction}}% \expandafter\expandafter\expandafter\cref@addto% - \expandafter\@tmpa\expandafter{\@tmpb}% + \expandafter\@tempa\expandafter{\@tempb}% }% \@ifundefined{creflastgroupconjunction}{% \let\creflastgroupconjunction% \creflastgroupconjunction@preamble% }{% - \expandafter\def\expandafter\@tmpb\expandafter{% + \expandafter\def\expandafter\@tempb\expandafter{% \expandafter\renewcommand\expandafter% {\expandafter\creflastgroupconjunction\expandafter}% \expandafter{\creflastgroupconjunction}}% \expandafter\expandafter\expandafter\cref@addto% - \expandafter\@tmpa\expandafter{\@tmpb}% + \expandafter\@tempa\expandafter{\@tempb}% }% - \let\@tmpstack\cref@label@types% - \cref@isstackfull{\@tmpstack}% + \let\@tempstack\cref@label@types% + \cref@isstackfull{\@tempstack}% \@whilesw\if@cref@stackfull\fi{% - \edef\@tmpa{\cref@stack@top{\@tmpstack}}% - \@ifundefined{cref@\@tmpa @name}{% - \expandafter\def\expandafter\@tmpb\expandafter{% - \csname cref@\@tmpa @name\endcsname}% - \expandafter\def\expandafter\@tmpc\expandafter{% - \csname cref@\@tmpa @name@preamble\endcsname}% - \expandafter\expandafter\expandafter\let\expandafter\@tmpb\@tmpc% - \expandafter\def\expandafter\@tmpb\expandafter{% - \csname cref@\@tmpa @name@plural\endcsname}% - \expandafter\def\expandafter\@tmpc\expandafter{% - \csname cref@\@tmpa @name@plural@preamble\endcsname}% - \expandafter\expandafter\expandafter\let\expandafter\@tmpb\@tmpc% + \edef\@tempa{\cref@stack@top{\@tempstack}}% + \@ifundefined{cref@\@tempa @name}{% + \expandafter\def\expandafter\@tempb\expandafter{% + \csname cref@\@tempa @name\endcsname}% + \expandafter\def\expandafter\@tempc\expandafter{% + \csname cref@\@tempa @name@preamble\endcsname}% + \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% }{% - \edef\@tmpb{% + \edef\@tempb{% \expandafter\noexpand\csname extras\cref@language\endcsname}% - \expandafter\def\expandafter\@tmpc\expandafter{% - \expandafter\crefname\expandafter{\@tmpa}}% + \expandafter\def\expandafter\@tempc\expandafter{% + \expandafter\crefname\expandafter{\@tempa}}% \expandafter\expandafter\expandafter\cref@addto% - \expandafter\expandafter\expandafter\@tmpc% + \expandafter\expandafter\expandafter\@tempc% \expandafter\expandafter\expandafter{% \expandafter\expandafter\expandafter{% - \csname cref@\@tmpa @name\endcsname}}% + \csname cref@\@tempa @name\endcsname}}% \expandafter\expandafter\expandafter\cref@addto% - \expandafter\expandafter\expandafter\@tmpc% + \expandafter\expandafter\expandafter\@tempc% \expandafter\expandafter\expandafter{% \expandafter\expandafter\expandafter{% - \csname cref@\@tmpa @name@plural\endcsname}}% + \csname cref@\@tempa @name@plural\endcsname}}% \expandafter\expandafter\expandafter\cref@addto% - \expandafter\@tmpb\expandafter{\@tmpc}% + \expandafter\@tempb\expandafter{\@tempc}% }% - \@ifundefined{Cref@\@tmpa @name}{% - \expandafter\def\expandafter\@tmpb\expandafter{% - \csname Cref@\@tmpa @name\endcsname}% - \expandafter\def\expandafter\@tmpc\expandafter{% - \csname Cref@\@tmpa @name@preamble\endcsname}% - \expandafter\expandafter\expandafter\let\expandafter\@tmpb\@tmpc% - \expandafter\def\expandafter\@tmpb\expandafter{% - \csname Cref@\@tmpa @name@plural\endcsname}% - \expandafter\def\expandafter\@tmpc\expandafter{% - \csname Cref@\@tmpa @name@plural@preamble\endcsname}% - \expandafter\expandafter\expandafter\let\expandafter\@tmpb\@tmpc% + \@ifundefined{Cref@\@tempa @name}{% + \expandafter\def\expandafter\@tempb\expandafter{% + \csname Cref@\@tempa @name\endcsname}% + \expandafter\def\expandafter\@tempc\expandafter{% + \csname Cref@\@tempa @name@preamble\endcsname}% + \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% }{% - \edef\@tmpb{% + \edef\@tempb{% \expandafter\noexpand\csname extras\cref@language\endcsname}% - \expandafter\def\expandafter\@tmpc\expandafter{% - \expandafter\Crefname\expandafter{\@tmpa}}% + \expandafter\def\expandafter\@tempc\expandafter{% + \expandafter\Crefname\expandafter{\@tempa}}% \expandafter\expandafter\expandafter\cref@addto% - \expandafter\expandafter\expandafter\@tmpc% + \expandafter\expandafter\expandafter\@tempc% \expandafter\expandafter\expandafter{% \expandafter\expandafter\expandafter{% - \csname Cref@\@tmpa @name\endcsname}}% + \csname Cref@\@tempa @name\endcsname}}% \expandafter\expandafter\expandafter\cref@addto% - \expandafter\expandafter\expandafter\@tmpc% + \expandafter\expandafter\expandafter\@tempc% \expandafter\expandafter\expandafter{% \expandafter\expandafter\expandafter{% - \csname Cref@\@tmpa @name@plural\endcsname}}% + \csname Cref@\@tempa @name@plural\endcsname}}% \expandafter\expandafter\expandafter\cref@addto% - \expandafter\@tmpb\expandafter{\@tmpc}% + \expandafter\@tempb\expandafter{\@tempc}% }% - \@ifundefined{cref@\@tmpa @format}{% - \@ifundefined{cref@\@tmpa @name}{}{% - \expandafter\@crefdefineformat\expandafter{\@tmpa}}}{}% - \@ifundefined{crefrange@\@tmpa @format}{% - \@ifundefined{cref@\@tmpa @name@plural}{}{% - \expandafter\@crefrangedefineformat\expandafter{\@tmpa}}}{}% - \@ifundefined{cref@\@tmpa @format@first}{% - \@ifundefined{cref@\@tmpa @name@plural}{}{% - \expandafter\@crefdefinemultiformat\expandafter{\@tmpa}}}{}% - \@ifundefined{crefrange@\@tmpa @format@first}{% - \@ifundefined{cref@\@tmpa @name@plural}{}{% + \@ifundefined{cref@\@tempa @format}{% + \@ifundefined{cref@\@tempa @name}{}{% + \expandafter\@crefdefineformat\expandafter{\@tempa}}}{}% + \@ifundefined{crefrange@\@tempa @format}{% + \@ifundefined{cref@\@tempa @name@plural}{}{% + \expandafter\@crefrangedefineformat\expandafter{\@tempa}}}{}% + \@ifundefined{cref@\@tempa @format@first}{% + \@ifundefined{cref@\@tempa @name@plural}{}{% + \expandafter\@crefdefinemultiformat\expandafter{\@tempa}}}{}% + \@ifundefined{crefrange@\@tempa @format@first}{% + \@ifundefined{cref@\@tempa @name@plural}{}{% \expandafter\@crefrangedefinemultiformat% - \expandafter{\@tmpa}}}{}% - \cref@stack@pop{\@tmpstack}% - \cref@isstackfull{\@tmpstack}}% + \expandafter{\@tempa}}}{}% + \cref@stack@pop{\@tempstack}% + \cref@isstackfull{\@tempstack}}% \@ifundefined{cref@subsection@name}{% \let\cref@subsection@name\cref@section@name% \let\cref@subsection@name@plural\cref@section@name@plural}{}% -- cgit v1.2.3