%%
%% This is file `jurarsp.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% jurarsp.dtx  (with options: `package')
%% 
%% IMPORTANT NOTICE:
%% 
%% For the copyright see the source file.
%% 
%% Any modified versions of this file must be renamed
%% with new filenames distinct from jurarsp.sty.
%% 
%% For distribution of the original source see the terms
%% for copying and modification in the file jurarsp.dtx.
%% 
%% This generated file may be distributed as long as the
%% original source files, as listed above, are part of the
%% same distribution. (The sources need not necessarily be
%% in the same archive or directory.)
%%
%% Written by Lucas Wartenburger
%%
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesPackage{jurarsp}[2006/03/04 v0.52]
\RequirePackage{ifthen}
\RequirePackage{keyval}
\RequirePackage{xspace}
\RequirePackage{calc}
\newcommand*{\cite@datedelimiter}{v.}
\def\rcite@before{, }
\def\rcite@after{}
\def\rsp@citefont{\relax}
\def\rsp@pkg@name{Rechtsprechungs- und Dokumentendatenbank}
\def\rsp@listpages{\relax}
\def\rsp@pagestring{zitiert auf S.~}
\newcommand*{\rsptitledocuments}{Verwendete amtliche Dokumente}
\newcommand*{\rsptitlejudgements}{Verwendete Rechtsprechung}
\newif\ifrsp@make@table\rsp@make@tabletrue
\def\rsp@namedef#1{\expandafter\edef\csname #1\endcsname}
\def\rsp@gnamedef#1{\expandafter\global\expandafter\edef\csname #1\endcsname}
\newcounter{rspbeginpage}
\newcounter{rspendpage}
\newcounter{rspcitefull@d}
\newcounter{rspcitefull@j}
\newif\ifcite@is@document
\newif\ifcite@preferofficial@j\cite@preferofficial@jtrue
\newif\ifcite@preferofficial@d\cite@preferofficial@dtrue
\newif\ifcite@useofficial
\newif\ifcite@longofficial@d\cite@longofficial@dfalse
\newif\ifcite@longofficial@j\cite@longofficial@jtrue
\newif\ifcite@longofficial@ld\cite@longofficial@ldfalse
\newif\ifcite@longofficial@lj\cite@longofficial@ljtrue
\newif\ifcite@longofficial
\newif\ifcite@repeated
\newif\ifcite@longcourt
\newif\ifcite@nocourt
\newif\ifcite@concept\cite@conceptfalse
\newif\ifcite@showcommented@d\cite@showcommented@dfalse
\newif\ifcite@showcommented@j\cite@showcommented@jfalse
\newif\ifcite@showcommented@ld\cite@showcommented@ldfalse
\newif\ifcite@showcommented@lj\cite@showcommented@ljfalse
\newif\ifcite@commented
\newif\ifcite@showname@d\cite@showname@dfalse
\newif\ifcite@showname@j\cite@showname@jfalse
\newif\ifcite@showname@ld\cite@showname@ldfalse
\newif\ifcite@showname@lj\cite@showname@ljfalse
\newif\ifcite@name
\newif\ifcite@showparties@d\cite@showparties@dfalse
\newif\ifcite@showparties@j\cite@showparties@jfalse
\newif\ifcite@showparties@ld\cite@showparties@ldfalse
\newif\ifcite@showparties@lj\cite@showparties@ljfalse
\newif\ifcite@parties
\newif\ifcite@showdate@d\cite@showdate@dtrue
\newif\ifcite@showdate@j\cite@showdate@jfalse
\newif\ifcite@showdate@ld\cite@showdate@ldtrue
\newif\ifcite@showdate@lj\cite@showdate@ljfalse
\newif\ifcite@date
\newif\ifcite@showsign@d\cite@showsign@dfalse
\newif\ifcite@showsign@j\cite@showsign@jfalse
\newif\ifcite@showsign@ld\cite@showsign@ldfalse
\newif\ifcite@showsign@lj\cite@showsign@ljfalse
\newif\ifcite@sign
\newif\ifcite@showdecision@d\cite@showdecision@dtrue
\newif\ifcite@showdecision@j\cite@showdecision@jfalse
\newif\ifcite@showdecision@ld\cite@showdecision@ldtrue
\newif\ifcite@showdecision@lj\cite@showdecision@ljfalse
\newif\ifcite@decision
\newif\ifcite@showadditional@d\cite@showadditional@dfalse
\newif\ifcite@showadditional@j\cite@showadditional@jfalse
\newif\ifcite@showadditional@ld\cite@showadditional@ldfalse
\newif\ifcite@showadditional@lj\cite@showadditional@ljfalse
\newif\ifcite@additional
\newif\ifrsp@firstcite@full@d\rsp@firstcite@full@dfalse
\newif\ifrsp@firstcite@full@j\rsp@firstcite@full@jfalse
\newif\ifrsp@all@full@d\rsp@all@full@dfalse
\newif\ifrsp@all@full@j\rsp@all@full@jfalse
\newif\ifrsp@firstcite
\newif\ifrsp@lookat@j\rsp@lookat@jfalse
\newif\ifrsp@lookat@d\rsp@lookat@dfalse
\newif\ifrsp@lookat@use
\newif\ifrsp@showlist@d\rsp@showlist@dtrue
\newif\ifrsp@showlist@j\rsp@showlist@jtrue
\newif\ifrsp@showlist
\def\rcite@fulloptions{\cite@signtrue\cite@namefalse%
\cite@partiestrue\cite@datetrue%
    \cite@decisiontrue\cite@commentedfalse\cite@additionaltrue}
\protect\def\rcite@leanoptions{\cite@signfalse%
\cite@namefalse\cite@partiesfalse%
    \cite@commentedfalse\cite@additionalfalse%
    \ifcite@is@document\else\cite@decisionfalse\cite@datefalse\fi}
\newif\ifgroup@court@d\group@court@dfalse
\newif\ifgroup@court@j\group@court@jfalse
\newif\ifgroup@level@d\group@level@dfalse
\newif\ifgroup@level@j\group@level@jfalse
\newif\ifgroup@jurisdiction@d\group@jurisdiction@dfalse
\newif\ifgroup@jurisdiction@j\group@jurisdiction@jfalse
\newif\ifgroup@state@d\group@state@dfalse
\newif\ifgroup@state@j\group@state@jfalse
\providecommand\hyper@natlinkstart[1]{}%
\providecommand\hyper@natlinkend{}%
\providecommand\hyper@natanchorstart[1]{}%
\providecommand\hyper@natanchorend{}%
\def\hyper@rsplinkstart{\hyper@natlinkstart}
\def\hyper@rsplinkend{\hyper@natlinkend}
\def\hyper@rspanchorstart{\hyper@natanchorstart}
\def\hyper@rspanchorend{\hyper@natanchorend}
\newif\ifrsp@fn\rsp@fnfalse
\long\def\@makefntext#1{%
  \rsp@fntrue%
  \@setpar{\@@par
  \@tempdima = \hsize
  \advance\@tempdima-15pt
  \parshape \@ne 15pt \@tempdima}%
  \par
  \parindent 1em\noindent
  \hbox to \z@{\hss\@makefnmark\thinspace}#1}
\newif\ifrsp@debug\rsp@debugfalse
\let\rsp@typeout\typeout
\let\rsp@package@warning\PackageWarning
\let\rsp@package@warningNoLine\PackageWarningNoLine
\def\rsp@info#1{\PackageInfo{\rsp@pkg@name}{#1}}%
\newcommand*{\rspsilent}{%
  \rsp@info{*** Silent Mode ON ***}%
  \let\rsp@package@warning\@gobbletwo
  \let\rsp@package@warningNoLine\@gobbletwo
  \let\rsp@typeout\@gobble%
}%
\newcommand*{\rsp@firstofsix}   [6]{#1}
\newcommand*{\rsp@secondofsix}  [6]{#2}
\newcommand*{\rsp@thirdofsix}   [6]{#3}
\newcommand*{\rsp@fourthofsix}  [6]{#4}
\newcommand*{\rsp@fifthofsix}   [6]{#5}
\newcommand*{\rsp@sixthofsix}   [6]{#6}
\newcommand*{\rsp@firstoffive}  [5]{#1}
\newcommand*{\rsp@secondoffive} [5]{#2}
\newcommand*{\rsp@thirdoffive}  [5]{#3}
\newcommand*{\rsp@fourthoffive} [5]{#4}
\newcommand*{\rsp@fifthoffive}  [5]{#5}
\newcommand*{\rsp@firstoffour}  [4]{#1}
\newcommand*{\rsp@secondoffour} [4]{#2}
\newcommand*{\rsp@thirdoffour}  [4]{#3}
\newcommand*{\rsp@fourthoffour} [4]{#4}
\newcommand*{\rsp@firstofthree}  [3]{#1}
\newcommand*{\rsp@secondofthree} [3]{#2}
\newcommand*{\rsp@thirdofthree}  [3]{#3}
\newcommand*{\rsp@firstoftwo}  [2]{#1}
\newcommand*{\rsp@secondoftwo} [2]{#2}
\newcommand*{\rsp@firstofone}  [1]{#1}
\def\rsp@splitlines#1{%
 \protected@edef\rsp@general{\expandafter\rsp@firstofsix#1}%
 \protected@edef\rsp@court{\expandafter\rsp@secondofsix#1}%
 \protected@edef\rsp@decision{\expandafter\rsp@thirdofsix#1}%
 \protected@edef\rsp@official{\expandafter\rsp@fourthofsix#1}%
 \protected@edef\rsp@journal{\expandafter\rsp@fifthofsix#1}%
 \protected@edef\rsp@notes{\expandafter\rsp@sixthofsix#1}%
}
\def\rsp@@type{\expandafter\rsp@firstofsix\rsp@general}
\def\rsp@@state{\expandafter\rsp@secondofsix\rsp@general}
\def\rsp@@jurisdiction{\expandafter\rsp@thirdofsix\rsp@general}
\def\rsp@@level{\expandafter\rsp@fourthofsix\rsp@general}
\def\rsp@@place{\expandafter\rsp@fifthofsix\rsp@general}
\def\rsp@@court{\expandafter\rsp@sixthofsix\rsp@general}
\def\rsp@@short{\expandafter\rsp@firstofthree\rsp@court}
\def\rsp@@special{\expandafter\rsp@secondofthree\rsp@court}
\def\rsp@@chamber{\expandafter\rsp@thirdofthree\rsp@court}
\def\rsp@@date{\expandafter\rsp@firstoffive\rsp@decision}
\def\rsp@@sign{\expandafter\rsp@secondoffive\rsp@decision}
\def\rsp@@parties{\expandafter\rsp@thirdoffive\rsp@decision}
\def\rsp@@name{\expandafter\rsp@fourthoffive\rsp@decision}
\def\rsp@@decision{\expandafter\rsp@fifthoffive\rsp@decision}
\def\rsp@@offlong{\expandafter\rsp@firstofthree\rsp@official}
\def\rsp@@offshort{\expandafter\rsp@secondofthree\rsp@official}
\def\rsp@@offpages{\expandafter\rsp@thirdofthree\rsp@official}
\def\rsp@@jname{\expandafter\rsp@firstofthree\rsp@journal}
\def\rsp@@jpages{\expandafter\rsp@secondofthree\rsp@journal}
\def\rsp@@additional{\expandafter\rsp@thirdofthree\rsp@journal}
\def\rsp@@note{\expandafter\rsp@firstoffour\rsp@notes}
\def\rsp@@annote{\expandafter\rsp@secondoffour\rsp@notes}
\def\rsp@@commented{\expandafter\rsp@thirdoffour\rsp@notes}
\def\rsp@@citeas{\expandafter\rsp@fourthoffour\rsp@notes}
\def\rspsetup{\setkeys{rsp}}
\let\rsp@origExecuteOptions\ExecuteOptions
\let\ExecuteOptions\rspsetup
\def\ProcessOptionsWithKV#1{%
  \let\@tempa\@empty
  \@for\CurrentOption:=\@classoptionslist\do{%
  \@ifundefined{KV@#1@\CurrentOption}%
  {}{\edef\@tempa{\@tempa,\CurrentOption,}}}%
  \edef\@tempa{%
  \noexpand\setkeys{#1}{\@tempa\@ptionlist{\@currname.\@currext}}}%
  \@tempa%
  \AtEndOfPackage{\let\@unprocessedoptions\relax}%
}%
\ProcessOptionsWithKV{rsp}%
\let\ExecuteOptions\rsp@origExecuteOptions
\newif\ifrsp@kv@recognized\rsp@kv@recognizedfalse
\newcommand*{\rsp@kv@warning}[2]{%
  \rsp@package@warningNoLine{\rsp@pkg@name}{%
   unrecognized value `#1'\MessageBreak
   for key `#2' ignored}}
\define@key{rsp}{citationmode}[brackets]{%
 \@for\rsp@val:=#1\do{%
  \rsp@kv@recognizedfalse
  \ifthenelse{\equal{\rsp@val}{colon}}{%
    \def\rcite@before{: }
    \def\rcite@after{}
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{comma}}{%
    \def\rcite@before{, }
    \def\rcite@after{}
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{semicolon}}{%
    \def\rcite@before{; }
    \def\rcite@after{}
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{brackets}}{%
    \def\rcite@before{ {\rsp@citefont(}}
    \def\rcite@after{{\rsp@citefont)}}
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifrsp@kv@recognized\else\rsp@kv@warning{\rsp@val}{citationmode}\fi
 }%
}%
\define@key{rsp}{citationfont}[slanted]{%
 \@for\rsp@val:=#1\do{%
  \rsp@kv@recognizedfalse
  \ifthenelse{\equal{\rsp@val}{normal}}{%
  \def\rsp@citefont{\relax}
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{italics}}{%
  \def\rsp@citefont{\itshape}
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{slanted}}{%
  \def\rsp@citefont{\slshape}
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{bold}}{%
  \def\rsp@citefont{\bfseries}
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifrsp@kv@recognized\else\rsp@kv@warning{\rsp@val}{citationfont}\fi
 }%
}%
\define@key{rsp}{preferofficial}[all]{%
 \@for\rsp@val:=#1\do{%
  \rsp@kv@recognizedfalse
  \ifthenelse{\equal{\rsp@val}{all}}{%
    \cite@preferofficial@jtrue
    \cite@preferofficial@dtrue
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{judgements}}{%
    \cite@preferofficial@jtrue
    \cite@preferofficial@dfalse
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{documents}}{%
    \cite@preferofficial@jfalse
    \cite@preferofficial@dtrue
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{never}}{%
    \cite@preferofficial@jfalse
    \cite@preferofficial@dfalse
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifrsp@kv@recognized\else\rsp@kv@warning{\rsp@val}{preferofficial}\fi
 }%
}%
\define@key{rsp}{conceptmode}[on]{%
 \@for\rsp@val:=#1\do{%
  \rsp@kv@recognizedfalse
  \ifthenelse{\equal{\rsp@val}{on}}{%
    \cite@concepttrue
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{off}}{%
    \cite@conceptfalse
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifrsp@kv@recognized\else\rsp@kv@warning{\rsp@val}{conceptmode}\fi
 }%
}%
\define@key{rsp}{fullcitecontent}[full]{%
 \@for\rsp@val:=#1\do{%
  \rsp@kv@recognizedfalse
  \ifthenelse{\equal{\rsp@val}{normal}}{%
    \relax
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{full}}{%
    \def\rcite@fulloptions{\cite@signtrue\cite@nametrue%
      \cite@partiestrue\cite@datetrue%
      \cite@decisiontrue\cite@commentedtrue\cite@additionaltrue}
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{likelist}}{%
    \protect\def\rcite@fulloptions{\rsp@makeentry@defaults}
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifrsp@kv@recognized\else\rsp@kv@warning{\rsp@val}{fullcitecontent}\fi
 }%
}%
\define@key{rsp}{leancitecontent}[normal]{%
 \@for\rsp@val:=#1\do{%
  \rsp@kv@recognizedfalse
  \ifthenelse{\equal{\rsp@val}{normal}}{%
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{minimum}}{%
    \def\rcite@leanoptions{\cite@signfalse\cite@namefalse%
     \cite@partiesfalse\cite@commentedfalse\cite@additionalfalse%
     \cite@decisionfalse\cite@datefalse}
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{likeentry}}{%
    \protect\def\rcite@leanoptions{\rsp@makecite@defaults}
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifrsp@kv@recognized\else\rsp@kv@warning{\rsp@val}{leancitecontent}\fi
 }%
}%
\define@key{rsp}{documentcitefull}[first]{%
 \@for\rsp@val:=#1\do{%
  \rsp@kv@recognizedfalse
  \ifthenelse{\equal{\rsp@val}{never}}{%
    \rsp@firstcite@full@dfalse
    \rsp@all@full@dfalse
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{first}}{%
    \rsp@firstcite@full@dtrue
    \rsp@all@full@dfalse
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{chapter}}{%
    \@ifundefined{chapter}{%
     \ClassError{\rsp@pkg@name}{%
      Sorry, `documentcitefull=chapter' makes no sense for\MessageBreak
      classes without \string\chapter%
     }{Try `documentcitefull=section' for an article class}}{}%
    \rsp@firstcite@full@dtrue%
    \rsp@all@full@dfalse%
    \@addtoreset{rspcitefull@d}{chapter}%
    \def\rsp@resetfor@d{chapter}%
    \def\rsp@reset@look@label@for@d{\thechapter}%
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{section}}{%
    \rsp@firstcite@full@dtrue%
    \rsp@all@full@dfalse%
    \@addtoreset{rspcitefull@d}{section}%
    \def\rsp@resetfor@d{section}%
    \def\rsp@reset@look@label@for@d{\thesection}%
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{all}}{%
    \rsp@firstcite@full@dfalse
    \rsp@all@full@dtrue
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifrsp@kv@recognized\else\rsp@kv@warning{\rsp@val}{documentcitefull}\fi
 }%
}%
\define@key{rsp}{judgementcitefull}[first]{%
 \@for\rsp@val:=#1\do{%
  \rsp@kv@recognizedfalse
  \ifthenelse{\equal{\rsp@val}{never}}{%
    \rsp@firstcite@full@jfalse
    \rsp@all@full@jfalse
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{first}}{%
    \rsp@firstcite@full@jtrue
    \rsp@all@full@jfalse
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{chapter}}{%
    \@ifundefined{chapter}{%
     \ClassError{\rsp@pkg@name}{%
      Sorry, `documentcitefull=chapter' makes no sense for\MessageBreak
      classes without \string\chapter%
     }{Try `documentcitefull=section' for an article class}}{}%
    \rsp@firstcite@full@jtrue
    \rsp@all@full@jfalse
    \@addtoreset{rspcitefull@j}{chapter}%
    \def\rsp@resetfor@j{chapter}%
    \def\rsp@reset@look@label@for@j{\thechapter}%
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{section}}{%
    \rsp@firstcite@full@jtrue
    \rsp@all@full@jfalse
    \@addtoreset{rspcitefull@j}{section}%
    \def\rsp@resetfor@j{section}%
    \def\rsp@reset@look@label@for@j{\thesection}%
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{all}}{%
    \rsp@firstcite@full@jfalse
    \rsp@all@full@jtrue
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifrsp@kv@recognized\else\rsp@kv@warning{\rsp@val}{judgementcitefull}\fi
 }%
}%
\define@key{rsp}{makelists}[never]{%
\rsp@showlist@jfalse
\rsp@showlist@dfalse
 \@for\rsp@val:=#1\do{%
  \rsp@kv@recognizedfalse
  \ifthenelse{\equal{\rsp@val}{never}}{%
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{all}}{%
    \rsp@showlist@jtrue
    \rsp@showlist@dtrue
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{documents}}{%
\rsp@showlist@dtrue
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{judgements}}{%
    \rsp@showlist@jtrue
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifrsp@kv@recognized\else\rsp@kv@warning{\rsp@val}{makelists}\fi
 }%
}%
\define@key{rsp}{listpages}[right]{%
 \@for\rsp@val:=#1\do{%
  \rsp@kv@recognizedfalse
  \ifthenelse{\equal{\rsp@val}{right}}{%
    \let\rsp@listpages=\raggedleft
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{left}}{%
    \let\rsp@listpages=\raggedright
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{center}}{%
\let\rsp@listpages=\centering
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifrsp@kv@recognized\else\rsp@kv@warning{\rsp@val}{listpages}\fi
 }%
}%
\define@key{rsp}{pagestring}{%
 \@for\rsp@val:=#1\do{%
  \ifthenelse{\equal{\rsp@val}{}}{%
   \rsp@kv@warning{empty value}{pagestring}}{%
   \let\rsp@pagestring=\rsp@val}%
 }%
}%
\define@key{rsp}{rlookat}[all]{%
 \@for\rsp@val:=#1\do{%
  \rsp@kv@recognizedfalse
  \ifthenelse{\equal{\rsp@val}{never}}{%
    \rsp@lookat@jfalse
    \rsp@lookat@dfalse
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{all}}{%
    \rsp@lookat@jtrue
    \rsp@lookat@dtrue
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{documents}}{%
    \rsp@lookat@jfalse
    \rsp@lookat@dtrue
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{judgements}}{%
    \rsp@lookat@jtrue
    \rsp@lookat@dfalse
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifrsp@kv@recognized\else\rsp@kv@warning{\rsp@val}{rlookat}\fi
 }%
}%
\define@key{rsp}{showname}[all]{%
    \cite@showname@jfalse
    \cite@showname@dfalse
    \cite@showname@ljfalse
    \cite@showname@ldfalse
 \@for\rsp@val:=#1\do{%
  \rsp@kv@recognizedfalse
  \ifthenelse{\equal{\rsp@val}{all}}{%
    \cite@showname@jtrue
    \cite@showname@dtrue
    \cite@showname@ljtrue
    \cite@showname@ldtrue
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{judgements}}{%
    \cite@showname@jtrue
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{documents}}{%
    \cite@showname@dtrue
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{never}}{%
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{lists}}{%
    \cite@showname@ljtrue
    \cite@showname@ldtrue
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{documentslist}}{%
    \cite@showname@ldtrue
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{judgementslist}}{%
    \cite@showname@ljtrue
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifrsp@kv@recognized\else\rsp@kv@warning{\rsp@val}{showname}\fi
 }%
}%
\define@key{rsp}{showparties}[{judgements,judgementslist}]{%
    \cite@showparties@jfalse
    \cite@showparties@dfalse
    \cite@showparties@ljfalse
    \cite@showparties@ldfalse
 \@for\rsp@val:=#1\do{%
  \rsp@kv@recognizedfalse
  \ifthenelse{\equal{\rsp@val}{all}}{%
    \cite@showparties@jtrue
    \cite@showparties@dtrue
    \cite@showparties@ljtrue
    \cite@showparties@ldtrue
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{judgements}}{%
    \cite@showparties@jtrue
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{documents}}{%
    \cite@showparties@dtrue
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{never}}{%
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{lists}}{%
    \cite@showparties@ljtrue
    \cite@showparties@ldtrue
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{documentslist}}{%
    \cite@showparties@ldtrue
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{judgementslist}}{%
    \cite@showparties@ljtrue
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifrsp@kv@recognized\else\rsp@kv@warning{\rsp@val}{showparties}\fi
 }%
}%
\define@key{rsp}{showdate}[all]{%
    \cite@showdate@jfalse
    \cite@showdate@dfalse
    \cite@showdate@ljfalse
    \cite@showdate@ldfalse
 \@for\rsp@val:=#1\do{%
  \rsp@kv@recognizedfalse
  \ifthenelse{\equal{\rsp@val}{all}}{%
    \cite@showdate@jtrue
    \cite@showdate@dtrue
    \cite@showdate@ljtrue
    \cite@showdate@ldtrue
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{judgements}}{%
    \cite@showdate@jtrue
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{documents}}{%
    \cite@showdate@dtrue
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{never}}{%
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{lists}}{%
    \cite@showdate@ljtrue
    \cite@showdate@ldtrue
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{documentslist}}{%
    \cite@showdate@ldtrue
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{judgementslist}}{%
    \cite@showdate@ljtrue
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifrsp@kv@recognized\else\rsp@kv@warning{\rsp@val}{showdate}\fi
 }%
}%
\define@key{rsp}{showdecision}[all]{%
    \cite@showdecision@jfalse
    \cite@showdecision@dfalse
    \cite@showdecision@ljfalse
    \cite@showdecision@ldfalse
 \@for\rsp@val:=#1\do{%
  \rsp@kv@recognizedfalse
  \ifthenelse{\equal{\rsp@val}{all}}{%
    \cite@showdecision@jtrue
    \cite@showdecision@dtrue
    \cite@showdecision@ljtrue
    \cite@showdecision@ldtrue
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{judgements}}{%
    \cite@showdecision@jtrue
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{documents}}{%
    \cite@showdecision@dtrue
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{never}}{%
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{lists}}{%
    \cite@showdecision@ljtrue
    \cite@showdecision@ldtrue
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{documentslist}}{%
    \cite@showdecision@ldtrue
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{judgementslist}}{%
    \cite@showdecision@ljtrue
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifrsp@kv@recognized\else\rsp@kv@warning{\rsp@val}{showdecision}\fi
 }%
}%
\define@key{rsp}{showsign}[all]{%
    \cite@showsign@jfalse
    \cite@showsign@dfalse
    \cite@showsign@ljfalse
    \cite@showsign@ldfalse
 \@for\rsp@val:=#1\do{%
  \rsp@kv@recognizedfalse
  \ifthenelse{\equal{\rsp@val}{all}}{%
    \cite@showsign@jtrue
    \cite@showsign@dtrue
    \cite@showsign@ljtrue
    \cite@showsign@ldtrue
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{judgements}}{%
    \cite@showsign@jtrue
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{documents}}{%
    \cite@showsign@dtrue
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{never}}{%
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{lists}}{%
    \cite@showsign@ljtrue
    \cite@showsign@ldtrue
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{documentslist}}{%
    \cite@showsign@ldtrue
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{judgementslist}}{%
    \cite@showsign@ljtrue
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifrsp@kv@recognized\else\rsp@kv@warning{\rsp@val}{showsign}\fi
 }%
}%
\define@key{rsp}{showcommented}[all]{%
    \cite@showcommented@jfalse
    \cite@showcommented@dfalse
    \cite@showcommented@ljfalse
    \cite@showcommented@ldfalse
 \@for\rsp@val:=#1\do{%
  \rsp@kv@recognizedfalse
  \ifthenelse{\equal{\rsp@val}{all}}{%
    \cite@showcommented@jtrue
    \cite@showcommented@dtrue
    \cite@showcommented@ljtrue
    \cite@showcommented@ldtrue
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{judgements}}{%
    \cite@showcommented@jtrue
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{documents}}{%
    \cite@showcommented@dtrue
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{never}}{%
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{lists}}{%
    \cite@showcommented@ljtrue
    \cite@showcommented@ldtrue
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{documentslist}}{%
    \cite@showcommented@ldtrue
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{judgementslist}}{%
    \cite@showcommented@ljtrue
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifrsp@kv@recognized\else\rsp@kv@warning{\rsp@val}{showcommented}\fi
 }%
}%
\define@key{rsp}{showadditional}[all]{%
    \cite@showadditional@jfalse
    \cite@showadditional@dfalse
    \cite@showadditional@ljfalse
    \cite@showadditional@ldfalse
 \@for\rsp@val:=#1\do{%
  \rsp@kv@recognizedfalse
  \ifthenelse{\equal{\rsp@val}{all}}{%
    \cite@showadditional@jtrue
    \cite@showadditional@dtrue
    \cite@showadditional@ljtrue
    \cite@showadditional@ldtrue
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{judgements}}{%
    \cite@showadditional@jtrue
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{documents}}{%
    \cite@showadditional@dtrue
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{never}}{%
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{lists}}{%
    \cite@showadditional@ljtrue
    \cite@showadditional@ldtrue
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{documentslist}}{%
    \cite@showadditional@ldtrue
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{judgementslist}}{%
    \cite@showadditional@ljtrue
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifrsp@kv@recognized\else\rsp@kv@warning{\rsp@val}{showadditional}\fi
 }%
}%
\define@key{rsp}{longofficial}[all]{%
    \cite@longofficial@jfalse
    \cite@longofficial@dfalse
    \cite@longofficial@ljfalse
    \cite@longofficial@ldfalse
 \@for\rsp@val:=#1\do{%
  \rsp@kv@recognizedfalse
  \ifthenelse{\equal{\rsp@val}{all}}{%
    \cite@longofficial@jtrue
    \cite@longofficial@dtrue
    \cite@longofficial@ljtrue
    \cite@longofficial@ldtrue
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{judgements}}{%
    \cite@longofficial@jtrue
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{documents}}{%
    \cite@longofficial@dtrue
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{never}}{%
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{lists}}{%
    \cite@longofficial@ljtrue
    \cite@longofficial@ldtrue
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{documentslist}}{%
    \cite@longofficial@ldtrue
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{judgementslist}}{%
    \cite@longofficial@ljtrue
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifrsp@kv@recognized\else\rsp@kv@warning{\rsp@val}{longofficial}\fi
 }%
}%
\define@key{rsp}{groupbystate}[all]{%
 \@for\rsp@val:=#1\do{%
  \rsp@kv@recognizedfalse
  \ifthenelse{\equal{\rsp@val}{all}}{%
    \group@state@jtrue
    \group@state@dtrue
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{judgements}}{%
    \group@state@jtrue
    \group@state@dfalse
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{documents}}{%
    \group@state@jfalse
    \group@state@dtrue
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{never}}{%
    \group@state@jfalse
    \group@state@dfalse
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifrsp@kv@recognized\else\rsp@kv@warning{\rsp@val}{groupbystate}\fi
 }%
}%
\define@key{rsp}{groupbyjurisdiction}[all]{%
 \@for\rsp@val:=#1\do{%
  \rsp@kv@recognizedfalse
  \ifthenelse{\equal{\rsp@val}{all}}{%
    \group@jurisdiction@jtrue
    \group@jurisdiction@dtrue
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{judgements}}{%
    \group@jurisdiction@jtrue
    \group@jurisdiction@dfalse
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{documents}}{%
    \group@jurisdiction@jfalse
    \group@jurisdiction@dtrue
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{never}}{%
    \group@jurisdiction@jfalse
    \group@jurisdiction@dfalse
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifrsp@kv@recognized\else\rsp@kv@warning{\rsp@val}{groupbyjurisdiction}\fi
 }%
}%
\define@key{rsp}{groupbylevel}[all]{%
 \@for\rsp@val:=#1\do{%
  \rsp@kv@recognizedfalse
  \ifthenelse{\equal{\rsp@val}{all}}{%
    \group@level@jtrue
    \group@level@dtrue
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{judgements}}{%
    \group@level@jtrue
    \group@level@dfalse
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{documents}}{%
    \group@level@jfalse
    \group@level@dtrue
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{never}}{%
    \group@level@jfalse
    \group@level@dfalse
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifrsp@kv@recognized\else\rsp@kv@warning{\rsp@val}{groupbylevel}\fi
 }%
}%
\define@key{rsp}{groupbycourt}[all]{%
 \@for\rsp@val:=#1\do{%
  \rsp@kv@recognizedfalse
  \ifthenelse{\equal{\rsp@val}{all}}{%
    \group@court@jtrue
    \group@court@dtrue
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{judgements}}{%
    \group@court@jtrue
    \group@court@dfalse
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{documents}}{%
    \group@court@jfalse
    \group@court@dtrue
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifthenelse{\equal{\rsp@val}{never}}{%
    \group@court@jfalse
    \group@court@dfalse
    \rsp@kv@recognizedtrue
  }{\relax}%
  \ifrsp@kv@recognized\else\rsp@kv@warning{\rsp@val}{groupbycourt}\fi
 }%
}%
\newenvironment{thersplist}%
{\ifthenelse{\boolean{rsp@showlist@j}\or\boolean{rsp@showlist@d}}{%
 \begingroup
   \ifrsp@debug \ifrsp@fn Fussnote \else keine Fussnote \fi \fi%
   \ifrsp@make@table%
   \newdimen\leftsize
\newdimen\middistance
\newdimen\rightsize
\newdimen\interdistance
\leftskip=0pt%
\rightskip=0pt%
\middistance=1pc%
\interdistance=.5ex%
\leftsize=.66\hsize
\rightsize=\hsize
\advance\rightsize by-\leftsize
\advance\rightsize by-\leftskip
\advance\rightsize by-\middistance
\advance\rightsize by-\rightskip
   \else%
       \begin{description}\sloppy%
   \fi%
  }%
{}}%
{\ifthenelse{\boolean{rsp@showlist@j}\or\boolean{rsp@showlist@d}}{%
  \ifrsp@make@table\bigskip
      \else\def\@noitemerr{\@latex@warning{Empty `rsplist' environment}}
      \end{description}\fi
  \endgroup
  }%
{}}%
\def\rspitem{\@ifnextchar[\@lrspitem\@rspitem}
\def\@rspitem#1{\item\if@filesw \immediate\write\@auxout
       {\string\rspcite{#1}{\the\value{\@listctr}}}\fi\ignorespaces}
\def\@lrspitem[#1]#2{%
 \if@filesw
  {\def\rsp@tempa{#1}% Daten
   \def\rsp@tempb{#2}% K�rzel
   \rsp@splitlines{\rsp@tempa}
   \rsp@makeentry{\rsp@tempb}{\rsp@tempa}
   \let\protect\noexpand\immediate
     \write\@rspaux{\string\rspcite{#2}{#1}}}\fi\ignorespaces}
\DeclareRobustCommand{\rsp@makeentry}[2]{%
 \ifthenelse{\equal{\rsp@@type}{document}}%
  {\cite@is@documenttrue\ifrsp@showlist@d
   \rsp@showlisttrue\else\rsp@showlistfalse\fi}%
  {\cite@is@documentfalse\ifrsp@showlist@j
   \rsp@showlisttrue\else\rsp@showlistfalse\fi}%
\ifrsp@showlist%
 \ifcite@is@document%
   \def\rsp@title@type{\rsptitledocuments}
   \ifgroup@state@d%
    \ifthenelse%
     {\equal{\rsp@@state}{\rsp@@laststate}%
      \and\equal{\rsp@@type}{\rsp@@lasttype}}%
     {\def\rsp@title@state{}}%gleicher staat
     {\def\rsp@title@state{\rsp@@state}}%neu
   \else%
    \def\rsp@title@state{}%
   \fi%
   \ifgroup@jurisdiction@d%
    \ifthenelse%
     {\equal{\rsp@@jurisdiction}{\rsp@@lastjurisdiction}%
      \and\equal{\rsp@title@state}{}%
      \and\equal{\rsp@@type}{\rsp@@lasttype}}%
     {\def\rsp@title@jurisdiction{}}%gleiche jurisdiction
     {\def\rsp@title@jurisdiction{\rsp@@jurisdiction}}%neu
   \else%
    \def\rsp@title@jurisdiction{}%
   \fi%
   \ifgroup@level@d%
    \ifthenelse%
     {\equal{\rsp@@level}{\rsp@@lastlevel}%
      \and\equal{\rsp@title@jurisdiction}{}%
      \and\equal{\rsp@title@state}{}%
      \and\equal{\rsp@@type}{\rsp@@lasttype}}%
     {\def\rsp@title@level{}}%gleiches level
     {\def\rsp@title@level{\rsp@@level}}%neu
   \else%
    \def\rsp@title@level{}%
   \fi%
   \ifgroup@court@d%
    \ifthenelse%
     {\equal{\rsp@@court}{\rsp@@lastcourt}%
      \and\equal{\rsp@title@level}{}%
      \and\equal{\rsp@title@jurisdiction}{}%
      \and\equal{\rsp@title@state}{}%
      \and\equal{\rsp@@type}{\rsp@@lasttype}}%
     {\def\rsp@title@court{}}%gleiches gericht
     {\def\rsp@title@court{\rsp@@court}}%neu
   \else%
    \def\rsp@title@court{}%
   \fi%
  \else%
   \def\rsp@title@type{\rsptitlejudgements}
   \ifgroup@state@j%
    \ifthenelse%
     {\equal{\rsp@@state}{\rsp@@laststate}%
      \and\equal{\rsp@@type}{\rsp@@lasttype}}%
     {\def\rsp@title@state{}}%gleicher staat
     {\def\rsp@title@state{\rsp@@state}}%neu
   \else%
    \def\rsp@title@state{}%
   \fi%
   \ifgroup@jurisdiction@j%
    \ifthenelse%
     {\equal{\rsp@@jurisdiction}{\rsp@@lastjurisdiction}%
      \and\equal{\rsp@title@state}{}%
      \and\equal{\rsp@@type}{\rsp@@lasttype}}%
     {\def\rsp@title@jurisdiction{}}%gleiche jurisdiction
     {\def\rsp@title@jurisdiction{\rsp@@jurisdiction}}%neu
   \else%
    \def\rsp@title@jurisdiction{}%
   \fi%
   \ifgroup@level@j%
    \ifthenelse%
     {\equal{\rsp@@level}{\rsp@@lastlevel}%
      \and\equal{\rsp@title@jurisdiction}{}%
      \and\equal{\rsp@title@state}{}%
      \and\equal{\rsp@@type}{\rsp@@lasttype}}%
     {\def\rsp@title@level{}}%gleiches level
     {\def\rsp@title@level{\rsp@@level}}%neu
   \else%
    \def\rsp@title@level{}%
   \fi%
   \ifgroup@court@j%
    \ifthenelse%
     {\equal{\rsp@@court}{\rsp@@lastcourt}%
      \and\equal{\rsp@title@level}{}%
      \and\equal{\rsp@title@jurisdiction}{}%
      \and\equal{\rsp@title@state}{}%
      \and\equal{\rsp@@type}{\rsp@@lasttype}}%
     {\def\rsp@title@court{}}%gleiches gericht
     {\def\rsp@title@court{\rsp@@court}}%neu
   \else%
    \def\rsp@title@court{}%
   \fi%
  \fi%
 \ifthenelse{\equal{\rsp@@type}{\rsp@@lasttype}}{}%gleicher typ
 {%neuer typ
  \section*{\rsp@title@type%
   \@mkboth{\MakeUppercase\rsp@title@type}{\MakeUppercase\rsp@title@type}}}%
 \ifthenelse{\equal{\rsp@title@state}{}}%
  {}% kein neuer staat
  {{\noindent\bfseries\rsp@title@state}\par}%
 \ifthenelse{\equal{\rsp@title@jurisdiction}{}}%
  {}% kein neuer gerichtszweig
  {{\noindent\bfseries\itshape\rsp@title@jurisdiction}\par}%
 \ifthenelse{\equal{\rsp@title@level}{}}%
  {}% kein neues level
  {{\noindent\itshape\rsp@title@level}\par}%
 \ifthenelse{\equal{\rsp@title@court}{}}%
  {}% kein neues gericht
  {\ifthenelse{\equal{\rsp@title@court}{\rsp@title@level}}%
   {}% kein neues gericht
   {{\noindent\slshape\rsp@title@court}\par}}%
 \@ifundefined{p@#1}{}{\rsp@pushpages{#1}}%
 \ifrsp@make@table
 %\medskip
 \noindent
   \hbox{\hskip\leftskip%
 \vtop{\hsize=\leftsize\noindent%
    \hyper@rspanchorstart{#1}\strut\rsp@makeentry@content
    \strut\hyper@rspanchorend
   }\hskip\middistance
  \vtop{\hsize=\rightsize\noindent%
    \rsp@listpages\strut\rsp@getpage{#1}\strut
  }\hskip\rightskip
 }\par\vskip\interdistance
 \else
  \item[#2] \rsp@getpage{#1}
 \fi
 \global\edef\rsp@@lasttype{\rsp@@type}
 \global\edef\rsp@@laststate{\rsp@@state}
 \global\edef\rsp@@lastjurisdiction{\rsp@@jurisdiction}
 \global\edef\rsp@@lastlevel{\rsp@@level}
 \global\edef\rsp@@lastcourt{\rsp@@court}
\fi
}%
\def\rsp@makeentry@defaults{%
     \ifcite@is@document%
  \ifcite@preferofficial@d\cite@useofficialtrue\else\cite@useofficialfalse\fi
   \ifcite@showdate@ld\cite@datetrue\else\cite@datefalse\fi
   \ifcite@showsign@ld\cite@signtrue\else\cite@signfalse\fi
   \ifcite@showname@ld\cite@nametrue\else\cite@namefalse\fi
   \ifcite@showparties@ld\cite@partiestrue\else\cite@partiesfalse\fi
   \ifcite@showadditional@ld\cite@additionaltrue\else\cite@additionalfalse\fi
   \ifcite@showcommented@ld\cite@commentedtrue\else\cite@commentedfalse\fi
   \ifcite@showdecision@ld\cite@decisiontrue\cite@nocourttrue\else%
                        \cite@decisionfalse\cite@nocourtfalse\fi
   \ifcite@longofficial@ld\cite@longofficialtrue\else\cite@longofficialfalse\fi
   \else
   \ifcite@preferofficial@j\cite@useofficialtrue\else\cite@useofficialfalse\fi
   \ifcite@showdate@lj\cite@datetrue\else\cite@datefalse\fi
   \ifcite@showsign@lj\cite@signtrue\else\cite@signfalse\fi
   \ifcite@showname@lj\cite@nametrue\else\cite@namefalse\fi
   \ifcite@showparties@lj\cite@partiestrue\else\cite@partiesfalse\fi
   \ifcite@showadditional@lj\cite@additionaltrue\else\cite@additionalfalse\fi
   \ifcite@showcommented@lj\cite@commentedtrue\else\cite@commentedfalse\fi
   \ifcite@showdecision@lj\cite@decisiontrue\else\cite@decisionfalse\fi
   \ifcite@longofficial@lj\cite@longofficialtrue\else\cite@longofficialfalse\fi
   \cite@nocourtfalse
   \fi%
}
\def\@makeentrysequence{%
  \rsp@delimspacefalse
  \ifcite@useofficial
   \ifcite@decision\@makecite@court{\delimspace}{}\else
    \ifcite@date\@makecite@court{\delimspace}{}\else
     \ifcite@sign\@makecite@court{\delimspace}{}\else
      \ifcite@parties\@makecite@court{\delimspace}{}\fi
     \fi
    \fi
   \fi
   \@makecite@decision{\delimspace}{}%
   \@makecite@date{\delimspace}{}%
   \@makecite@sign{\delimspace (}{)}%
   \@makecite@parties{\delimspace}{}%
   \@makecite@official{\delimspace}{}%
   \delimspace\rsp@@offpages
   \@makecite@additional{\space(}{)}%
   \@makecite@name{\bgroup\emph -- "`}{"' -- \egroup}%
   \@makecite@commented{,\space}{}%
   \@makecite@concept{}{}%
  \else
   \@makecite@court{\delimspace}{}%
   \@makecite@decision{\delimspace}{}%
   \@makecite@date{\delimspace}{}%
   \@makecite@sign{\delimspace (}{)}%
   \@makecite@parties{\delimspace}{}%
   \delimspace\rsp@@jname\space\rsp@@jpages
   \@makecite@additional{\space(}{)}%
   \@makecite@name{\bgroup\emph -- "`}{"' -- \egroup}%
   \@makecite@commented{,\space}{}%
   \@makecite@concept{}{}%
  \fi
}%
\def\rsp@makeentry@content{%
 \rsp@makeentry@defaults
 \ifcite@useofficial
  \ifthenelse{\equal{\rsp@@offpages}{}\and\not\equal{\rsp@@jpages}{}}%
  {\cite@useofficialfalse}{\cite@useofficialtrue}%
 \else
  \ifthenelse{\equal{\rsp@@jpages}{}\and\not\equal{\rsp@@offpages}{}}%
  {\cite@useofficialtrue}{\cite@useofficialfalse}%
 \fi
 \ifthenelse{\equal{\rsp@@citeas}{official}}{\cite@useofficialtrue}{%
  \ifthenelse{\equal{\rsp@@citeas}{journal}}{\cite@useofficialfalse}{}}%
  \ifthenelse{\equal{\rsp@@date}{}}{\cite@datefalse}{}%
  \ifthenelse{\equal{\rsp@@sign}{}}{\cite@signfalse}{}%
  \ifthenelse{\equal{\rsp@@decision}{}}{\cite@decisionfalse}{}%
   \ifthenelse{\equal{\rsp@@parties}{}}{\cite@partiesfalse}{}%
   \ifthenelse{\equal{\rsp@@name}{}}{\cite@namefalse}{}%
   \ifthenelse{\equal{\rsp@@commented}{}}{\cite@commentedfalse}{}%
 \@makeentrysequence
}%
\def\rspcite{\@newl@bel j}
\def\rsprealcitation#1#2{%
  \@ifundefined{p@#1}%
  {%
    \@namedef{p@#1}{}%
    \@namedef{beg@#1}{#2}%
    \@namedef{end@#1}{#2}%
  }%
  {%
   \ifthenelse{\equal{\rsp@endpage{#1}}{#2}}
    {}%gleiche seite mit mehrf. zitat
    {% neue Seite
     \setcounter{rspendpage}{\rsp@endpage{#1}}
     \stepcounter{rspendpage}
     \ifthenelse{\equal{\therspendpage}{#2}}
      {% current page = end page + 1 -> Serie geht weiter
       \@namedef{end@#1}{#2} % setze neues Serienende
      }%
      {% current page > end page + 1 -> Serie ist vorbei
       \rsp@pushpages{#1}% Serie in p@k�rzel sichern
       % neue Serie eintragen
       \@namedef{beg@#1}{#2}
       \@namedef{end@#1}{#2}
      }%
    }%
  }%
}%
\def\rspnocitation#1#2{\relax}
\def\rspphantomcitation{\rsprealcitation}
\def\rsp@pushpages#1{%
       \ifthenelse{\equal{\rsp@beginpage{#1}}{\rsp@endpage{#1}}}%
        {% nur einfache Seite
         \def\rsp@newpage{\rsp@beginpage{#1}}%
        }%
        {% Serie
         \setcounter{rspbeginpage}{\rsp@beginpage{#1}}
         \stepcounter{rspbeginpage}
         \ifthenelse{\equal{\therspbeginpage}{\rsp@endpage{#1}}}
         {% endpage = beginpage + 1 (kurze Serie)
          \def\rsp@newpage{\rsp@beginpage{#1}~f.}%
         }%
         {% endpage > beginpage + 1 (lange Serie)
          \def\rsp@newpage{\rsp@beginpage{#1}~ff.}%
         }%
        }%
       \edef\rsp@oldpage{\rsp@getpage{#1}}%
       \ifthenelse{\equal{\rsp@oldpage}{}}% erste Serie?
        {\rsp@namedef{p@#1}{\rsp@pagestring\expandafter\rsp@newpage}}%
        {\rsp@namedef{p@#1}{\expandafter\rsp@oldpage, \expandafter\rsp@newpage}}%
}
\def\rsp@getpage#1{\csname p@#1\endcsname}
\def\rsp@beginpage#1{\csname beg@#1\endcsname}
\def\rsp@endpage#1{\csname end@#1\endcsname}
\DeclareRobustCommand\rcite{%
  \def\rcite@useroptions{\relax}%
  \@ifnextchar [{\@rcitex}{\@rcitex[]}}
\DeclareRobustCommand\rfullcite{%
   \def\rcite@useroptions{\rcite@fulloptions}%
   \@ifnextchar [{\@rcitex}{\@rcitex[]}}
\DeclareRobustCommand\rleancite{%
   \def\rcite@useroptions{\rcite@leanoptions}%
   \@ifnextchar [{\@rcitex}{\@rcitex[]}}
\DeclareRobustCommand\rrepeatcite{%
   \def\rcite@useroptions{\cite@repeatedtrue\cite@nocourttrue}%
   \@ifnextchar [{\@rcitex}{\@rcitex[]}}
\DeclareRobustCommand\ranglocite{%
   \def\rcite@useroptions{\cite@nocourttrue\cite@partiestrue}%
   \@ifnextchar [{\@rcitex}{\@rcitex[]}}
\DeclareRobustCommand\rshortcite{%
   \def\rcite@useroptions{\cite@longofficialfalse\cite@nocourttrue}%
   \@ifnextchar [{\@rcitex}{\@rcitex[]}}
\def\rnocite#1{\@bsphack
  \@for\@rspciteb:=#1\do{%
    \edef\@rspciteb{\expandafter\@firstofone\@rspciteb}%
     \if@filesw\immediate\write\@rspaux{\string\citation{\@rspciteb}}%
     \immediate\write\@rspaux{\string\rspnocitation{\@rspciteb}{\thepage}}\fi
     \@ifundefined{j@\@rspciteb}{\G@refundefinedtrue
        \@latex@warning{No-Citation `\@rspciteb' undefined}}{}}%
  \@esphack%
  \ifrsp@debug \ifrsp@fn Fussnote \else keine Fussnote \fi \fi%
  }
\def\rphantomcite#1{\@bsphack
  \@for\@rspciteb:=#1\do{%
    \edef\@rspciteb{\expandafter\@firstofone\@rspciteb}%
     \if@filesw\immediate\write\@rspaux{\string\citation{\@rspciteb}}%
 \edef\rsp@tmp{\string\rspphantomcitation{\@rspciteb}{\noexpand\thepage}}%
\if@filesw\expandafter\expandafter\expandafter\write\@rspaux\expandafter{\rsp@tmp}\fi      %\immediate\write\@rspaux{\string\rspphantomcitation{\@rspciteb}{\thepage}}\fi
     \@ifundefined{j@\@rspciteb}{\G@refundefinedtrue
        \@latex@warning{Phantom-Citation `\@rspciteb' undefined}}{}}%
  \@esphack%
  \ifrsp@debug \ifrsp@fn Fussnote \else keine Fussnote \fi \fi%
  }
\def\@rcitex[#1]#2{%
  \def\@rcitea{#1}%Seitenzahl
  \edef\@rciteb{#2}%K�rzel
  %    \end{macrocode}
  \if@filesw\immediate\write\@rspaux{\string\citation{\@rciteb}}\fi
   \edef\rsp@tmp{\string\rsprealcitation{\@rciteb}{\noexpand\thepage}}%
   \if@filesw\expandafter\expandafter\expandafter
    \write\@rspaux\expandafter{\rsp@tmp}\fi
     \@ifundefined{j@\@rciteb}%
      {\mbox{\reset@font\bfseries ?}%
       \G@refundefinedtrue
       \@latex@warning
       {RSP-Citation `\@rciteb' on page \thepage \space undefined}}%
      {\@makecite{\csname j@\@rciteb\endcsname}}%
\ifrsp@debug \ifrsp@fn Fussnote \else keine Fussnote \fi \fi
}%
\def\rsp@makecite@defaults{%
 \ifcite@is@document%
  \ifcite@preferofficial@d\cite@useofficialtrue\else\cite@useofficialfalse\fi
  \ifcite@showdate@d\cite@datetrue\else\cite@datefalse\fi
  \ifcite@showsign@d\cite@signtrue\else\cite@signfalse\fi
  \ifcite@showname@d\cite@nametrue\else\cite@namefalse\fi
  \ifcite@showparties@d\cite@partiestrue\else\cite@partiesfalse\fi
  \ifcite@showadditional@d\cite@additionaltrue\else\cite@additionalfalse\fi
  \ifcite@showcommented@d\cite@commentedtrue\else\cite@commentedfalse\fi
  \ifcite@showdecision@d\cite@decisiontrue\cite@nocourttrue\else%
                        \cite@decisionfalse\cite@nocourtfalse\fi%
  \ifcite@longofficial@d\cite@longofficialtrue\else\cite@longofficialfalse\fi
 \else
  \ifcite@preferofficial@j\cite@useofficialtrue\else\cite@useofficialfalse\fi
  \ifcite@showdate@j\cite@datetrue\else\cite@datefalse\fi
  \ifcite@showsign@j\cite@signtrue\else\cite@signfalse\fi
  \ifcite@showname@j\cite@nametrue\else\cite@namefalse\fi
  \ifcite@showparties@j\cite@partiestrue\else\cite@partiesfalse\fi
  \ifcite@showadditional@j\cite@additionaltrue\else\cite@additionalfalse\fi
  \ifcite@showcommented@j\cite@commentedtrue\else\cite@commentedfalse\fi
  \ifcite@showdecision@j\cite@decisiontrue\else\cite@decisionfalse\fi
  \ifcite@longofficial@j\cite@longofficialtrue\else\cite@longofficialfalse\fi
  \cite@nocourtfalse
 \fi%
}
\def\@makecitesequence{\@defaultcitesequence}
\newif\ifrsp@delimspace\rsp@delimspacefalse
\def\delimspace{%
 \ifrsp@delimspace\space\else\rsp@delimspacetrue\fi}
\def\@defaultcitesequence{%
  \rsp@delimspacefalse
  \ifcite@useofficial
   \ifcite@decision\@makecite@court{\delimspace}{}\else
    \ifcite@date\@makecite@court{\delimspace}{}\else
     \ifcite@sign\@makecite@court{\delimspace}{}\else
      \ifcite@parties\@makecite@court{\delimspace}{}\else
       \ifrsp@lookat@use\@makecite@court{\delimspace}{}\fi
      \fi
     \fi
    \fi
   \fi
   \@makecite@decision{\delimspace}{}%
   \@makecite@date{\delimspace}{}%
   \@makecite@sign{\delimspace (}{)}%
   \@makecite@parties{\delimspace}{}%
   \@makecite@official{\delimspace}{}%
   \delimspace\hyper@rsplinkstart{\@rciteb}\rsp@@offpages\hyper@rsplinkend
    \ifthenelse{\equal{\@rcitea}{}}{}%
     {\rcite@before{\rsp@citefont \@rcitea}\rcite@after}%
   \@makecite@additional{\space(}{)}%
   \@makecite@name{\bgroup\emph -- "`}{"' -- \egroup}%
   \@makecite@commented{,\space}{}%
   \@makecite@concept{}{}%
  \else
   \@makecite@court{\delimspace}{}%
   \@makecite@decision{\delimspace}{}%
   \@makecite@date{\delimspace}{}%
   \@makecite@sign{\delimspace (}{)}%
   \@makecite@parties{\delimspace}{}%
   \delimspace\rsp@@jname
   \space\hyper@rsplinkstart{\@rciteb}\rsp@@jpages\hyper@rsplinkend
   \ifthenelse{\equal{\@rcitea}{}}{}%
     {\rcite@before{\rsp@citefont \@rcitea}\rcite@after}%
   \@makecite@additional{\space(}{)}%
   \@makecite@name{\bgroup\emph -- "`}{"' -- \egroup}%
   \@makecite@commented{,\space}{}%
   \@makecite@concept{}{}%
  \fi
 \ifcite@nocourt
  \ifrsp@lookat@use\space\rsp@lookatstring\fi
 \fi
}%
\def\@makecite@court#1#2{%
   \ifcite@nocourt\else
    \ifcite@longcourt
     \ifthenelse{\equal{\rsp@@chamber}{}}{#1\rsp@@court}%
       {#1\rsp@@court\space\rsp@@chamber}%
    \else
     \ifthenelse{\equal{\rsp@@special}{}}{#1\rsp@@short}%
       {#1\rsp@@short\space\rsp@@special}%
    \fi
    \ifrsp@lookat@use\space\rsp@lookatstring\fi#2%
   \fi}%
\def\@makecite@date#1#2{%
  \ifcite@date
   \ifcite@decision
    #1\rsp@@decision\space\cite@datedelimiter\space\rsp@@date#2%
   \else
    #1\rsp@@date#2%
   \fi
  \fi}%
\def\@makecite@decision#1#2{%
 \ifcite@date\else
  \ifcite@decision
   #1\rsp@@decision#2\fi
 \fi}%
\def\@makecite@sign#1#2{%
 \ifcite@sign
  #1\rsp@@sign#2\fi
}%
\def\@makecite@parties#1#2{%
 \ifcite@parties
  #1\rsp@@parties#2\fi
}%
\def\@makecite@official#1#2{%
 \ifcite@repeated
  \else
  \ifcite@longofficial #1\rsp@@offlong#2%
   \else #1\rsp@@offshort#2%
  \fi
 \fi
}%
\def\@makecite@additional#1#2{%
 \ifcite@additional
  \ifthenelse{\equal{\rsp@@additional}{}}%
  {% keine Extra-Angabe
   \ifcite@useofficial
    \ifthenelse{\equal{\rsp@@jpages}{}}{}%
     {#1=\space\rsp@@jname\space\rsp@@jpages #2}%
   \else%
    \ifthenelse{\equal{\rsp@@offpages}{}}{}%
     {#1=\ifcite@longofficial\rsp@@offlong\else%
      \rsp@@offshort\fi\space\rsp@@offpages #2}%
   \fi%
  }%
  {% Extra-Angabe vorhanden
   \ifcite@useofficial%
    \ifthenelse{\equal{\rsp@@jpages}{}}%
     {#1\space\rsp@@additional #2}%
     {#1=\space\rsp@@jname\space\rsp@@jpages\space\rsp@@additional #2}%
   \else
    \ifthenelse{\equal{\rsp@@offpages}{}}%
     {#1\rsp@@additional #2}%
     {#1=\ifcite@longofficial\rsp@@offlong\else
      \rsp@@offshort\fi\space\rsp@@offpages
    \space\rsp@@additional #2}%
   \fi%
  }%
 \fi%
}
\def\@makecite@name#1#2{%
 \ifcite@name
   #1\rsp@@name #2\fi}
\def\@makecite@commented#1#2{%
 \ifcite@commented #1\rsp@@commented #2\fi}%
\def\@makecite@concept#1#2{%
 \ifcite@concept%
  \ifthenelse{\equal{\rsp@@note}{}}%
   {%
    \ifthenelse{\equal{\rsp@@annote}{}}%
    {}%
    {#1\emph{\rsp@@annote}#2}%
   }%
   {%
    \ifthenelse{\equal{\rsp@@annote}{}}%
    {#1\emph{\rsp@@note}#2}%
    {#1\emph{\rsp@@note, \rsp@@annote}#2}%
   }%
 \fi}%
\def\@makecite#1{%
 \protected@edef\rsp@all{\expandafter\rsp@firstofone#1}%
 \rsp@splitlines\rsp@all
 \ifthenelse{\equal{\rsp@@type}{document}}%
  {\cite@is@documenttrue}%
  {\cite@is@documentfalse}%
 \rsp@makecite@defaults
 \ifcite@is@document
  \ifrsp@all@full@d\rcite@fulloptions\fi
  \ifrsp@firstcite@full@d\rsp@firstcite@full\fi
 \else
  \ifrsp@all@full@j\rcite@fulloptions\fi
  \ifrsp@firstcite@full@j\rsp@firstcite@full\fi
 \fi
 \ifcite@useofficial
  \ifthenelse{\equal{\rsp@@offpages}{}\and\not\equal{\rsp@@jpages}{}}%
  {\cite@useofficialfalse}{\cite@useofficialtrue}%
 \else
  \ifthenelse{\equal{\rsp@@jpages}{}\and\not\equal{\rsp@@offpages}{}}%
  {\cite@useofficialtrue}{\cite@useofficialfalse}%
 \fi
 \ifthenelse{\equal{\rsp@@citeas}{official}}{\cite@useofficialtrue}{%
  \ifthenelse{\equal{\rsp@@citeas}{journal}}{\cite@useofficialfalse}{}}%
 \cite@repeatedfalse
 \rcite@useroptions
  \ifthenelse{\equal{\rsp@@date}{}}{\cite@datefalse}{}%
  \ifthenelse{\equal{\rsp@@sign}{}}{\cite@signfalse}{}%
  \ifthenelse{\equal{\rsp@@decision}{}}{\cite@decisionfalse}{}%
   \ifthenelse{\equal{\rsp@@parties}{}}{\cite@partiesfalse}{}%
   \ifthenelse{\equal{\rsp@@name}{}}{\cite@namefalse}{}%
   \ifthenelse{\equal{\rsp@@commented}{}}{\cite@commentedfalse}{}%
 \@makecitesequence}%
\newcommand*{\rsp@list@d}{}
\newcommand*{\rsp@list@j}{}
\newtoks\rsp@temptoks
\newcommand*{\rsp@@append}[2]{%
    \ifthenelse{\equal{#2}{}}{%
        \protected@xdef#2{#1}%
    }{%
        \rsp@temptoks=\expandafter{#2}%
        \protected@xdef#2{\the\rsp@temptoks,#1}%
    }%
}%
\newcommand*{\rsp@append}[2]{%
    \rsp@if@elem{#1}{#2}{%
    }{%
        \rsp@@append{#1}{#2}%
    }%
}%
\newcommand*{\rsp@list@tempa}{}
\newcommand*{\rsp@list@tempb}{}
\newcommand*{\rsp@test@cmd}{}
\newcommand*{\rsp@if@elem}[2]{%
    \protected@edef\rsp@list@tempa{#1}%
    \let\rsp@test@cmd\@secondoftwo
    \@for\rsp@list@tempb:=#2\do{%
        \ifx\rsp@list@tempa\rsp@list@tempb
             \let\rsp@test@cmd\@firstoftwo
        \fi
    }%
    \rsp@test@cmd
}%
\newcommand*{\rsp@undefineall}[3]{%
    \ifthenelse{\equal{#2}{chapter}}{%
                \rsp@info{Resetting citefirst on #3
                     for Chapter \thechapter}%
                \@for\rsp@list@tempa:=#1\do{%
                    \expandafter\gdef\csname\rsp@list@tempa\endcsname{}%
                }%
    }{%
                \rsp@info{Resetting citefirst on #3
                     for Section \thesection}%
                \@for\rsp@list@tempa:=#1\do{%
                    \expandafter\gdef\csname\rsp@list@tempa\endcsname{}%
                }%
    }%
}%
\def\rsp@firstcite@full{%
 \ifcite@is@document
  \@ifundefined{rsp@resetfor@d}{}{%
   \ifrsp@debug DOCRESET MOEGLICH\fi%
   \ifthenelse{\value{rspcitefull@d}=0}%
     {\ifrsp@debug DOCRESET TATSAECHLICH\fi%
      \rsp@undefineall{\rsp@list@d}{\rsp@resetfor@d}{documents}%
     }%
     {}% kein reset
   }%
 \else%
  \@ifundefined{rsp@resetfor@j}{}{%
   \ifrsp@debug URTEILRESET MOEGLICH\fi%
   \ifthenelse{\value{rspcitefull@j}=0}%
     {\ifrsp@debug URTEILRESET TATSAECHLICH\fi%
      \rsp@undefineall{\rsp@list@j}{\rsp@resetfor@j}{judgements}%
     }%
     {}% kein reset
   }%
 \fi%
 \@ifundefined{f@\@rciteb}{\rsp@firstcitetrue}%
  {%
   \ifthenelse{\equal{\@nameuse{f@\@rciteb}}{}}%
    {\rsp@firstcitetrue}%
    {\rsp@firstcitefalse}%
  }%
 \ifrsp@firstcite
  \ifrsp@debug VOLLZITAT\fi
  \rcite@fulloptions
  \rsp@gnamedef{f@\@rciteb}{%
   {\thepage}%
    \ifrsp@fn
     {\thempfn}%
    \else
     {}%
    \fi
   }%
   \ifrsp@debug\rsp@info{Referenz gesetzt fuer
    \@rciteb: \expandafter\csname f@\@rciteb\endcsname}\fi
   \ifcite@is@document
    \rsp@append{f@\@rciteb}{\rsp@list@d}%
   \else
    \rsp@append{f@\@rciteb}{\rsp@list@j}%
   \fi
  \rsp@lookat@usefalse
 \else
  \ifrsp@debug NORMALZITAT\fi%
  \ifcite@is@document
   \ifrsp@lookat@d
    \rsp@lookat@usetrue
    \cite@nocourtfalse
   \else
    \rsp@lookat@usefalse
   \fi
  \else
   \ifrsp@lookat@j
    \rsp@lookat@usetrue
    \cite@nocourtfalse
   \else
    \rsp@lookat@usefalse
   \fi
  \fi
  \relax
 \fi
 \ifcite@is@document
  \stepcounter{rspcitefull@d}%
 \else
  \stepcounter{rspcitefull@j}%
 \fi
}%
\def\rsp@lookatstring{%
   \edef\rsp@reference{\@nameuse{f@\@rciteb}}% {{seite}{fn}}
   \def\rsp@refpage{\expandafter\rsp@firstoftwo\rsp@reference}%
   \def\rsp@refnote{\expandafter\rsp@secondoftwo\rsp@reference}%
   \ifthenelse{\equal{\rsp@refnote}{}}%
     {(oben S.~\rsp@refpage )}% without note
     {(oben Fn.~\rsp@refnote )}% with note
}%
\AtBeginDocument{%
 \global\edef\rsp@@lasttype{start}
 \global\edef\rsp@@laststate{start}
 \global\edef\rsp@@lastjurisdiction{start}
 \global\edef\rsp@@lastlevel{start}
 \global\edef\rsp@@lastcourt{start}
  \newwrite\@rspaux
  \@input{\jobname.rsp.aux}%
  \if@filesw
    \immediate\openout\@rspaux\jobname.rsp.aux
    \immediate\write\@rspaux{\relax}%
  \fi}
\def\rspdata#1{%
  \if@filesw
    \immediate\write\@rspaux{\string\bibdata{#1}}%
  \fi}
\def\rspstyle#1{%
  \ifx\@begindocumenthook\@undefined\else
    \expandafter\AtBeginDocument
  \fi
    {\if@filesw
       \immediate\write\@rspaux{\string\bibstyle{#1}}%
     \fi}
  \@input@{\jobname.rsp.bbl}}
\expandafter\let\csname j@*\endcsname\@empty
\endinput
%%
%% End of file `jurarsp.sty'.