%% %% The LaTeX Companion, 3ed %% %% Example 16-5-23 on page II-519 in "Citations as footnotes or endnotes". %% %% 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{10\baselineskip} \sloppy % for the book examples we shorten the vertical spaces \makeatletter \renewcommand\section{\@startsection {section}{1}{\z@}% {-2.5ex \@plus -1ex \@minus -.2ex}% {1.3ex}% {\normalfont\large\bfseries}} \makeatother %% 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,endnotes} \bibliographystyle{jurabib} \jurabibsetup{citefull=first, super,lookat} %StopShownPreambleCommands \begin{document} \ldots to typeset with graphics.\cite{LGC97} Also discussed is typesetting music\cite[chap.~7]{LGC97} and games.\cite[chap.~8]{LGC97} \theendnotes \end{document}