summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-03-25 23:30:53 +0000
committerKarl Berry <karl@freefriends.org>2013-03-25 23:30:53 +0000
commitf8444eb2edb03a7da5018efcb86ddcd48d4f72e6 (patch)
treed4573a7951697fd0550e2ba2de671a17c8d840dc /Master/texmf-dist/tex/latex
parentac6d0cd3c85184c47dcb1498d22d1c69a9a36f2c (diff)
cleveref (24mar13)
git-svn-id: svn://tug.org/texlive/trunk@29503 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r--Master/texmf-dist/tex/latex/cleveref/cleveref.sty579
1 files changed, 523 insertions, 56 deletions
diff --git a/Master/texmf-dist/tex/latex/cleveref/cleveref.sty b/Master/texmf-dist/tex/latex/cleveref/cleveref.sty
index 9aa47b58858..ed5aa2abe9c 100644
--- a/Master/texmf-dist/tex/latex/cleveref/cleveref.sty
+++ b/Master/texmf-dist/tex/latex/cleveref/cleveref.sty
@@ -11,8 +11,8 @@
%% Copyright (C) 2006--2012 Toby Cubitt
%% See the files README and COPYING.
%%
-\def\packagedate{2012/09/25}
-\def\packageversion{0.18.6}
+\def\packagedate{2013/03/22}
+\def\packageversion{0.18.9}
%% This file may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.2
%% of this license or (at your option) any later version.
@@ -92,7 +92,7 @@
\edef\@tempa{\expandafter\noexpand%
\csname cref@#1@name@preamble\endcsname}%
\edef\@tempb{\expandafter\noexpand%
- \csname Cref@#1@name@preamble\endcsname}%
+ \csname Cref@#1@name@preamble\endcsname}%
\def\@tempc{#3}%
\ifx\@tempc\@empty\relax%
\expandafter\gdef\@tempa{}%
@@ -1492,7 +1492,7 @@
\def\@crefdefineformat#1{%
\begingroup%
\@crefconstructcomponents{#1}%
- \ifx\@tempname\@empty\relax%
+ \expandafter\ifx\csname cref@#1@name\endcsname\@empty\relax%
\expandafter\def\expandafter\@tempfirst\expandafter{\@templabel}%
\else%
\expandafter\expandafter\expandafter\def%
@@ -1500,7 +1500,7 @@
\expandafter\expandafter\expandafter{%
\expandafter\@tempname\expandafter\nobreakspace\@templabel@first}%
\fi%
- \ifx\@tempName\@empty\relax%
+ \expandafter\ifx\csname Cref@#1@name\endcsname\@empty\relax%
\expandafter\def\expandafter\@tempFirst\expandafter{\@templabel}%
\else%
\expandafter\expandafter\expandafter\def%
@@ -1521,7 +1521,7 @@
\def\@crefrangedefineformat#1{%
\begingroup%
\@crefconstructcomponents{#1}%
- \ifx\@tempname\@empty\relax%
+ \expandafter\ifx\csname cref@#1@name\endcsname\@empty\relax%
\expandafter\def\expandafter\@tempfirst%
\expandafter{\@temprangelabel}%
\else%
@@ -1531,7 +1531,7 @@
\expandafter\@tempnameplural@range%
\expandafter\nobreakspace\@temprangelabel@first}%
\fi%
- \ifx\@tempName\@empty\relax%
+ \expandafter\ifx\csname Cref@#1@name\endcsname\@empty\relax%
\expandafter\def\expandafter\@tempFirst%
\expandafter{\@temprangelabel}%
\else%
@@ -1560,7 +1560,7 @@
\def\@crefdefinemultiformat#1{%
\begingroup%
\@crefconstructcomponents{#1}%
- \ifx\@tempnameplural\@empty\relax%
+ \expandafter\ifx\csname cref@#1@name@plural\endcsname\@empty\relax%
\expandafter\def\expandafter\@tempfirst%
\expandafter{\@templabel}%
\else%
@@ -1570,7 +1570,7 @@
\expandafter\@tempnameplural%
\expandafter\nobreakspace\@templabel@first}%
\fi%
- \ifx\@tempNameplural\@empty\relax%
+ \expandafter\ifx\csname Cref@#1@name@plural\endcsname\@empty\relax%
\expandafter\def\expandafter\@tempFirst%
\expandafter{\@templabel}%
\else%
@@ -1627,7 +1627,7 @@
\def\@crefrangedefinemultiformat#1{%
\begingroup%
\@crefconstructcomponents{#1}%
- \ifx\@tempnameplural\@empty\relax%
+ \expandafter\ifx\csname cref@#1@name@plural\endcsname\@empty\relax%
\expandafter\def\expandafter\@tempfirst%
\expandafter{\@temprangelabel}%
\else%
@@ -1637,7 +1637,7 @@
\expandafter\@tempnameplural@range%
\expandafter\nobreakspace\@temprangelabel@first}%
\fi%
- \ifx\@tempNameplural\@empty\relax%
+ \expandafter\ifx\csname Cref@#1@name@plural\endcsname\@empty\relax%
\expandafter\def\expandafter\@tempFirst%
\expandafter{\@temprangelabel}%
\else%
@@ -1943,7 +1943,7 @@
\@ifpackageloaded{hyperref}{%
\@ifpackagewith{hyperref}{implicit=false}{}{%
\let\if@cref@hyperrefloaded\iftrue%
- \PackageInfo{cleveref}{`hyperref' support loaded}
+ \PackageInfo{cleveref}{`hyperref' support loaded}%
\def\cref@hyperref#1{\expandafter\expandafter\expandafter%
\@fourthoffive\csname r@#1\endcsname}
\let\cref@old@H@refstepcounter\H@refstepcounter
@@ -2485,7 +2485,7 @@
\edef\cref@currentlabel{[equation][2147483647][]\the\toks@}}}
}{}% end of \@ifpackageloaded{amsmath}
\@ifpackageloaded{IEEEtrantools}{%
- \PackageInfo{cleveref}{`IEEEtrantools' support loaded}
+ \PackageInfo{cleveref}{`IEEEtrantools' support loaded}%
\let\cref@orig@@IEEEeqnarray\@@IEEEeqnarray
\def\@@IEEEeqnarray[#1]#2{%
\refstepcounter{equation}%
@@ -2517,7 +2517,7 @@
\crefalias{IEEEsubequation}{equation}%
}{}% end of \@ifpackageloaded{IEEEtrantools}
\@ifpackageloaded{amsthm}{%
- \PackageInfo{cleveref}{`amsthm' support loaded}
+ \PackageInfo{cleveref}{`amsthm' support loaded}%
\let\cref@thmnoarg\@thm
\def\@thm{\@ifnextchar[{\cref@thmoptarg}{\cref@thmnoarg}}%]
\def\cref@thmoptarg[#1]#2#3#4{%
@@ -2544,16 +2544,21 @@
\edef\@tempa{\expandafter\noexpand%
\csname cref@#1@name@preamble\endcsname}%
\edef\@tempb{\expandafter\noexpand%
- \csname Cref@#1@name@preamble\endcsname}%
+ \csname Cref@#1@name@preamble\endcsname}%
\def\@tempc{#3}%
\ifx\@tempc\@empty\relax%
\expandafter\gdef\@tempa{}%
\expandafter\gdef\@tempb{}%
\else%
+ \if@cref@capitalise%
+ \expandafter\expandafter\expandafter\gdef\expandafter%
+ \@tempa\expandafter{\MakeUppercase #3}%
+ \else%
+ \expandafter\expandafter\expandafter\gdef\expandafter%
+ \@tempa\expandafter{\MakeLowercase #3}%
+ \fi%
\expandafter\expandafter\expandafter\gdef\expandafter%
- \@tempa\expandafter{\MakeLowercase #3}%
- \expandafter\expandafter\expandafter\gdef\expandafter%
- \@tempa\expandafter{\MakeUppercase #3}%
+ \@tempb\expandafter{\MakeUppercase #3}%
\fi%
\cref@stack@add{#1}{\cref@label@types}%
\ifx\relax#2\relax%
@@ -2577,7 +2582,7 @@
\let\@xnthm\cref@old@xnthm
}{}% end of \@ifpackageloaded{amsthm}
\@ifpackageloaded{ntheorem}{%
- \PackageInfo{cleveref}{`ntheorem' support loaded}
+ \PackageInfo{cleveref}{`ntheorem' support loaded}%
\@ifpackagewith{ntheorem}{thref}{%
\PackageWarning{cleveref}{`cleveref' supersedes `ntheorem's `thref'
option}%
@@ -2606,16 +2611,19 @@
}
}{}% end of \@ifpackageloaded{ntheorem}
\@ifpackageloaded{varioref}{%
- \PackageInfo{cleveref}{`varioref' support loaded}
- \PackageInfo{cleveref}{`cleveref' supersedes `varioref's %
- \string\labelformat command}
+ \PackageInfo{cleveref}{`varioref' support loaded}%
+ \PackageInfo{cleveref}{`cleveref' supersedes `varioref's
+ \string\labelformat command}%
\def\cref@@vpageref#1[#2]#3{%
\@cpageref{cref}{#3}%
{\@setvpageref[#1][\vref@space]}{\@setvpagerefrange[#1]}}
\def\cref@vref#1#2{%
\leavevmode%
- \@cref{#1}{#2}\@setcref@space%
- \cref@@vpageref{\reftextcurrent}[]{#2}}
+ \begingroup%
+ \def\reftextcurrent{}%
+ \@cref{#1}{#2}\@setcref@space%
+ \cref@@vpageref{\reftextcurrent}[]{#2}%
+ \endgroup}
\def\cref@vrefrange#1#2#3{%
\@setcrefrange{#2}{#3}{#1}{}\@setcref@space\vpagerefrange{#2}{#3}}
\def\cref@fullref#1#2{%
@@ -2826,7 +2834,7 @@
\fi% end of test for hyperref
}{}% end of \@ifpackageloaded{varioref}
\@ifpackageloaded{algorithmicx}{%
- \PackageInfo{cleveref}{`algorithmicx' support loaded}
+ \PackageInfo{cleveref}{`algorithmicx' support loaded}%
\g@addto@macro\ALG@step{%
\addtocounter{ALG@line}{-1}%
\refstepcounter{ALG@line}%
@@ -2837,7 +2845,7 @@
[line][\arabic{ALG@line}][\cref@currentprefix]\theALG@line}}
}{}% end of \@ifpackageloaded{algorithmicx}
\@ifpackageloaded{listings}{%
- \PackageInfo{cleveref}{`listings' support loaded}
+ \PackageInfo{cleveref}{`listings' support loaded}%
\crefalias{lstlisting}{listing}%
\crefalias{lstnumber}{line}%
\lst@AddToHook{Init}{%
@@ -2848,12 +2856,23 @@
\xdef\cref@currentprefix{\cref@currentprefix}}
}{}% end of \@ifpackageloaded{listings}
\@ifpackageloaded{algorithm2e}{%
- \PackageInfo{cleveref}{`algorithm2e' support loaded}
+ \PackageInfo{cleveref}{`algorithm2e' support loaded}%
\crefalias{algocf}{algorithm}%
\crefalias{algocfline}{line}%
- }{}% end of \@ifpackageloaded{listings}
+ \crefalias{AlgoLine}{line}%
+ \let\cref@old@algocf@nl@sethref\algocf@nl@sethref%
+ \renewcommand{\algocf@nl@sethref}[1]{%
+ \cref@old@algocf@nl@sethref{#1}%
+ \cref@constructprefix{AlgoLine}{\cref@result}%
+ \@ifundefined{cref@AlgoLine@alias}%
+ {\def\@tempa{AlgoLine}}%
+ {\def\@tempa{\csname cref@AlgoLine@alias\endcsname}}%
+ \xdef\cref@currentlabel{%
+ [\@tempa][\arabic{AlgoLine}][\cref@result]%
+ \csname p@AlgoLine\endcsname\csname theAlgoLine\endcsname}}%
+ }{}% end of \@ifpackageloaded{algorithm2e}
\@ifpackageloaded{subfig}{%
- \PackageInfo{cleveref}{`subfig' support loaded}
+ \PackageInfo{cleveref}{`subfig' support loaded}%
\AtBeginDocument{
\let\cref@old@refsteponlycounter\refsteponlycounter
\def\refsteponlycounter{%
@@ -2879,7 +2898,7 @@
}{}
\@ifpackageloaded{caption}{%
\@ifpackagelater{caption}{2011/08/19}{}{%
- \PackageInfo{cleveref}{`caption' support loaded}
+ \PackageInfo{cleveref}{`caption' support loaded}%
\let\cref@old@caption@xlabel\caption@xlabel
\def\caption@xlabel{%
\let\cref@ORI@label\cref@old@label%
@@ -2889,7 +2908,7 @@
}% end of \@ifpackagelater
}{}% end of \@ifpackageloaded{caption}
\@ifpackageloaded{aliascnt}{%
- \PackageInfo{cleveref}{`aliascnt' support loaded}
+ \PackageInfo{cleveref}{`aliascnt' support loaded}%
\let\cref@old@newaliascnt\newaliascnt
\renewcommand*{\newaliascnt}[2]{%
\cref@old@newaliascnt{#1}{#2}%
@@ -2899,7 +2918,7 @@
\fi}
}{}% end of \@ifpackageloaded{aliascnt}
\DeclareOption{poorman}{%
- \PackageInfo{cleveref}{option `poorman' loaded}
+ \PackageInfo{cleveref}{option `poorman' loaded}%
\gdef\cref@poorman@text{}
\AtBeginDocument{%
\newwrite\@crefscript%
@@ -3525,38 +3544,38 @@
\@cref@sorttrue
\@cref@compresstrue
\DeclareOption{sort}{%
- \PackageInfo{cleveref}{sorting but not compressing references}
- \@cref@sorttrue
+ \PackageInfo{cleveref}{sorting but not compressing references}%
+ \@cref@sorttrue%
\@cref@compressfalse}
\DeclareOption{compress}{%
- \PackageInfo{cleveref}{compressing but not sorting references}
- \@cref@sortfalse
+ \PackageInfo{cleveref}{compressing but not sorting references}%
+ \@cref@sortfalse%
\@cref@compresstrue}
\DeclareOption{sort&compress}{%
- \PackageInfo{cleveref}{sorting and compressing references}
- \@cref@sorttrue
+ \PackageInfo{cleveref}{sorting and compressing references}%
+ \@cref@sorttrue%
\@cref@compresstrue}
\DeclareOption{nosort}{%
- \PackageInfo{cleveref}{neither sorting nor compressing references}
- \@cref@sortfalse
+ \PackageInfo{cleveref}{neither sorting nor compressing references}%
+ \@cref@sortfalse%
\@cref@compressfalse}
\newif\if@cref@capitalise
\@cref@capitalisefalse
\DeclareOption{capitalise}{%
- \PackageInfo{cleveref}{always capitalise cross-reference names}
+ \PackageInfo{cleveref}{always capitalise cross-reference names}%
\@cref@capitalisetrue}
\DeclareOption{capitalize}{%
- \PackageInfo{cleveref}{always capitalise cross-reference names}
+ \PackageInfo{cleveref}{always capitalise cross-reference names}%
\@cref@capitalisetrue}
\newif\if@cref@nameinlink
\@cref@nameinlinkfalse
\DeclareOption{nameinlink}{%
- \PackageInfo{cleveref}{include cross-reference names in hyperlinks}
+ \PackageInfo{cleveref}{include cross-reference names in hyperlinks}%
\@cref@nameinlinktrue}
\newif\if@cref@abbrev
\@cref@abbrevtrue
\DeclareOption{noabbrev}{%
- \PackageInfo{cleveref}{no abbreviation of names}
+ \PackageInfo{cleveref}{no abbreviation of names}%
\@cref@abbrevfalse}
\def\cref@addto#1#2{%
\@temptokena{#2}%
@@ -3676,7 +3695,7 @@
\def\cref@language{english}%
}}% end \AtBeginDocument and \DeclareOption
\cref@addlanguagedefs{english}{%
- \PackageInfo{cleveref}{loaded `english' language definitions}
+ \PackageInfo{cleveref}{loaded `english' language definitions}%
\renewcommand{\crefrangeconjunction}{ to\nobreakspace}%
\renewcommand\crefrangepreconjunction{}%
\renewcommand\crefrangepostconjunction{}%
@@ -3863,7 +3882,7 @@
\def\cref@language{german}%
}}% end \AtBeginDocument and \DeclareOption
\cref@addlanguagedefs{german}{%
- \PackageInfo{cleveref}{loaded `german language definitions}
+ \PackageInfo{cleveref}{loaded `german language definitions}%
\renewcommand{\crefrangeconjunction}{ bis\nobreakspace}%
\renewcommand\crefrangepreconjunction{}%
\renewcommand\crefrangepostconjunction{}%
@@ -3945,7 +3964,7 @@
\ExecuteOptions{german}
\def\cref@language{ngerman}}
\cref@addlanguagedefs{ngerman}{%
- \PackageInfo{cleveref}{loaded `ngerman' language definitions}
+ \PackageInfo{cleveref}{loaded `ngerman' language definitions}%
\renewcommand{\crefrangeconjunction}{ bis\nobreakspace}%
\renewcommand\crefrangepreconjunction{}%
\renewcommand\crefrangepostconjunction{}%
@@ -4118,7 +4137,7 @@
\def\cref@language{dutch}%
}}% end \DeclareOption and \AtBeginDocument
\cref@addlanguagedefs{dutch}{%
- \PackageInfo{cleveref}{loaded `dutch' language definitions}
+ \PackageInfo{cleveref}{loaded `dutch' language definitions}%
\renewcommand{\crefrangeconjunction}{ tot\nobreakspace}%
\renewcommand\crefrangepreconjunction{}%
\renewcommand\crefrangepostconjunction{}%
@@ -4312,7 +4331,7 @@
\def\cref@language{french}%
}}% end \DeclareOption and \AtBeginDocument
\cref@addlanguagedefs{french}{%
- \PackageInfo{cleveref}{loaded `french' language definitions}
+ \PackageInfo{cleveref}{loaded `french' language definitions}%
\renewcommand{\crefrangeconjunction}{ \`a\nobreakspace}%
\renewcommand\crefrangepreconjunction{}%
\renewcommand\crefrangepostconjunction{}%
@@ -4513,7 +4532,7 @@
\def\cref@language{spanish}%
}}% end \DeclareOption and \AtBeginDocument
\cref@addlanguagedefs{spanish}{%
- \PackageInfo{cleveref}{loaded `spanish' language definitions}
+ \PackageInfo{cleveref}{loaded `spanish' language definitions}%
\renewcommand{\crefrangeconjunction}{ a\nobreakspace}%
\renewcommand{\crefrangepreconjunction}{}%
\renewcommand{\crefrangepostconjunction}{}%
@@ -4724,7 +4743,7 @@
\def\cref@language{italian}%
}}% end \DeclareOption and \AtBeginDocument
\cref@addlanguagedefs{italian}{%
- \PackageInfo{cleveref}{loaded `italian' language definitions}
+ \PackageInfo{cleveref}{loaded `italian' language definitions}%
\renewcommand{\crefrangeconjunction}{ a\nobreakspace}%
\renewcommand\crefrangepreconjunction{da\nobreakspace}%
\renewcommand\crefrangepostconjunction{}%
@@ -5148,7 +5167,7 @@
\def\cref@language{russian}%
}}% end \DeclareOption and \AtBeginDocument
\cref@addlanguagedefs{russian}{%
- \PackageInfo{cleveref}{loaded `russian' language definitions}
+ \PackageInfo{cleveref}{loaded `russian' language definitions}%
\renewcommand{\crefrangeconjunction}{--}%
\renewcommand\crefrangepreconjunction{}%
\renewcommand\crefrangepostconjunction{}%
@@ -5888,7 +5907,7 @@
\def\cref@language{ukrainian}%
}}% end \DeclareOption and \AtBeginDocument
\cref@addlanguagedefs{ukrainian}{%
- \PackageInfo{cleveref}{loaded `ukrainian' language definitions}
+ \PackageInfo{cleveref}{loaded `ukrainian' language definitions}%
\renewcommand{\crefrangeconjunction}{--}%
\renewcommand\crefrangepreconjunction{}%
\renewcommand\crefrangepostconjunction{}%
@@ -6418,7 +6437,7 @@
\def\cref@language{norsk}%
}}% end \DeclareOption and \AtBeginDocument
\cref@addlanguagedefs{norsk}{%
- \PackageInfo{cleveref}{loaded `norsk' language definitions}
+ \PackageInfo{cleveref}{loaded `norsk' language definitions}%
\renewcommand{\crefrangeconjunction}{ til\nobreakspace}%
\renewcommand\crefrangepreconjunction{}%
\renewcommand\crefrangepostconjunction{}%
@@ -6616,7 +6635,7 @@
\def\cref@language{danish}%
}}% end \DeclareOption and \AtBeginDocument
\cref@addlanguagedefs{danish}{%
- \PackageInfo{cleveref}{loaded `danish' language definitions}
+ \PackageInfo{cleveref}{loaded `danish' language definitions}%
\renewcommand{\crefrangeconjunction@preamble}{ til\nobreakspace}%
\renewcommand\crefrangepreconjunction@preamble{}%
\renewcommand\crefrangepostconjunction@preamble{}%
@@ -6808,7 +6827,7 @@
\def\cref@language{esperanto}%
}}% end \DeclareOption and \AtBeginDocument
\cref@addlanguagedefs{esperanto}{%
- \PackageInfo{cleveref}{loaded `esperanto' language definitions}
+ \PackageInfo{cleveref}{loaded `esperanto' language definitions}%
\renewcommand{\crefrangeconjunction}{ \^gis\nobreakspace}%
\renewcommand{\crefrangepreconjunction}{}%
\renewcommand{\crefrangepostconjunction}{}%
@@ -6884,6 +6903,454 @@
\crefname{listing}{listado}{listadoj}%
\crefname{line}{linio}{linioj}%
\fi}% end \cref@loadlanguagedefs
+\DeclareOption{swedish}{%
+ \AtBeginDocument{%
+ \def\crefrangeconjunction@preamble{ till\nobreakspace}%
+ \def\crefrangepreconjunction@preamble{}%
+ \def\crefrangepostconjunction@preamble{}%
+ \def\crefpairconjunction@preamble{ och\nobreakspace}%
+ \def\crefmiddleconjunction@preamble{, }%
+ \def\creflastconjunction@preamble{ och\nobreakspace}%
+ \def\crefpairgroupconjunction@preamble{ och\nobreakspace}%
+ \def\crefmiddlegroupconjunction@preamble{, }%
+ \def\creflastgroupconjunction@preamble{, och\nobreakspace}%
+ %
+ \Crefname@preamble{equation}{Ekvation}{Ekvation}%
+ \Crefname@preamble{figure}{Figur}{Figur}%
+ \Crefname@preamble{table}{Tabell}{Tabell}%
+ \Crefname@preamble{page}{Sida}{Sida}%
+ \Crefname@preamble{part}{Del}{Del}%
+ \Crefname@preamble{chapter}{Kapitel}{Kapitel}%
+ \Crefname@preamble{section}{Avsnitt}{Avsnitt}%
+ \Crefname@preamble{appendix}{Appendix}{Appendix}%
+ \Crefname@preamble{enumi}{Punkt}{Punkt}%
+ \Crefname@preamble{footnote}{Fotnot}{Fotnot}%
+ \Crefname@preamble{theorem}{Sats}{Sats}%
+ \Crefname@preamble{lemma}{Lemma}{Lemmas}%
+ \Crefname@preamble{corollary}{F\"oljdsats}{F\"oljdsats}%
+ \Crefname@preamble{proposition}{Proposition}{Proposition}%
+ \Crefname@preamble{definition}{Definition}{Definition}%
+ \Crefname@preamble{result}{Resultat}{Resultat}%
+ \Crefname@preamble{example}{Exempel}{Exempel}%
+ \Crefname@preamble{remark}{Anm\"arkning}{Anm\"arkning}%
+ \Crefname@preamble{note}{Notering}{Notering}%
+ \Crefname@preamble{algorithm}{Algoritm}{Algoritm}%
+ \Crefname@preamble{listing}{Kodlistning}{Kodlistning}%
+ \Crefname@preamble{line}{Rad}{Rad}%
+ %
+ \if@cref@capitalise% capitalise set
+ \if@cref@abbrev%
+ \crefname@preamble{equation}{Ekv.}{Ekv.}%
+ \crefname@preamble{figure}{Fig.}{Fig.}%
+ \else%
+ \crefname@preamble{equation}{Ekvation}{Ekvation}%
+ \crefname@preamble{figure}{Figur}{Figur}%
+ \fi%
+ \crefname@preamble{page}{Sida}{Sida}%
+ \crefname@preamble{table}{Tabell}{Tabell}%
+ \crefname@preamble{part}{Del}{Del}%
+ \crefname@preamble{chapter}{Kapitel}{Kapitel}%
+ \crefname@preamble{section}{Avsnitt}{Avsnitt}%
+ \crefname@preamble{appendix}{Appendix}{Appendix}%
+ \crefname@preamble{enumi}{Punkt}{Punkt}%
+ \crefname@preamble{footnote}{Fotnot}{Fotnot}%
+ \crefname@preamble{theorem}{Sats}{Sats}%
+ \crefname@preamble{lemma}{Lemma}{Lemmas}%
+ \crefname@preamble{corollary}{F\"oljdsats}{F\"oljdsats}%
+ \crefname@preamble{proposition}{Proposition}{Proposition}%
+ \crefname@preamble{definition}{Definition}{Definition}%
+ \crefname@preamble{result}{Resultat}{Resultat}%
+ \crefname@preamble{example}{Exempel}{Exempel}%
+ \crefname@preamble{remark}{Anm\"arkning}{Anm\"arkning}%
+ \crefname@preamble{note}{Notering}{Notering}%
+ \crefname@preamble{algorithm}{Algoritm}{Algoritm}%
+ \crefname@preamble{listing}{Kodlistning}{Kodlistning}%
+ \crefname@preamble{line}{Rad}{Rad}%
+ %
+ \else% capitalise unset
+ \if@cref@abbrev%
+ \crefname@preamble{equation}{ekv.}{ekv.}%
+ \crefname@preamble{figure}{fig.}{fig.}%
+ \crefname@preamble{page}{s.}{ss.}%
+ \else%
+ \crefname@preamble{equation}{ekvation}{ekvation}%
+ \crefname@preamble{figure}{figur}{figur}%
+ \crefname@preamble{page}{sida}{sida}%
+ \fi%
+ \crefname@preamble{table}{tabell}{tabell}%
+ \crefname@preamble{part}{del}{del}%
+ \crefname@preamble{chapter}{kapitel}{kapitel}%
+ \crefname@preamble{section}{avsnitt}{avsnitt}%
+ \crefname@preamble{appendix}{appendix}{appendix}%
+ \crefname@preamble{enumi}{punkt}{punkt}%
+ \crefname@preamble{footnote}{fotnot}{fotnot}%
+ \crefname@preamble{theorem}{sats}{sats}%
+ \crefname@preamble{lemma}{lemma}{lemmas}%
+ \crefname@preamble{corollary}{f\"oljdsats}{f\"oljdsats}%
+ \crefname@preamble{proposition}{proposition}{proposition}%
+ \crefname@preamble{definition}{definition}{definition}%
+ \crefname@preamble{result}{resultat}{resultat}%
+ \crefname@preamble{example}{exempel}{exempel}%
+ \crefname@preamble{remark}{anm\"arkning}{anm\"arkning}%
+ \crefname@preamble{note}{notering}{notering}%
+ \crefname@preamble{algorithm}{algoritm}{algoritm}%
+ \crefname@preamble{listing}{kodlistning}{kodlistning}%
+ \crefname@preamble{line}{rad}{rad}%
+ \fi%
+ \def\cref@language{swedish}%
+ }}% end \AtBeginDocument and \DeclareOption
+\cref@addlanguagedefs{swedish}{%
+ \PackageInfo{cleveref}{loaded `swedish' language definitions}%
+ \renewcommand{\crefrangeconjunction}{ till\nobreakspace}%
+ \renewcommand\crefrangepreconjunction{}%
+ \renewcommand\crefrangepostconjunction{}%
+ \renewcommand{\crefpairconjunction}{ och\nobreakspace}%
+ \renewcommand{\crefmiddleconjunction}{, }%
+ \renewcommand{\creflastconjunction}{ och\nobreakspace}%
+ \renewcommand{\crefpairgroupconjunction}{ and\nobreakspace}%
+ \renewcommand{\crefmiddlegroupconjunction}{, }%
+ \renewcommand{\creflastgroupconjunction}{, and\nobreakspace}%
+ %
+ \Crefname{equation}{Ekvation}{Ekvation}%
+ \Crefname{figure}{Figur}{Figur}%
+ \Crefname{subfigure}{Figur}{Figur}%
+ \Crefname{table}{Tabell}{Tabell}%
+ \Crefname{subtable}{Tabell}{Tabell}%
+ \Crefname{page}{Sida}{Sida}%
+ \Crefname{part}{Del}{Del}%
+ \Crefname{chapter}{Kapitel}{Kapitel}%
+ \Crefname{section}{Avsnitt}{Avsnitt}%
+ \Crefname{subsection}{Avsnitt}{Avsnitt}%
+ \Crefname{subsubsection}{Avsnitt}{Avsnitt}%
+ \Crefname{appendix}{Appendix}{Appendix}%
+ \Crefname{subappendix}{Appendix}{Appendix}%
+ \Crefname{subsubappendix}{Appendix}{Appendix}%
+ \Crefname{subsubsubappendix}{Appendix}{Appendix}%
+ \Crefname{enumi}{Punkt}{Punkt}%
+ \Crefname{enumii}{Punkt}{Punkt}%
+ \Crefname{enumiii}{Punkt}{Punkt}%
+ \Crefname{enumiv}{Punkt}{Punkt}%
+ \Crefname{enumv}{Punkt}{Punkt}%
+ \Crefname{footnote}{Fotnot}{Fotnot}%
+ \Crefname{theorem}{Sats}{Sats}%
+ \Crefname{lemma}{Lemma}{Lemmas}%
+ \Crefname{corollary}{F\"oljdsats}{F\"oljdsats}%
+ \Crefname{proposition}{Proposition}{Proposition}%
+ \Crefname{definition}{Definition}{Definition}%
+ \Crefname{result}{Resultat}{Resultat}%
+ \Crefname{example}{Exempel}{Exempel}%
+ \Crefname{remark}{Anm\"arkning}{Anm\"arkning}%
+ \Crefname{note}{Notering}{Notering}%
+ \Crefname{algorithm}{Algoritm}{Algoritm}%
+ \Crefname{listing}{Kodlistning}{Kodlistning}%
+ \Crefname{line}{Rad}{Rad}%
+ %
+ \if@cref@capitalise% capitalise set
+ \if@cref@abbrev%
+ \crefname{equation}{Ekv.}{Ekv.}%
+ \crefname{figure}{Fig.}{Fig.}%
+ \crefname{subfigure}{Fig.}{Fig.}%
+ \else%
+ \crefname{equation}{Ekvation}{Ekvation}%
+ \crefname{figure}{Figur}{Figur}%
+ \crefname{subfigure}{Figur}{Figur}%
+ \fi%
+ \crefname{page}{Sida}{Sida}%
+ \crefname{table}{Tablell}{Tabell}%
+ \crefname{subtable}{Tabell}{Tabell}%
+ \crefname{part}{Del}{Del}%
+ \crefname{chapter}{Kapitel}{Kapitel}%
+ \crefname{section}{Avsnitt}{Avsnitt}%
+ \crefname{subsection}{Avsnitt}{Avsnitt}%
+ \crefname{subsubsection}{Avsnitt}{Avsnitt}%
+ \crefname{appendix}{Appendix}{Appendix}%
+ \crefname{subappendix}{Appendix}{Appendix}%
+ \crefname{subsubappendix}{Appendix}{Appendix}%
+ \crefname{subsubsubappendix}{Appendix}{Appendix}%
+ \crefname{enumi}{Punkt}{Punkt}%
+ \crefname{enumii}{Punkt}{Punkt}%
+ \crefname{enumiii}{Punkt}{Punkt}%
+ \crefname{enumiv}{Punkt}{Punkt}%
+ \crefname{enumv}{Punkt}{Punkt}%
+ \crefname{footnote}{Fotnot}{Fotnot}%
+ \crefname{theorem}{Sats}{Sats}%
+ \crefname{lemma}{Lemma}{Lemmas}%
+ \crefname{corollary}{F\"oljdsats}{F\"oljdsats}%
+ \crefname{proposition}{Proposition}{Proposition}%
+ \crefname{definition}{Definition}{Definition}%
+ \crefname{result}{Resultat}{Resultat}%
+ \crefname{example}{Exempel}{Exempel}%
+ \crefname{remark}{Anm\"arkning}{Anm\"arkning}%
+ \crefname{note}{Notering}{Notering}%
+ \crefname{algorithm}{Algoritm}{Algoritm}%
+ \crefname{listing}{Kodlistning}{Kodlistnings}%
+ \crefname{line}{Rad}{Rad}%
+ %
+ \else% capitalise unset
+ \if@cref@abbrev%
+ \crefname{equation}{ekv.}{ekv.}%
+ \crefname{figure}{fig.}{fig.}%
+ \crefname{subfigure}{fig.}{fig.}%
+ \crefname{page}{s.}{ss.}%
+ \else%
+ \crefname{equation}{ekvation}{ekvation}%
+ \crefname{figure}{figur}{figur}%
+ \crefname{subfigure}{figur}{figur}%
+ \crefname{page}{sida}{sida}%
+ \fi%
+ \crefname{table}{tablell}{tabell}%
+ \crefname{subtable}{tabell}{tabell}%
+ \crefname{part}{del}{del}%
+ \crefname{chapter}{kapitel}{kapitel}%
+ \crefname{section}{avsnitt}{avsnitt}%
+ \crefname{subsection}{avsnitt}{avsnitt}%
+ \crefname{subsubsection}{avsnitt}{avsnitt}%
+ \crefname{appendix}{appendix}{appendix}%
+ \crefname{subappendix}{appendix}{appendix}%
+ \crefname{subsubappendix}{appendix}{appendix}%
+ \crefname{subsubsubappendix}{appendix}{appendix}%
+ \crefname{enumi}{punkt}{punkt}%
+ \crefname{enumii}{punkt}{punkt}%
+ \crefname{enumiii}{punkt}{punkt}%
+ \crefname{enumiv}{punkt}{punkt}%
+ \crefname{enumv}{punkt}{punkt}%
+ \crefname{footnote}{fotnot}{fotnot}%
+ \crefname{theorem}{sats}{sats}%
+ \crefname{lemma}{lemma}{lemmas}%
+ \crefname{corollary}{f\"oljdsats}{f\"oljdsats}%
+ \crefname{proposition}{proposition}{proposition}%
+ \crefname{definition}{definition}{definition}%
+ \crefname{result}{resultat}{resultat}%
+ \crefname{example}{exempel}{exempel}%
+ \crefname{remark}{anm\"arkning}{anm\"arkning}%
+ \crefname{note}{notering}{notering}%
+ \crefname{algorithm}{algoritm}{algoritm}%
+ \crefname{listing}{kodlistning}{kodlistnings}%
+ \crefname{line}{rad}{rad}%
+ \fi}% end \cref@addlangagedefs
+\DeclareOption{brazilian}{%
+ \AtBeginDocument{%
+ \def\crefrangeconjunction@preamble{ a\nobreakspace}%
+ \def\crefrangepreconjunction@preamble{}%
+ \def\crefrangepostconjunction@preamble{}%
+ \def\crefpairconjunction@preamble{ e\nobreakspace}%
+ \def\crefmiddleconjunction@preamble{, }%
+ \def\creflastconjunction@preamble{ e\nobreakspace}%
+ \def\crefpairgroupconjunction@preamble{ e\nobreakspace}%
+ \def\crefmiddlegroupconjunction@preamble{, }%
+ \def\creflastgroupconjunction@preamble{, e\nobreakspace}%
+ %
+ \Crefname@preamble{equation}{Equa\cc\~ao}{Equa\cc\~oes}%
+ \Crefname@preamble{figure}{Figura}{Figuras}%
+ \Crefname@preamble{table}{Tabela}{Tabelas}%
+ \Crefname@preamble{page}{P\'agina}{P\'aginas}%
+ \Crefname@preamble{part}{Parte}{Partes}%
+ \Crefname@preamble{chapter}{Cap\'itulo}{Cap\'itulos}%
+ \Crefname@preamble{section}{Se\cc\~ao}{Se\cc\~oes}%
+ \Crefname@preamble{appendix}{Ap\^endice}{Ap\^endices}%
+ \Crefname@preamble{enumi}{Item}{Itens}%
+ \Crefname@preamble{footnote}{Nota de rodap\'e}{Notas de rodap\'e}%
+ \Crefname@preamble{theorem}{Teorema}{Teoremas}%
+ \Crefname@preamble{lemma}{Lema}{Lemas}%
+ \Crefname@preamble{corollary}{Corol\'ario}{Corol\'arios}%
+ \Crefname@preamble{proposition}{Proposi\cc\~ao}{Proposi\cc\~oes}%
+ \Crefname@preamble{definition}{Defini\cc\~ao}{Defini\cc\~oes}%
+ \Crefname@preamble{result}{Resultado}{Resultados}%
+ \Crefname@preamble{example}{Exemplo}{Exemplos}%
+ \Crefname@preamble{remark}{Observa\cc\~ao}{Observa\cc\~oes}%
+ \Crefname@preamble{note}{Nota}{Notas}%
+ \Crefname@preamble{algorithm}{Algoritmo}{Algoritmos}%
+ \Crefname@preamble{listing}{Listagem}{Listagens}%
+ \Crefname@preamble{line}{Linha}{Linhas}%
+ %
+ \if@cref@capitalise% capitalise set
+ \if@cref@abbrev%
+ \crefname@preamble{equation}{Eq.}{Eqs.}%
+ \crefname@preamble{figure}{Fig.}{Figs.}%
+ \else%
+ \crefname@preamble{equation}{Equa\cc\~ao}{Equa\cc\~oes}%
+ \crefname@preamble{figure}{Figura}{Figuras}%
+ \fi%
+ \crefname@preamble{page}{P\'agina}{P\'aginas}%
+ \crefname@preamble{table}{Tabela}{Tabelas}%
+ \crefname@preamble{part}{Parte}{Partes}%
+ \crefname@preamble{chapter}{Cap\'itulo}{Cap\'itulos}%
+ \crefname@preamble{section}{Se\cc\~ao}{Se\cc\~oes}%
+ \crefname@preamble{appendix}{Ap\^endice}{Ap\^endices}%
+ \crefname@preamble{enumi}{Item}{Itens}%
+ \crefname@preamble{footnote}{Nota de rodap\'e}{Notas de rodap\'e}%
+ \crefname@preamble{theorem}{Teorema}{Teoremas}%
+ \crefname@preamble{lemma}{Lema}{Lemas}%
+ \crefname@preamble{corollary}{Corol\'ario}{Corol\'arios}%
+ \crefname@preamble{proposition}{Proposi\cc\~ao}{Proposi\cc\~oes}%
+ \crefname@preamble{definition}{Defini\cc\~ao}{Defini\cc\~oes}%
+ \crefname@preamble{result}{Resultado}{Resultados}%
+ \crefname@preamble{example}{Exemplo}{Exemplos}%
+ \crefname@preamble{remark}{Observa\cc\~ao}{Observa\cc\~oes}%
+ \crefname@preamble{note}{Nota}{Notas}%
+ \crefname@preamble{algorithm}{Algoritmo}{Algoritmos}%
+ \crefname@preamble{listing}{Listagem}{Listagens}%
+ \crefname@preamble{line}{Linha}{Linhas}%
+ %
+ \else% capitalise unset
+ \if@cref@abbrev%
+ \crefname@preamble{equation}{eq.}{eqs.}%
+ \crefname@preamble{figure}{fig.}{figs.}%
+ \else%
+ \crefname@preamble{equation}{equa\cc\~ao}{equa\cc\~oes}%
+ \crefname@preamble{figure}{figura}{figuras}%
+ \fi%
+ \crefname@preamble{page}{p\'agina}{p\'aginas}%
+ \crefname@preamble{table}{tabela}{tabelas}%
+ \crefname@preamble{part}{parte}{partes}%
+ \crefname@preamble{chapter}{cap\'itulo}{cap\'itulos}%
+ \crefname@preamble{section}{se\cc\~ao}{se\cc\~oes}%
+ \crefname@preamble{appendix}{ap\^endice}{ap\^endices}%
+ \crefname@preamble{enumi}{item}{itens}%
+ \crefname@preamble{footnote}{nota de rodap\'e}{notas de rodap\'e}%
+ \crefname@preamble{theorem}{teorema}{teoremas}%
+ \crefname@preamble{lemma}{lema}{lemas}%
+ \crefname@preamble{corollary}{corol\'ario}{corol\'arios}%
+ \crefname@preamble{proposition}{proposi\cc\~ao}{proposi\cc\~oes}%
+ \crefname@preamble{definition}{defini\cc\~ao}{defini\cc\~oes}%
+ \crefname@preamble{result}{resultado}{resultados}%
+ \crefname@preamble{example}{exemplo}{exemplos}%
+ \crefname@preamble{remark}{observa\cc\~ao}{observa\cc\~oes}%
+ \crefname@preamble{note}{nota}{notas}%
+ \crefname@preamble{algorithm}{algoritmo}{algoritmos}%
+ \crefname@preamble{listing}{listagem}{listagens}%
+ \crefname@preamble{line}{linha}{linhas}%
+ \fi%
+ \def\cref@language{brazilian}%
+ }}% end \AtBeginDocument and \DeclareOption
+\cref@addlanguagedefs{brazilian}{%
+ \PackageInfo{cleveref}{loaded `brazilian' language definitions}%
+ \renewcommand{\crefrangeconjunction}{ a\nobreakspace}%
+ \renewcommand\crefrangepreconjunction{}%
+ \renewcommand\crefrangepostconjunction{}%
+ \renewcommand{\crefpairconjunction}{ e\nobreakspace}%
+ \renewcommand{\crefmiddleconjunction}{, }%
+ \renewcommand{\creflastconjunction}{ e\nobreakspace}%
+ \renewcommand{\crefpairgroupconjunction}{ e\nobreakspace}%
+ \renewcommand{\crefmiddlegroupconjunction}{, }%
+ \renewcommand{\creflastgroupconjunction}{ e\nobreakspace}%
+ %
+ \Crefname{equation}{Equa\cc\~ao}{Equa\cc\~oes}%
+ \Crefname{figure}{Figura}{Figuras}%
+ \Crefname{subfigure}{Figura}{Figuras}%
+ \Crefname{table}{Tabela}{Tabelas}%
+ \Crefname{subtable}{Tabela}{Tabelas}%
+ \Crefname{page}{P\'agina}{P\'aginas}%
+ \Crefname{part}{Parte}{Partes}%
+ \Crefname{chapter}{Cap\'itulo}{Cap\'itulos}%
+ \Crefname{section}{Se\cc\~ao}{Se\cc\~oes}%
+ \Crefname{subsection}{Se\cc\~ao}{Se\cc\~oes}%
+ \Crefname{subsubsection}{Se\cc\~ao}{Se\cc\~oes}%
+ \Crefname{appendix}{Ap\^endice}{Ap\^endices}%
+ \Crefname{subappendix}{Ap\^endice}{Ap\^endices}%
+ \Crefname{subsubappendix}{Ap\^endice}{Ap\^endices}%
+ \Crefname{subsubsubappendix}{Ap\^endice}{Ap\^endices}%
+ \Crefname{enumi}{Item}{Itens}%
+ \Crefname{enumii}{Item}{Itens}%
+ \Crefname{enumiii}{Item}{Itens}%
+ \Crefname{enumiv}{Item}{Itens}%
+ \Crefname{enumv}{Item}{Itens}%
+ \Crefname{footnote}{Nota de rodap\'e}{Notas de rodap\'e}%
+ \Crefname{theorem}{Teorema}{Teoremas}%
+ \Crefname{lemma}{Lema}{Lemas}%
+ \Crefname{corollary}{Corol\'ario}{Corol\'arios}%
+ \Crefname{proposition}{Proposi\cc\~ao}{Proposi\cc\~oes}%
+ \Crefname{definition}{Defini\cc\~ao}{Defini\cc\~oes}%
+ \Crefname{result}{Resultado}{Resultados}%
+ \Crefname{example}{Exemplo}{Exemplos}%
+ \Crefname{remark}{Observa\cc\~ao}{Observa\cc\~oes}%
+ \Crefname{note}{Nota}{Notas}%
+ \Crefname{algorithm}{Algoritmo}{Algoritmos}%
+ \Crefname{listing}{Listagem}{Listagens}%
+ \Crefname{line}{Linha}{Linhas}%
+ %
+ \if@cref@capitalise% capitalise set
+ \if@cref@abbrev%
+ \crefname{equation}{Eq.}{Eqs.}%
+ \crefname{figure}{Fig.}{Figs.}%
+ \crefname{subfigure}{Fig.}{Figs.}%
+ \else%
+ \crefname{equation}{Equa\cc\~ao}{Equa\cc\~oes}%
+ \crefname{figure}{Figura}{Figuras}%
+ \crefname{subfigure}{Figura}{Figuras}%
+ \fi%
+ \crefname{page}{P\'agina}{P\'aginas}%
+ \crefname{table}{Tabela}{Tabelas}%
+ \crefname{subtable}{Tabela}{Tabelas}%
+ \crefname{part}{Parte}{Partes}%
+ \crefname{chapter}{Cap\'itulo}{Cap\'itulos}%
+ \crefname{section}{Se\cc\~ao}{Se\cc\~oes}%
+ \crefname{subsection}{Se\cc\~ao}{Se\cc\~oes}%
+ \crefname{subsubsection}{Se\cc\~ao}{Se\cc\~oes}%
+ \crefname{appendix}{Ap\^endice}{Ap\^endices}%
+ \crefname{subappendix}{Ap\^endice}{Ap\^endices}%
+ \crefname{subsubappendix}{Ap\^endice}{Ap\^endices}%
+ \crefname{subsubsubappendix}{Ap\^endice}{Ap\^endices}%
+ \crefname{enumi}{Item}{Itens}%
+ \crefname{enumii}{Item}{Itens}%
+ \crefname{enumiii}{Item}{Itens}%
+ \crefname{enumiv}{Item}{Itens}%
+ \crefname{enumv}{Item}{Itens}%
+ \crefname{footnote}{Nota de rodap\'e}{Notas de rodap\'e}%
+ \crefname{theorem}{Teorema}{Teoremas}%
+ \crefname{lemma}{Lema}{Lemas}%
+ \crefname{corollary}{Corol\'ario}{Corol\'arios}%
+ \crefname{proposition}{Proposi\cc\~ao}{Proposi\cc\~oes}%
+ \crefname{definition}{Defini\cc\~ao}{Defini\cc\~oes}%
+ \crefname{result}{Resultado}{Resultados}%
+ \crefname{example}{Exemplo}{Exemplos}%
+ \crefname{remark}{Observa\cc\~ao}{Observa\cc\~oes}%
+ \crefname{note}{Nota}{Notas}%
+ \crefname{algorithm}{Algoritmo}{Algoritmos}%
+ \crefname{listing}{Listagem}{Listagens}%
+ \crefname{line}{Linha}{Linhas}%
+ %
+ \else% capitalise unset
+ \if@cref@abbrev%
+ \crefname{equation}{eq.}{eqs.}%
+ \crefname{figure}{fig.}{figs.}%
+ \crefname{subfigure}{fig.}{figs.}%
+ \else%
+ \crefname{equation}{equa\cc\~ao}{equa\cc\~oes}%
+ \crefname{figure}{figura}{figuras}%
+ \crefname{subfigure}{figura}{figuras}%
+ \fi%
+ \crefname{table}{tabela}{tabelas}%
+ \crefname{subtable}{tabela}{tabelas}%
+ \crefname{page}{p\'agina}{p\'aginas}%
+ \crefname{part}{parte}{partes}%
+ \crefname{chapter}{cap\'itulo}{cap\'itulos}%
+ \crefname{section}{se\cc\~ao}{se\cc\~oes}%
+ \crefname{subsection}{se\cc\~ao}{se\cc\~oes}%
+ \crefname{subsubsection}{se\cc\~ao}{se\cc\~oes}%
+ \crefname{appendix}{ap\^endice}{ap\^endices}%
+ \crefname{subappendix}{ap\^endice}{ap\^endices}%
+ \crefname{subsubappendix}{ap\^endice}{ap\^endices}%
+ \crefname{subsubsubappendix}{ap\^endice}{ap\^endices}%
+ \crefname{enumi}{item}{itens}%
+ \crefname{enumii}{item}{itens}%
+ \crefname{enumiii}{item}{itens}%
+ \crefname{enumiv}{item}{itens}%
+ \crefname{enumv}{item}{itens}%
+ \crefname{footnote}{nota de rodap\'e}{notas de rodap\'e}%
+ \crefname{theorem}{teorema}{teoremas}%
+ \crefname{lemma}{lema}{lemas}%
+ \crefname{corollary}{corol\'ario}{corol\'arios}%
+ \crefname{proposition}{proposi\cc\~ao}{proposi\cc\~oes}%
+ \crefname{definition}{defini\cc\~ao}{defini\cc\~oes}%
+ \crefname{result}{resultado}{resultados}%
+ \crefname{example}{exemplo}{exemplos}%
+ \crefname{remark}{observa\cc\~ao}{observa\cc\~oes}%
+ \crefname{note}{nota}{notas}%
+ \crefname{algorithm}{algoritmo}{algoritmos}%
+ \crefname{listing}{listagem}{listagens}%
+ \crefname{line}{linha}{linhas}%
+ \fi}% end \cref@addlangagedefs
\edef\@curroptions{\@ptionlist{\@currname.\@currext}}%
\@expandtwoargs\in@{,capitalise,}{%
,\@classoptionslist,\@curroptions,}%