%%
%% The LaTeX Companion, 3ed
%%
%% Example 16-5-30 on page II-522 in "Ibidem --- In the same place".
%%
%% 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{255.0pt}

\setlength\textheight{7.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[multiple]{footmisc}
\usepackage[super,idem=strict,%
    citefull=first,opcit]{jurabib}
\bibliographystyle{jurabib}
%StopShownPreambleCommands

\begin{document}
\ldots some \cite{Knuth-CT-a} text
\cite[p.~22]{Knuth-CT-a} and
\cite{GNUMake} some more text
\cite{Knuth-CT-a}\cite{GNUMake}
\end{document}
