%%
%% The LaTeX Companion, 3ed
%%
%% Example 16-5-2 on page II-509 in "The basic syntax".
%%
%% 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}}

%StartShownPreambleCommands
\usepackage{jurabib} \bibliographystyle{jurabib}
\jurabibsetup{annotatorformat=italic,
              annotatorlastsep=divis}
%StopShownPreambleCommands

\begin{document}
\cite{aschur}  \\ \cite[Heinrichs][\S\,26]{bgb} \\
\jurabibsetup{annotatorfirstsep=comma}
\cite[Heinrichs][\S\,26]{bgb} \\
\jurabibsetup{annotatorfirstsep=in,annotatorformat=normal}
\cite[Heinrichs][\S\,26]{bgb}
\end{document}
