%%
%% The LaTeX Companion, 3ed
%%
%% Example 16-5-37 on page II-526 in "Distinguishing the author's gender".
%%
%% 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{159.0pt}

\setlength\textheight{5\baselineskip}

%% 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[super,idem=strict,titleformat=all,
            lookforgender=true]{jurabib}
\AddTo\bibsenglish{\renewcommand\idemSfname{Eadem}%
                   \renewcommand\idemsfname{eadem}}
\bibliographystyle{jurabib}
%StopShownPreambleCommands

\begin{document}
Some text\cite{vLeunen:92} and\cite{vLeunen:92}
some\cite{Knuth-CT-a} more text.\cite{Knuth-CT-a}
\end{document}