%%
%% The LaTeX Companion, 3ed
%%
%% Example 16-5-13 on page II-513 in "This work was cited as \protect \ldots  ".
%%
%% 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{351.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}}

% page 6 will appear in book so citations are not shown, only
% bibliography:
\setcounter{page}{4}
\renewcommand\refname{}  % suppress heading in example

%StartShownPreambleCommands
\usepackage{jurabib} \bibliographystyle{jurabib}
\jurabibsetup{titleformat={all,commasep,italic},howcited={all}}
%StopShownPreambleCommands

\begin{document}
\bibliography{tlc}
\newpage
\cite[\S\,123]{aschur}  \\ \cite{bschur}   \\
\cite[Heinrichs][]{bgb} \\ \cite{Knuth:TB10-1-31}
\end{document}