summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/cleveref
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-01-20 00:16:05 +0000
committerKarl Berry <karl@freefriends.org>2011-01-20 00:16:05 +0000
commitd0e0ced5b6c1be83aaf7b21fa07e5ed5e01f5733 (patch)
tree86e9c86a7b384da4787099e8182e0e7a03fc64c1 /Master/texmf-dist/tex/latex/cleveref
parentfb7ada71d4660b83b9e047eb4105554f2f36127f (diff)
cleveref 0.17.7 (20jan11)
git-svn-id: svn://tug.org/texlive/trunk@21128 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/cleveref')
-rw-r--r--Master/texmf-dist/tex/latex/cleveref/cleveref.sty383
1 files changed, 317 insertions, 66 deletions
diff --git a/Master/texmf-dist/tex/latex/cleveref/cleveref.sty b/Master/texmf-dist/tex/latex/cleveref/cleveref.sty
index a5d6d057a85..ed7c5767975 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}
- [2010/09/15 v0.17.5 Intelligent cross-referencing]
+ [2011/01/10 v0.17.7 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
@@ -1355,6 +1355,20 @@
\@latex@warning{Reference name for label type `\@tmpa' undefined}%
}{\csname Cref@\@tmpa @name\endcsname}%
\fi}
+\DeclareRobustCommand{\lcnamecref}[1]{%
+ \expandafter\ifx\csname r@cref@#1\endcsname\relax%
+ \protect\G@refundefinedtrue%
+ \nfss@text{\reset@font\bfseries ??}%
+ \@latex@warning{Reference `#1' on page \thepage \space undefined}%
+ \else%
+ \cref@gettype{#1}{\@tmpa}%
+ \@ifundefined{cref@\@tmpa @name}{%
+ \protect\G@refundefinedtrue%``
+ \nfss@text{\reset@font\bfseries ??}%
+ \@latex@warning{Reference name for label type `\@tmpa' undefined}%
+ }{\expandafter\expandafter\expandafter%
+ \MakeLowercase\csname cref@\@tmpa @name\endcsname}%
+ \fi}
\DeclareRobustCommand{\namecrefs}[1]{%
\expandafter\ifx\csname r@cref@#1\endcsname\relax%
\protect\G@refundefinedtrue%
@@ -1381,6 +1395,20 @@
\@latex@warning{Reference name for label type `\@tmpa' undefined}%
}{\csname Cref@\@tmpa @name@plural\endcsname}%
\fi}
+\DeclareRobustCommand{\lcnamecrefs}[1]{%
+ \expandafter\ifx\csname r@cref@#1\endcsname\relax%
+ \protect\G@refundefinedtrue%
+ \nfss@text{\reset@font\bfseries ??}%
+ \@latex@warning{Reference `#1' on page \thepage \space undefined}%
+ \else%
+ \cref@gettype{#1}{\@tmpa}%
+ \@ifundefined{cref@\@tmpa @name@plural}{%
+ \protect\G@refundefinedtrue%``
+ \nfss@text{\reset@font\bfseries ??}%
+ \@latex@warning{Reference name for label type `\@tmpa' undefined}%
+ }{\expandafter\expandafter\expandafter%
+ \MakeLowercase\csname cref@\@tmpa @name@plural\endcsname}%
+ \fi}
\cref@stack@init{\cref@label@types}
\newcommand{\crefdefaultlabelformat}[1]{%
\def\cref@default@label##1##2##3{#1}}
@@ -1426,14 +1454,16 @@
\expandafter\expandafter\expandafter\@tmpb%
\expandafter\expandafter\expandafter{%
\csname#1@#2@name@plural\endcsname}%
- \expandafter\expandafter\expandafter\def%
- \expandafter\expandafter\expandafter\@tmpa%
- \expandafter\expandafter\expandafter{%
- \expandafter\@tmpc\@tmpa}%
- \expandafter\expandafter\expandafter\def%
- \expandafter\expandafter\expandafter\@tmpb%
- \expandafter\expandafter\expandafter{%
- \expandafter\@tmpc\@tmpb}%
+ \expandafter\ifx\@tmpa\@empty\else%
+ \expandafter\expandafter\expandafter\def%
+ \expandafter\expandafter\expandafter\@tmpa%
+ \expandafter\expandafter\expandafter{%
+ \expandafter\@tmpc\@tmpa}%
+ \expandafter\expandafter\expandafter\def%
+ \expandafter\expandafter\expandafter\@tmpb%
+ \expandafter\expandafter\expandafter{%
+ \expandafter\@tmpc\@tmpb}%
+ \fi%
\toksdef\@toksa=0%
\@toksa={%
\expandafter\def\csname\@other @#2@name#5\endcsname}%
@@ -1484,14 +1514,22 @@
\def\@crefdefineformat#1{%
\begingroup%
\@crefconstructcomponents{#1}%
- \expandafter\expandafter\expandafter\def%
- \expandafter\expandafter\expandafter\@tmpfirst%
- \expandafter\expandafter\expandafter{%
- \expandafter\@tmpname\expandafter\nobreakspace\@tmplabel}%
- \expandafter\expandafter\expandafter\def%
- \expandafter\expandafter\expandafter\@tmpFirst%
- \expandafter\expandafter\expandafter{%
- \expandafter\@tmpName\expandafter\nobreakspace\@tmplabel}%
+ \expandafter\ifx\@tmpname\@empty\relax%
+ \expandafter\def\expandafter\@tmpfirst\expandafter{\@tmplabel}%
+ \else%
+ \expandafter\expandafter\expandafter\def%
+ \expandafter\expandafter\expandafter\@tmpfirst%
+ \expandafter\expandafter\expandafter{%
+ \expandafter\@tmpname\expandafter\nobreakspace\@tmplabel}%
+ \fi%
+ \expandafter\ifx\@tmpName\@empty\relax%
+ \expandafter\def\expandafter\@tmpFirst\expandafter{\@tmplabel}%
+ \else%
+ \expandafter\expandafter\expandafter\def%
+ \expandafter\expandafter\expandafter\@tmpFirst%
+ \expandafter\expandafter\expandafter{%
+ \expandafter\@tmpName\expandafter\nobreakspace\@tmplabel}%
+ \fi%
\expandafter\def\expandafter\@tmplabel\expandafter{\@tmplabel}%
\toksdef\@toksa=0%
\@toksa={\crefformat{#1}}%
@@ -1505,14 +1543,24 @@
\def\@crefrangedefineformat#1{%
\begingroup%
\@crefconstructcomponents{#1}%
- \expandafter\expandafter\expandafter\def%
- \expandafter\expandafter\expandafter\@tmpfirst%
- \expandafter\expandafter\expandafter{%
- \expandafter\@tmpnameplural\expandafter\nobreakspace\@tmprangelabel}%
- \expandafter\expandafter\expandafter\def%
- \expandafter\expandafter\expandafter\@tmpFirst%
- \expandafter\expandafter\expandafter{%
- \expandafter\@tmpNameplural\expandafter\nobreakspace\@tmprangelabel}%
+ \expandafter\ifx\@tmpname\@empty\relax%
+ \expandafter\def\expandafter\@tmpfirst%
+ \expandafter{\@tmprangelabel}%
+ \else%
+ \expandafter\expandafter\expandafter\def%
+ \expandafter\expandafter\expandafter\@tmpfirst%
+ \expandafter\expandafter\expandafter{%
+ \expandafter\@tmpnameplural\expandafter\nobreakspace\@tmprangelabel}%
+ \fi%
+ \expandafter\ifx\@tmpName\@empty\relax%
+ \expandafter\def\expandafter\@tmpFirst%
+ \expandafter{\@tmprangelabel}%
+ \else%
+ \expandafter\expandafter\expandafter\def%
+ \expandafter\expandafter\expandafter\@tmpFirst%
+ \expandafter\expandafter\expandafter{%
+ \expandafter\@tmpNameplural\expandafter\nobreakspace\@tmprangelabel}%
+ \fi%
\expandafter\def\expandafter\@tmprangelabel%
\expandafter{\@tmprangelabel}%
\toksdef\@toksa=0%
@@ -1532,14 +1580,24 @@
\def\@crefdefinemultiformat#1{%
\begingroup%
\@crefconstructcomponents{#1}%
- \expandafter\expandafter\expandafter\def%
- \expandafter\expandafter\expandafter\@tmpfirst%
- \expandafter\expandafter\expandafter{%
- \expandafter\@tmpnameplural\expandafter\nobreakspace\@tmplabel}%
- \expandafter\expandafter\expandafter\def%
- \expandafter\expandafter\expandafter\@tmpFirst%
- \expandafter\expandafter\expandafter{%
- \expandafter\@tmpNameplural\expandafter\nobreakspace\@tmplabel}%
+ \expandafter\ifx\@tmpnameplural\@empty\relax%
+ \expandafter\def\expandafter\@tmpfirst%
+ \expandafter{\@tmplabel}%
+ \else%
+ \expandafter\expandafter\expandafter\def%
+ \expandafter\expandafter\expandafter\@tmpfirst%
+ \expandafter\expandafter\expandafter{%
+ \expandafter\@tmpnameplural\expandafter\nobreakspace\@tmplabel}%
+ \fi%
+ \expandafter\ifx\@tmpNameplural\@empty\relax%
+ \expandafter\def\expandafter\@tmpFirst%
+ \expandafter{\@tmplabel}%
+ \else%
+ \expandafter\expandafter\expandafter\def%
+ \expandafter\expandafter\expandafter\@tmpFirst%
+ \expandafter\expandafter\expandafter{%
+ \expandafter\@tmpNameplural\expandafter\nobreakspace\@tmplabel}%
+ \fi%
\expandafter\def\expandafter\@tmpsecond\expandafter{%
\expandafter\crefpairconjunction\@tmplabel}%
\expandafter\def\expandafter\@tmpmiddle\expandafter{%
@@ -1587,14 +1645,24 @@
\def\@crefrangedefinemultiformat#1{%
\begingroup%
\@crefconstructcomponents{#1}%
- \expandafter\expandafter\expandafter\def%
- \expandafter\expandafter\expandafter\@tmpfirst%
- \expandafter\expandafter\expandafter{%
- \expandafter\@tmpnameplural\expandafter\nobreakspace\@tmprangelabel}%
- \expandafter\expandafter\expandafter\def%
- \expandafter\expandafter\expandafter\@tmpFirst%
- \expandafter\expandafter\expandafter{%
- \expandafter\@tmpNameplural\expandafter\nobreakspace\@tmprangelabel}%
+ \expandafter\ifx\@tmpnameplural\@empty\relax%
+ \expandafter\def\expandafter\@tmpfirst%
+ \expandafter{\@tmprangelabel}%
+ \else%
+ \expandafter\expandafter\expandafter\def%
+ \expandafter\expandafter\expandafter\@tmpfirst%
+ \expandafter\expandafter\expandafter{%
+ \expandafter\@tmpnameplural\expandafter\nobreakspace\@tmprangelabel}%
+ \fi%
+ \expandafter\ifx\@tmpNameplural\@empty\relax%
+ \expandafter\def\expandafter\@tmpFirst%
+ \expandafter{\@tmprangelabel}%
+ \else%
+ \expandafter\expandafter\expandafter\def%
+ \expandafter\expandafter\expandafter\@tmpFirst%
+ \expandafter\expandafter\expandafter{%
+ \expandafter\@tmpNameplural\expandafter\nobreakspace\@tmprangelabel}%
+ \fi%
\expandafter\def\expandafter\@tmpsecond\expandafter{%
\expandafter\crefpairconjunction\@tmprangelabel}%
\expandafter\def\expandafter\@tmpmiddle\expandafter{%
@@ -3083,7 +3151,7 @@
\Crefname@preamble{remark}{Bemerkung}{Bemerkungen}%
\Crefname@preamble{note}{Anmerkung}{Anmerkungen}%
\Crefname@preamble{algorithm}{Algorithmus}{Algorithmen}%
- \Crefname@preamble{line}{Linie}{Linien}%
+ \Crefname@preamble{line}{Zeile}{Zeilen}%
\if@cref@capitalise%
\crefname@preamble{equation}{Gleichung}{Gleichungen}%
\crefname@preamble{part}{Teil}{Teilen}%
@@ -3104,7 +3172,7 @@
\crefname@preamble{remark}{Bemerkung}{Bemerkungen}%
\crefname@preamble{note}{Anmerkung}{Anmerkungen}%
\crefname@preamble{algorithm}{Algorithmus}{Algorithmen}%
- \crefname@preamble{line}{Linie}{Linien}%
+ \crefname@preamble{line}{Zeile}{Zeilen}%
\else%
\crefname@preamble{equation}{Gleichung}{Gleichungen}%
\crefname@preamble{part}{Teil}{Teilen}%
@@ -3124,8 +3192,8 @@
\crefname@preamble{example}{Beispiel}{Beispiele}%
\crefname@preamble{remark}{Bemerkung}{Bemerkungen}%
\crefname@preamble{note}{Anmerkung}{Anmerkungen}%
- \crefname@preamble{algorithm}{algorithmus}{algorithmen}%
- \crefname@preamble{line}{linie}{linien}%
+ \crefname@preamble{algorithm}{Algorithmus}{Algorithmen}%
+ \crefname@preamble{line}{Zeile}{Zeilen}%
\fi%
\def\cref@language{german}%
\cref@addto\extrasgerman{%
@@ -3168,7 +3236,7 @@
\Crefname{remark}{Bemerkung}{Bemerkungen}%
\Crefname{note}{Anmerkung}{Anmerkungen}%
\Crefname{algorithm}{Algorithmus}{Algorithmen}%
- \Crefname{line}{Linie}{Linien}%
+ \Crefname{line}{Zeile}{Zeilen}%
\if@cref@capitalise%
\crefname{equation}{Gleichung}{Gleichungen}%
\crefname{part}{Teil}{Teilen}%
@@ -3200,7 +3268,7 @@
\crefname{remark}{Bemerkung}{Bemerkungen}%
\crefname{note}{Anmerkung}{Anmerkungen}%
\crefname{algorithm}{Algorithmus}{Algorithmen}%
- \crefname{line}{Linie}{Linien}%
+ \crefname{line}{Zeile}{Zeilen}%
\else%
\crefname{equation}{Gleichung}{Gleichungen}%
\crefname{part}{Teil}{Teilen}%
@@ -3232,7 +3300,7 @@
\crefname{remark}{Bemerkung}{Bemerkungen}%
\crefname{note}{Anmerkung}{Anmerkungen}%
\crefname{algorithm}{Algorithmus}{Algorithmen}%
- \crefname{line}{Linie}{Linien}%
+ \crefname{line}{Zeile}{Zeilen}%
\fi%
}}}
\DeclareOption{ngerman}{%
@@ -3280,7 +3348,7 @@
\Crefname{remark}{Bemerkung}{Bemerkungen}%
\Crefname{note}{Anmerkung}{Anmerkungen}%
\Crefname{algorithm}{Algorithmus}{Algorithmen}%
- \Crefname{line}{Linie}{Linien}%
+ \Crefname{line}{Zeile}{Zeilen}%
\if@cref@capitalise%
\crefname{equation}{Gleichung}{Gleichungen}%
\crefname{part}{Teil}{Teilen}%
@@ -3312,7 +3380,7 @@
\crefname{remark}{Bemerkung}{Bemerkungen}%
\crefname{note}{Anmerkung}{Anmerkungen}%
\crefname{algorithm}{Algorithmus}{Algorithmen}%
- \crefname{line}{Linie}{Linien}%
+ \crefname{line}{Zeile}{Zeilen}%
\else%
\crefname{equation}{Gleichung}{Gleichungen}%
\crefname{part}{Teil}{Teilen}%
@@ -3344,7 +3412,7 @@
\crefname{remark}{Bemerkung}{Bemerkungen}%
\crefname{note}{Anmerkung}{Anmerkungen}%
\crefname{algorithm}{Algorithmus}{Algorithmen}%
- \crefname{line}{Linie}{Linien}%
+ \crefname{line}{Zeile}{Zeilen}%
\fi%
}}}
\DeclareOption{dutch}{%
@@ -3523,7 +3591,7 @@
\Crefname@preamble{part}{Partie}{Parties}%
\Crefname@preamble{chapter}{Chapitre}{Chapitres}%
\Crefname@preamble{section}{Section}{Sections}%
- \Crefname@preamble{appendix}{Appendice}{Appendices}%
+ \Crefname@preamble{appendix}{Annexe}{Annexes}%
\Crefname@preamble{enumi}{Point}{Points}%
\Crefname@preamble{footnote}{Note}{Notes}%
\Crefname@preamble{figure}{Figure}{Figures}%
@@ -3543,7 +3611,7 @@
\crefname@preamble{part}{Partie}{Parties}%
\crefname@preamble{chapter}{Chapitre}{Chapitres}%
\crefname@preamble{section}{Section}{Sections}%
- \crefname@preamble{appendix}{Appendice}{Appendices}%
+ \crefname@preamble{appendix}{Annexe}{Annexes}%
\crefname@preamble{enumi}{Point}{Points}%
\crefname@preamble{footnote}{Note}{Notes}%
\crefname@preamble{figure}{Figure}{Figures}%
@@ -3564,7 +3632,7 @@
\crefname@preamble{part}{partie}{parties}%
\crefname@preamble{chapter}{chapitre}{chapitres}%
\crefname@preamble{section}{section}{sections}%
- \crefname@preamble{appendix}{appendice}{appendices}%
+ \crefname@preamble{appendix}{annexe}{annexes}%
\crefname@preamble{enumi}{point}{points}%
\crefname@preamble{footnote}{note}{notes}%
\crefname@preamble{figure}{figure}{figures}%
@@ -3598,10 +3666,10 @@
\Crefname{section}{Section}{Sections}%
\Crefname{subsection}{Section}{Sections}%
\Crefname{subsubsection}{Section}{Sections}%
- \Crefname{appendix}{Appendice}{Appendices}%
- \Crefname{subappendix}{Appendice}{Appendices}%
- \Crefname{subsubappendix}{Appendice}{Appendices}%
- \Crefname{subsubsubappendix}{Appendice}{Appendices}%
+ \Crefname{appendix}{Annexe}{Annexes}%
+ \Crefname{subappendix}{Annexe}{Annexes}%
+ \Crefname{subsubappendix}{Annexe}{Annexes}%
+ \Crefname{subsubsubappendix}{Annexe}{Annexes}%
\Crefname{enumi}{Point}{Points}%
\Crefname{enumii}{Point}{Points}%
\Crefname{enumiii}{Point}{Points}%
@@ -3630,10 +3698,10 @@
\crefname{section}{Section}{Sections}%
\crefname{subsection}{Section}{Sections}%
\crefname{subsubsection}{Section}{Sections}%
- \crefname{appendix}{Appendice}{Appendices}%
- \crefname{subappendix}{Appendice}{Appendices}%
- \crefname{subsubappendix}{Appendice}{Appendices}%
- \crefname{subsubsubappendix}{Appendice}{Appendices}%
+ \crefname{appendix}{Annexe}{Annexes}%
+ \crefname{subappendix}{Annexe}{Annexes}%
+ \crefname{subsubappendix}{Annexe}{Annexes}%
+ \crefname{subsubsubappendix}{Annexe}{Annexes}%
\crefname{enumi}{Point}{Points}%
\crefname{enumii}{Point}{Points}%
\crefname{enumiii}{Point}{Points}%
@@ -3662,10 +3730,10 @@
\crefname{section}{section}{sections}%
\crefname{subsection}{section}{sections}%
\crefname{subsubsection}{section}{sections}%
- \crefname{appendix}{appendice}{appendices}%
- \crefname{subappendix}{appendice}{appendices}%
- \crefname{subsubappendix}{appendice}{appendices}%
- \crefname{subsubsubappendix}{appendice}{appendices}%
+ \crefname{appendix}{annexe}{annexes}%
+ \crefname{subappendix}{annexe}{annexes}%
+ \crefname{subsubappendix}{annexe}{annexes}%
+ \crefname{subsubsubappendix}{annexe}{annexes}%
\crefname{enumi}{point}{points}%
\crefname{enumii}{point}{points}%
\crefname{enumiii}{point}{points}%
@@ -4973,6 +5041,189 @@
{\cyrs\cyrt\cyrr\cyrk.}%
\fi%
}}}
+\DeclareOption{norsk}{%
+ \PackageInfo{cleveref}{loaded norsk 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}{Likning}{Likninger}%
+ \Crefname@preamble{part}{Del}{Deler}%
+ \Crefname@preamble{chapter}{Kapittel}{Kapitler}%
+ \Crefname@preamble{section}{Avsnitt}{Avsnitt}%
+ \Crefname@preamble{appendix}{Tillegg}{Tillegg}%
+ \Crefname@preamble{enumi}{Punkt}{Punkter}%
+ \Crefname@preamble{footnote}{Fotnote}{Fotnoter}%
+ \Crefname@preamble{figure}{Figur}{Figurer}%
+ \Crefname@preamble{table}{Tabell}{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{example}{Eksempel}{Eksempler}%
+ \Crefname@preamble{remark}{Bemerkning}{Bemerkninger}%
+ \Crefname@preamble{note}{Note}{Noter}%
+ \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{enumi}{Punkt}{Punkter}%
+ \crefname@preamble{footnote}{Fotnote}{Fotnoter}%
+ \crefname@preamble{figure}{Figur}{Figurer}%
+ \crefname@preamble{table}{Tabell}{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}{Resultater}%
+ \crefname@preamble{example}{Eksempel}{Eksempler}%
+ \crefname@preamble{remark}{Bemerkning}{Bemerkninger}%
+ \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{enumi}{punkt}{punkter}%
+ \crefname@preamble{footnote}{fotnote}{fotnoter}%
+ \crefname@preamble{figure}{figur}{figurer}%
+ \crefname@preamble{table}{tabell}{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}{resultater}%
+ \crefname@preamble{example}{eksempel}{eksempler}%
+ \crefname@preamble{remark}{bemerkning}{bemerkninger}%
+ \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}%
+ \fi%
+ }}}
\edef\@curroptions{\@ptionlist{\@currname.\@currext}}%
\@expandtwoargs\in@{,capitalise,}{%
,\@classoptionslist,\@curroptions,}%