%%
%% The LaTeX Companion, 3ed
%%
%% Example 16-5-34 on page II-524 in "Author-date citation support".
%%
%% Copyright (C) 2022 Frank Mittelbach
%%
%% It may be distributed and/or modified under the conditions
%% of the LaTeX Project Public License, either version 1.3c
%% of this license or (at your option) any later version.
%%
%% See https://www.latex-project.org/lppl.txt for details.
%%

\documentclass{tlc3exa}
\pagestyle{empty}
\setcounter{page}{6}
\setlength\textwidth{135.0pt}

  \setlength\parindent{0pt}

%% Apply the jurabib defaults we use in the book (documented at the beginning of the section)
\AddToHook{package/jurabib/after}{\jurabibsetup{titleformat=colonsep,commabeforerest=true}}

  %% Do not show the bibliography itself in the example,
  %% so put it on a separate page:
  \AtEndDocument{\newpage\bibliography{tlc}}

  \hyphenation{Schuld-recht}

%StartShownPreambleCommands
\usepackage{jurabib} \bibliographystyle{jurabib}
\jurabibsetup{authorformat=year,annotatorformat=italic,
              titleformat={all,colonsep}}
\renewcommand\jbcitationyearformat[1]{\oldstylenums{#1}}
\jbyearaftertitle 
%StopShownPreambleCommands

\begin{document}
\cite[Heinrichs][\S\,26]{bgb}    \\   \cite{aschur}
\end{document}
