%% version 1999/12/01 or later.
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesPackage{cleveref}
- [2009/09/22 v0.14.2 Intelligent cross-referencing]
+ [2009/12/11 v0.15.3 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
\gdef\refstepcounter@noarg##1{%
\cref@old@refstepcounter{##1}%
\cref@constructprefix{##1}{\@result}%
- \edef\@result{{2147483647}\@result}%
+ \ifx\@result\@empty%
+ \def\@result{2147483647}%
+ \else%
+ \edef\@result{2147483647,\@result}%
+ \fi%
\def\@tmpa{##1}%
\def\@tmpb{section}%
\ifx\@tmpa\@tmpb%
\def\refstepcounter@noarg##1{%
\cref@old@refstepcounter{##1}%
\cref@constructprefix{##1}{\@result}%
- \edef\@result{{2147483647}\@result}%
+ \ifx\@result\@empty%
+ \def\@result{2147483647}%
+ \else%
+ \edef\@result{2147483647,\@result}%
+ \fi%
\def\@tmpa{##1}%
\def\@tmpb{chapter}%
\ifx\@tmpa\@tmpb%
\else%
\cref@stack@pop{\@tmpstack}%
\cref@isstackfull{\@tmpstack}%
- \fi
- }%
+ \fi}%
\expandafter\endgroup%
\if@notthere\cref@stack@push{#1}{#2}\fi}
\newif\if@cref@stackempty
\DeclareRobustCommand{\Cref}[1]{\@cref{Cref}{#1}}
\DeclareRobustCommand{\crefrange}[2]{\@setcrefrange{#1}{#2}{cref}{}}
\DeclareRobustCommand{\Crefrange}[2]{\@setcrefrange{#1}{#2}{Cref}{}}
+\@ifpackageloaded{hyperref}{\newif\if@crefstarred}{%
+ \@ifpackageloaded{varioref}{\newif\if@crefstarred}{}}
\def\@cref#1#2{%
+ \leavevmode%
\begingroup%
\countdef\count@consecutive=0%
\countdef\count@group=1%
\def\H@refstepcounter##1{%
\stepcounter{##1}%
\cref@constructprefix{##1}{\@result}%
- \edef\@result{{2147483647}\@result}%
+ \ifx\@result\@empty%
+ \def\@result{2147483647}%
+ \else%
+ \edef\@result{2147483647,\@result}%
+ \fi%
\def\@tmpa{##1}%
\def\@tmpb{section}%
\ifx\@tmpa\@tmpb%
\def\H@refstepcounter##1{%
\stepcounter{##1}%
\cref@constructprefix{##1}{\@result}%
- \edef\@result{{2147483647}\@result}%
+ \ifx\@result\@empty%
+ \def\@result{2147483647}%
+ \else%
+ \edef\@result{2147483647,\@result}%
+ \fi%
\def\@tmpa{##1}%
\def\@tmpb{chapter}%
\ifx\@tmpa\@tmpb%
\fi}%
}%
}
- \newif\if@crefstarred
\DeclareRobustCommand{\cref}{%
\@ifstar{\@crefstar{cref}}{\@crefnostar{cref}}}
\DeclareRobustCommand{\Cref}{%
\advance\@totalleftmargin \theorem@indent%
\parshape \@ne \@totalleftmargin \linewidth%
\@ifnextchar[{\@ythm{#1}{#2}{#3}}{\@xthm{#1}{#2}{#3}}%]
- }}{}% end of \@ifpackageloaded
+ }
+ }{}% end of \@ifpackageloaded
+ \@ifpackageloaded{amsthm}{%
+ \PackageInfo{cleveref}{`amsthm' support loaded}
+\let\@thmnoarg\@thm
+\def\@thm{\@ifnextchar[{\@thmoptarg}{\@thmnoarg}}%]
+\def\@thmoptarg[#1]#2#3#4{%
+ \ifhmode\unskip\unskip\par\fi%
+ \normalfont%
+ \trivlist%
+ \let\thmheadnl\relax%
+ \let\thm@swap\@gobble%
+ \thm@notefont{\fontseries\mddefault\upshape}%
+ \thm@headpunct{.}% add period after heading
+ \thm@headsep 5\p@ plus\p@ minus\p@\relax%
+ \thm@space@setup%
+ #2% style overrides
+ \@topsep \thm@preskip% used by thm head
+ \@topsepadd \thm@postskip% used by \@endparenv
+ \def\@tempa{#3}\ifx\@empty\@tempa%
+ \def\@tempa{\@oparg{\@begintheorem{#4}{}}[]}%
+ \else%
+ \refstepcounter[#1]{#3}%
+ \def\@tempa{\@oparg{\@begintheorem{#4}{\csname the#3\endcsname}}[]}%
+ \fi%
+ \@tempa}
+\def\@ynthm#1[#2]#3{%
+ \ifx\relax#2\relax%
+ \def\@tempa{\@oparg{\@xthm{#1}{#3}}[]}%
+ \else%
+ \@ifundefined{c@#2}{%
+ \def\@tempa{\@nocounterr{#2}}%
+ }{%
+ \@xp\xdef\csname the#1\endcsname{\@xp\@nx\csname the#2\endcsname}%
+ \toks@{#3}%
+ \@xp\xdef\csname#1\endcsname{%
+ \@nx\@thm[#1]{% <<<<< new optional argument for theorem name
+ \let\@nx\thm@swap%
+ \if S\thm@swap\@nx\@firstoftwo\else\@nx\@gobble\fi%
+ \@xp\@nx\csname th@\the\thm@style\endcsname}%
+ {#2}{\the\toks@}}%
+ \let\@tempa\relax%
+ }%
+ \fi%
+ \@tempa}
+ }{}% end of \@ifpackageloaded
\@ifpackageloaded{varioref}{%
\PackageInfo{cleveref}{`varioref' support loaded}
\PackageInfo{cleveref}{`cleveref' supersedes `varioref's %
\AtBeginDocument{%
\def\cref@vref#1#2{%
\if@cref@legacyvarioref%
- \leavevmode\unskip\vref@space
+ \leavevmode\unskip\vref@space%
\fi%
\@cref{#1}{#2} % space here is deliberate
\begingroup%
\def\@tmpstack{#2,\@nil}%
\cref@stack@topandbottom{\@tmpstack}{\@firstref}{\@lastref}%
\ifx\@lastref\@empty%
- \vpageref{#2}%
+ \vpageref[\unskip]{#2}%
\else%
\edef\@tmpa{{\@firstref}{\@lastref}}%
+ \expandafter\def\expandafter\@tmpa\expandafter{%
+ \expandafter[\expandafter\unskip\expandafter]%
+ \@tmpa}%
\expandafter\vpagerefrange\@tmpa%
\fi%
\endgroup}
\def\cref@vrefrange#1#2#3{%
- \@setcrefrange{#2}{#3}{#1}{} \vpagerefrange{#2}{#3}}
+ \@setcrefrange{#2}{#3}{#1}{} \vpagerefrange[\unskip]{#2}{#3}}
\def\cref@fullref#1#2{%
\@cref{#1}{#2} % space here is deliberate
\begingroup%
\@tmpa\expandafter{\@firstref}%
\expandafter\vrefpagenum\expandafter%
\@tmpb\expandafter{\@lastref}%
- \ifx\@tmpa\@tmpb
+ \ifx\@tmpa\@tmpb%
\expandafter\reftextfaraway\expandafter{\@firstref}%
- \else
+ \else%
\edef\@tmpa{{\@firstref}{\@lastref}}%
\expandafter\reftextpagerange\@tmpa%
\fi%
\def\vr@f#1{\cref@vref{cref}{#1}}
\def\Vr@f#1{\cref@vref{Cref}{#1}}
\renewcommand\vrefrange[3][\reftextcurrent]{%
- \crefrange{#2}{#3} \vpagerefrange{#2}{#3}}
+ \crefrange{#2}{#3} \vpagerefrange[\unskip]{#2}{#3}}
\def\fullref#1{\cref@fullref{cref}{#1}}
\else%
\@ifpackageloaded{hyperref}{%
\DeclareRobustCommand{\Fullref}{%
\@ifstar{\cref@fullrefstar{Cref}}{\cref@fullref{Cref}}}
\def\cref@vrefstar#1#2{%
- \@crefstarredtrue%
- \cref@vref{#1}{#2}%
- \@crefstarredfalse}
+ \@crefstarredtrue\cref@vref{#1}{#2}\@crefstarredfalse}
\def\cref@vrefrangestar#1#2#3{%
- \@crefstarredtrue%
- \cref@vrefrange{#1}{#2}{#3}%
- \@crefstarredfalse}
+ \@crefstarredtrue\cref@vrefrange{#1}{#2}{#3}\@crefstarredfalse}
\def\cref@fullrefstar#1#2{%
- \@crefstarredtrue%
- \cref@fullref{#1}{#2}%
- \@crefstarredfalse}
+ \@crefstarredtrue\cref@fullref{#1}{#2}\@crefstarredfalse}
}{%
\DeclareRobustCommand{\vref}{\cref@vref{cref}}
\DeclareRobustCommand{\Vref}{\cref@vref{Cref}}
\expandafter\def\expandafter\cref@poorman@text\expandafter{%
\crefrangeconjunction}%
\expandafter\def\expandafter\@tmpa\expandafter{%
- \expandafter{\@address}{\string\crefrangeconjunction}}
+ \expandafter{\@address}{\string\crefrangeconjunction}}%
\expandafter\cref@writescript\@tmpa%
\expandafter\def\expandafter\cref@poorman@text\expandafter{%
\crefrangepreconjunction}%
\expandafter\def\expandafter\@tmpa\expandafter{%
- \expandafter{\@address}{\string\crefrangepreconjunction}}
+ \expandafter{\@address}{\string\crefrangepreconjunction}}%
\expandafter\cref@writescript\@tmpa%
\expandafter\def\expandafter\cref@poorman@text\expandafter{%
\crefrangepostconjunction}%
\expandafter\def\expandafter\@tmpa\expandafter{%
- \expandafter{\@address}{\string\crefrangepostconjunction}}
+ \expandafter{\@address}{\string\crefrangepostconjunction}}%
\expandafter\cref@writescript\@tmpa%
\expandafter\def\expandafter\cref@poorman@text\expandafter{%
\crefpairconjunction}%
\expandafter\def\expandafter\@tmpa\expandafter{%
- \expandafter{\@address}{\string\crefpairconjunction}}
+ \expandafter{\@address}{\string\crefpairconjunction}}%
\expandafter\cref@writescript\@tmpa%
\expandafter\def\expandafter\cref@poorman@text\expandafter{%
\crefmiddleconjunction}%
\expandafter\def\expandafter\@tmpa\expandafter{%
- \expandafter{\@address}{\string\crefmiddleconjunction}}
+ \expandafter{\@address}{\string\crefmiddleconjunction}}%
\expandafter\cref@writescript\@tmpa%
\expandafter\def\expandafter\cref@poorman@text\expandafter{%
\creflastconjunction}%
\expandafter\def\expandafter\@tmpa\expandafter{%
- \expandafter{\@address}{\string\creflastconjunction}}
+ \expandafter{\@address}{\string\creflastconjunction}}%
\expandafter\cref@writescript\@tmpa%
\expandafter\def\expandafter\cref@poorman@text\expandafter{%
\crefpairgroupconjunction}%
\expandafter\def\expandafter\@tmpa\expandafter{%
- \expandafter{\@address}{\string\crefpairgroupconjunction}}
+ \expandafter{\@address}{\string\crefpairgroupconjunction}}%
\expandafter\cref@writescript\@tmpa%
\expandafter\def\expandafter\cref@poorman@text\expandafter{%
\crefmiddlegroupconjunction}%
\expandafter\def\expandafter\@tmpa\expandafter{%
- \expandafter{\@address}{\string\crefmiddlegroupconjunction}}
+ \expandafter{\@address}{\string\crefmiddlegroupconjunction}}%
\expandafter\cref@writescript\@tmpa%
\expandafter\def\expandafter\cref@poorman@text\expandafter{%
\creflastgroupconjunction}%
\expandafter\def\expandafter\@tmpa\expandafter{%
- \expandafter{\@address}{\string\creflastgroupconjunction}}
+ \expandafter{\@address}{\string\creflastgroupconjunction}}%
\expandafter\cref@writescript\@tmpa%
\let\@tmpstack\cref@label@types%
\cref@isstackfull{\@tmpstack}%
\expandafter\expandafter\expandafter{%
\expandafter\expandafter\expandafter{%
\expandafter\@address\expandafter}%
- \expandafter{\@tmpa}}
+ \expandafter{\@tmpa}}%
\expandafter\cref@writescript\@tmpa%
\edef\@tmpa{\cref@stack@top{\@tmpstack}}%
\expandafter\expandafter\expandafter\def%
\expandafter\expandafter\expandafter{%
\expandafter\expandafter\expandafter{%
\expandafter\@address\expandafter}%
- \expandafter{\@tmpa}}
+ \expandafter{\@tmpa}}%
\expandafter\cref@writescript\@tmpa%
\edef\@tmpa{\cref@stack@top{\@tmpstack}}%
\expandafter\expandafter\expandafter\def%
\expandafter\expandafter\expandafter{%
\expandafter\expandafter\expandafter%
{\expandafter\@address\expandafter}%
- \expandafter{\@tmpa}}
+ \expandafter{\@tmpa}}%
\expandafter\cref@writescript\@tmpa%
\edef\@tmpa{\cref@stack@top{\@tmpstack}}%
\expandafter\expandafter\expandafter\def%
\expandafter\expandafter\expandafter{%
\expandafter\expandafter\expandafter%
{\expandafter\@address\expandafter}%
- \expandafter{\@tmpa}}
+ \expandafter{\@tmpa}}%
\expandafter\cref@writescript\@tmpa%
\cref@stack@pop{\@tmpstack}%
\cref@isstackfull{\@tmpstack}}%
s/||label|[[^]]*|]/||label/g}}
\expandafter\g@addto@macro\expandafter%
\cref@poorman@text\expandafter{\@tmpa^^J}%
- \lowercase{\edef\@tmpa{s/||usepackage|(|[.*|]|)|?<cleveref>//g}}%
+ \lowercase{\edef\@tmpa{s/||usepackage|(|[.*|]|)|<0,1|><cleveref>//g}}%
\expandafter\g@addto@macro\expandafter%
\cref@poorman@text\expandafter{\@tmpa^^J}%
\lowercase{\edef\@tmpa{s/||[cC]refformat<.*><.*>//g}}%
\immediate\openout\@crefscript=\jobname.sed%
\immediate\write\@crefscript{\cref@poorman@text}%
\immediate\closeout\@crefscript%
- }
+ }% end of \AtEndDocument
\def\cref@getmeaning#1{\expandafter\@cref@getmeaning\meaning#1\@nil}
\def\@cref@getmeaning#1->#2\@nil{#2}
\def\cref@writescript#1#2{%
\def\@crefnostar#1#2{%
\gdef\cref@poorman@text{}%
\@cref{#1}{#2}%
- \begingroup%
- \lccode`|=92 \lccode`<=123 \lccode`>=125 \lccode`C=67
- \lowercase{\cref@writescript{}{|#1<#2>}}%
- \endgroup}
+ \def\@tmpa##1##2\@nil{%
+ \if##1c%
+ \cref@writescript{}{\string\cref\string{#2\string}}%
+ \else%
+ \cref@writescript{}{\string\Cref\string{#2\string}}%
+ \fi}%
+ \@tmpa#1\@nil}
\def\@crefstar#1#2{%
\gdef\cref@poorman@text{}%
\@crefstarredtrue\@cref{#1}{#2}\@crefstarredfalse%
- \begingroup%
- \lccode`|=92 \lccode`<=123 \lccode`>=125 \lccode`C=67
- \lowercase{\cref@writescript{}{|#1*<#2>}}%
- \endgroup}
+ \def\@tmpa##1##2\@nil{%
+ \if##1c%
+ \cref@writescript{}{\string\cref*\string{#2\string}}%
+ \else%
+ \cref@writescript{}{\string\Cref*\string{#2\string}}%
+ \fi}%
+ \@tmpa#1\@nil}
\def\@crefrangenostar#1#2#3{%
\gdef\cref@poorman@text{}%
\@setcrefrange{#2}{#3}{#1}{}%
- \begingroup%
- \lccode`|=92 \lccode`<=123 \lccode`>=125 \lccode`C=67
- \lowercase{\cref@writescript{}{|#1range<#2><#3>}}%
- \endgroup}
+ \def\@tmpa##1##2\@nil{%
+ \if##1c%
+ \cref@writescript{}{%
+ \string\crefrange\string{#2\string}\string{#3\string}}%
+ \else%
+ \cref@writescript{}{%
+ \string\Crefrange\string{#2\string}\string{#3\string}}%
+ \fi}%
+ \@tmpa#1\@nil}
\def\@crefrangestar#1#2#3{%
\gdef\cref@poorman@text{}%
\@crefstarredtrue\@setcrefrange{#2}{#3}{#1}{}\@crefstarredfalse%
- \begingroup%
- \lccode`|=92 \lccode`<=123 \lccode`>=125 \lccode`C=67
- \lowercase{\cref@writescript{}{|#1range*<#2><#3>}}%
- \endgroup}
+ \def\@tmpa##1##2\@nil{%
+ \if##1c%
+ \cref@writescript{}{%
+ \string\crefrange*\string{#2\string}\string{#3\string}}%
+ \else%
+ \cref@writescript{}{%
+ \string\Crefrange*\string{#2\string}\string{#3\string}}%
+ \fi}%
+ \@tmpa#1\@nil}
}{%
\DeclareRobustCommand{\cref}[1]{%
\edef\cref@poorman@text{}%
\@ifstar{\cref@vrefstar{cref}}{\cref@vref{cref}}}
\def\cref@vrefstar#1#2{%
\@crefstarredtrue\cref@vref{#1}{#2}\@crefstarredfalse}
- \fi
+ \fi%
\def\cref@vref#1#2{%
\gdef\cref@poorman@text{}%
\if@cref@legacyvarioref%
- \leavevmode\unskip\vref@space
+ \leavevmode\unskip\vref@space%
\fi%
\begingroup%
\let\if@tmp\if@crefstarred%
\def\@tmpstack{#2,\@nil}%
\cref@stack@topandbottom{\@tmpstack}{\@firstref}{\@lastref}%
\ifx\@lastref\@empty%
- \vpageref{#2}%
- \g@addto@macro\cref@poorman@text{ \vpageref{#2}}%
+ \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{%
+ \expandafter[\expandafter\unskip\expandafter]%
+ \@tmpa}%
\expandafter\vpagerefrange\@tmpa%
\expandafter\g@addto@macro\expandafter\cref@poorman@text%
\expandafter{\expandafter\vpagerefrange\@tmpa}%
\endgroup}
\def\cref@vrefrange#1#2#3{%
\gdef\cref@poorman@text{}%
- \@setcrefrange{#2}{#3}{#1}{} \vpagerefrange{#2}{#3}%
- \g@addto@macro\cref@poorman@text{ \vpagerefrange{#2}{#3}}%
+ \@setcrefrange{#2}{#3}{#1}{} \vpagerefrange[\unskip]{#2}{#3}%
+ \g@addto@macro\cref@poorman@text{ \vpagerefrange[\unskip]{#2}{#3}}%
\def\@tmpa##1##2\@nil{%
\if##1c%
\if@crefstarred%
\@tmpa\expandafter{\@firstref}%
\expandafter\vrefpagenum\expandafter%
\@tmpb\expandafter{\@lastref}%
- \ifx\@tmpa\@tmpb
+ \ifx\@tmpa\@tmpb%
\expandafter\reftextfaraway\expandafter{\@firstref}%
\expandafter\def\expandafter\@pageref\expandafter{%
\expandafter\reftextfaraway\expandafter{\@firstref}}%
- \else
+ \else%
\edef\@tmpa{{\@firstref}{\@lastref}}%
\expandafter\reftextpagerange\@tmpa%
\expandafter\def\expandafter\@pageref\expandafter{%
\cref@writescript{}{\string\Fullref\string{#2\string}}%
\fi%
\fi}%
- \@tmpa#1\@nil
+ \@tmpa#1\@nil%
\endgroup}
}% end of \AtBeginDocument
}{}% end of \@ifpackageloaded
\expandafter{#1{\ref{#2}}{\ref{#3}}{}{}{}{}}%
\fi}
}{%
+ \let\old@@setcref\@@setcref%
+ \let\old@@setcrefrange\@@setcrefrange%
\def\@@setcref#1#2{%
\old@@setcref{#1}{#2}%
\expandafter\g@addto@macro\expandafter{%
\creflabelformat{equation}{\textup{(#2#1#3)}}
\def\cref@addto#1#2{%
\@temptokena{#2}%
- \ifx#1\undefined
+ \ifx#1\undefined%
\edef#1{\the\@temptokena}%
- \else
+ \else%
\toks@\expandafter{#1}%
\edef#1{\the\toks@\the\@temptokena}%
- \fi
+ \fi%
\@temptokena{}\toks@\@temptokena%
}
\@onlypreamble\cref@addto
\Crefname@preamble{appendix}{Appendix}{Appendices}%
\Crefname@preamble{figure}{Figure}{Figures}%
\Crefname@preamble{table}{Table}{Tables}%
+ \Crefname@preamble{theorem}{Theorem}{Theorems}%
\Crefname@preamble{enumi}{Item}{Items}%
\Crefname@preamble{lemma}{Lemma}{Lemmas}%
\Crefname@preamble{corollary}{Corollary}{Corollaries}%
\crefname{note}{Anmerkung}{Anmerkungen}%
\fi%
}}}
+\DeclareOption{dutch}{%
+ \PackageInfo{cleveref}{loaded `dutch' language definitions}
+ \AtBeginDocument{%
+ \def\crefrangeconjunction@preamble{ tot~}%
+ \def\crefrangepreconjunction@preamble{}%
+ \def\crefrangepostconjunction@preamble{}%
+ \def\crefpairconjunction@preamble{ en~}%
+ \def\crefmiddleconjunction@preamble{, }%
+ \def\creflastconjunction@preamble{ en~}%
+ \def\crefpairgroupconjunction@preamble{ en~}%
+ \def\crefmiddlegroupconjunction@preamble{, }%
+ \def\creflastgroupconjunction@preamble{ en~}%
+ \Crefname@preamble{equation}%
+ {Ver\-ge\-l\ij{}k\-ing}{Ver\-ge\-l\ij{}k\-ing\-en}%
+ \Crefname@preamble{chapter}{Hoofdstuk}{Hoofdstuken}%
+ \Crefname@preamble{section}{Paragraaf}{Paragrafen}%
+ \Crefname@preamble{appendix}{Appendix}{Appendices}%
+ \Crefname@preamble{figure}{Figuur}{Figuren}%
+ \Crefname@preamble{table}{Tabel}{Tabellen}%
+ \Crefname@preamble{enumi}{Punt}{Punten}%
+ \Crefname@preamble{lemma}{Lemma}{Lemma's}%
+ \Crefname@preamble{corollary}{Corollarium}{Corollaria}%
+ \Crefname@preamble{proposition}{Bewering}{Beweringen}%
+ \Crefname@preamble{definition}{Definitie}{Definities}%
+ \Crefname@preamble{result}{Resultaat}{Resultaten}%
+ \Crefname@preamble{example}{Voorbeeld}{Voorbeelden}%
+ \Crefname@preamble{remark}{Opmerking}{Opmerkingen}%
+ \Crefname@preamble{note}{Aantekening}{Aantekeningen}%
+ \if@cref@capitalise%
+ \crefname@preamble{equation}{Verg.}{Verg's.}%
+ \crefname@preamble{chapter}{Hoofdstuk}{Hoofdstukken}%
+ \crefname@preamble{section}{Paragraaf}{Paragrafen}%
+ \crefname@preamble{appendix}{Appendix}{Appendices}%
+ \crefname@preamble{figure}{Fig.}{Fig's.}%
+ \crefname@preamble{table}{Tabel}{Tabellen}%
+ \crefname@preamble{theorem}{Theorema}{Theorema's}%
+ \crefname@preamble{enumi}{Punt}{Punten}%
+ \crefname@preamble{lemma}{Lemma}{Lemma's}%
+ \crefname@preamble{corollary}{Corollarium}{Corollaria}%
+ \crefname@preamble{proposition}{Bewering}{Beweringen}%
+ \crefname@preamble{definition}{Definitie}{Definities}%
+ \crefname@preamble{result}{Resultaat}{Resultaten}%
+ \crefname@preamble{example}{Voorbeeld}{Voorbeelden}%
+ \crefname@preamble{remark}{Opmerking}{Opmerkingen}%
+ \crefname@preamble{note}{Aantekening}{Aantekeningen}%
+ \else%
+ \crefname@preamble{equation}{verg.}{verg's.}%
+ \crefname@preamble{chapter}{hoofdstuk}{hoofdstukken}%
+ \crefname@preamble{section}{paragraaf}{paragrafen}%
+ \crefname@preamble{appendix}{appendix}{appendices}%
+ \crefname@preamble{figure}{fig.}{fig's.}%
+ \crefname@preamble{table}{tabel}{tabellen}%
+ \crefname@preamble{theorem}{theorema}{theorema's}%
+ \crefname@preamble{enumi}{punt}{punten}%
+ \crefname@preamble{lemma}{lemma}{lemma's}%
+ \crefname@preamble{corollary}{corollarium}{corollaria}%
+ \crefname@preamble{proposition}{bewering}{beweringen}%
+ \crefname@preamble{definition}{definitie}{definities}%
+ \crefname@preamble{result}{resultaat}{resultaten}%
+ \crefname@preamble{example}{voorbeeld}{voorbeelden}%
+ \crefname@preamble{remark}{opmerking}{opmerkingen}%
+ \crefname@preamble{note}{aantekening}{aantekeningen}%
+ \fi%
+ \def\cref@language{dutch}%
+ \cref@addto\extrasdutch{%
+ \renewcommand{\crefrangeconjunction}{ tot~}%
+ \renewcommand\crefrangepreconjunction{}%
+ \renewcommand\crefrangepostconjunction{}%
+ \renewcommand{\crefpairconjunction}{ en~}%
+ \renewcommand{\crefmiddleconjunction}{, }%
+ \renewcommand{\creflastconjunction}{ en~}%
+ \renewcommand{\crefpairgroupconjunction}{ en~}%
+ \renewcommand{\crefmiddlegroupconjunction}{, }%
+ \renewcommand{\creflastgroupconjunction}{ en~}%
+ \Crefname{equation}{Ver\-ge\-l\ij{}k\-ing}{Ver\-ge\-l\ij{}k\-ing\-en}%
+ \Crefname{chapter}{Hoofdstuk}{Hoofdstuken}%
+ \Crefname{section}{Paragraaf}{Paragrafen}%
+ \Crefname{subsection}{Paragraaf}{Paragrafen}%
+ \Crefname{subsubsection}{Paragraaf}{Paragrafen}%
+ \Crefname{appendix}{Appendix}{Appendices}%
+ \Crefname{subappendix}{Appendix}{Appendices}%
+ \Crefname{subsubappendix}{Appendix}{Appendices}%
+ \Crefname{subsubsubappendix}{Appendix}{Appendices}%
+ \Crefname{figure}{Figuur}{Figuren}%
+ \Crefname{subfigure}{Figuur}{Figuren}%
+ \Crefname{table}{Tabel}{Tabellen}%
+ \Crefname{subtable}{Tabel}{Tabellen}%
+ \Crefname{theorem}{Theorema}{Theorema's}%
+ \Crefname{enumi}{Punt}{Punten}%
+ \Crefname{enumii}{Punt}{Punten}%
+ \Crefname{enumiii}{Punt}{Punten}%
+ \Crefname{enumiv}{Punt}{Punten}%
+ \Crefname{enumv}{Punt}{Punten}%
+ \Crefname{lemma}{Lemma}{Lemma's}%
+ \Crefname{corollary}{Corollarium}{Corollaria}%
+ \Crefname{proposition}{Bewering}{Beweringen}%
+ \Crefname{definition}{Definitie}{Definities}%
+ \Crefname{result}{Resultaat}{Resultaten}%
+ \Crefname{example}{Voorbeeld}{Voorbeelden}%
+ \Crefname{remark}{Opmerking}{Opmerkingen}%
+ \Crefname{note}{Aantekening}{Aantekeningen}%
+ \if@cref@capitalise%
+ \crefname{equation}{Verg.}{Verg's.}%
+ \crefname{chapter}{Hoofdstuk}{Hoofdstukken}%
+ \crefname{section}{Paragraaf}{Paragrafen}%
+ \crefname{appendix}{Appendix}{Appendices}%
+ \crefname{figure}{Fig.}{Fig's.}%
+ \crefname{table}{Tabel}{Tabellen}%
+ \crefname{theorem}{Theorema}{Theorema's}%
+ \crefname{enumi}{Punt}{Punten}%
+ \crefname{lemma}{Lemma}{Lemma's}%
+ \crefname{corollary}{Corollarium}{Corollaria}%
+ \crefname{proposition}{Bewering}{Beweringen}%
+ \crefname{definition}{Definitie}{Definities}%
+ \crefname{result}{Resultaat}{Resultaten}%
+ \crefname{example}{Voorbeeld}{Voorbeelden}%
+ \crefname{remark}{Opmerking}{Opmerkingen}%
+ \crefname{note}{Aantekening}{Aantekeningen}%
+ \else%
+ \crefname{equation}{verg.}{verg's.}%
+ \crefname{chapter}{hoofdstuk}{hoofdstukken}%
+ \crefname{section}{paragraaf}{paragrafen}%
+ \crefname{appendix}{appendix}{appendices}%
+ \crefname{figure}{fig.}{fig's.}%
+ \crefname{table}{tabel}{tabellen}%
+ \crefname{theorem}{theorema}{theorema's}%
+ \crefname{enumi}{punt}{punten}%
+ \crefname{lemma}{lemma}{lemma's}%
+ \crefname{corollary}{corollarium}{corollaria}%
+ \crefname{proposition}{bewering}{beweringen}%
+ \crefname{definition}{definitie}{definities}%
+ \crefname{result}{resultaat}{resultaten}%
+ \crefname{example}{voorbeeld}{voorbeelden}%
+ \crefname{remark}{opmerking}{opmerkingen}%
+ \crefname{note}{aantekening}{aantekeningen}%
+ \fi%
+ }}}
\DeclareOption{french}{%
\PackageInfo{cleveref}{loaded `french' language definitions}
\AtBeginDocument{%
\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
+ \expandafter\expandafter\expandafter\let\expandafter\@tmpb\@tmpc%
}{%
\edef\@tmpb{%
\expandafter\noexpand\csname extras\cref@language\endcsname}%
\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
+ \expandafter\expandafter\expandafter\let\expandafter\@tmpb\@tmpc%
}{%
\edef\@tmpb{%
\expandafter\noexpand\csname extras\cref@language\endcsname}%