%% %% The LaTeX Companion, 3ed %% %% Example 3-5-23 on page I-218 in "fnpct --- Managing footnote markers and punctuation". %% %% 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{111.0pt} \setlength\textheight{5\baselineskip} \sloppy % as the columns are so small %StartShownPreambleCommands \usepackage{fnpct,enotez} \setfnpct{after-punct-space=-0.2em, before-footnote-space=0pt,ranges} %StopShownPreambleCommands \begin{document} The three little pigs built their houses out of straw\endnote*{not to be confused with hay}, sticks\endnote{or lumber according to some sources} and bricks\endnote{probably fired clay bricks}\endnote{With kind permission by Clemens.}\endnote{I asked, honestly.}. \end{document}