I'm trying to create multiple footnotes referencing from one point, that look like this:

lorem1,2

Searching for "multiple footnotes" shows up almost exclusively solutions for multiple references to one footnote. Here I have two separate footnotes, pointing from one place. I also don't want to merge them into one, because I tried it and it looks ugly.

Currently I resolved it in a quick and dirty way, writing:

lorem\footnote{foot1}$^{,}$\footnote{foot2}

Which shows up in the resulting PDF just fine, but I feel somehow bad about it. Is there a better way to do it?

up vote 74 down vote accepted

Use the footmisc package and its multiple option.

\documentclass{article}

\usepackage[multiple]{footmisc}

\textheight=80pt% only for the example

\begin{document}

Some text.\footnote{A footnote}\footnote{And another one.}

\end{document}

enter image description here

  • 7
    And for use with hyperref see Holle's answer to Incompatibility between footmisc-option multiple and hyperref. – Stephen Aug 14 '13 at 16:44
  • FWIW, I found that this setup (footmisc package with multiple option) has the first line of the footnotes indented, which was not desirable for me. Using the fnpct package (as @clemens suggested) kept my footnotes unindented. (I tried adding some of the footmisc options like para or hang, but they didn't quite match the default style I wanted.) – Dolan Antenucci Jan 18 '16 at 15:13

This (the footmisc solution) won't work if you also have the hyperref package loaded. Either turn off hyperfootnotes [hyperfootnotes=false] as an argument to hyperref, or use \textsuperscript{,}. This maintains the same font for the comma, whereas your workaround above inserts the math font, and it could be different.

  • Welcome to TeX.sx! A tip: You can use backticks ` to mark your inline code as I did in my edit. – doncherry Nov 16 '11 at 15:15
  • 9
    This is actually mentioned in the footmisc documentation: "The hyperref package has ambitions to make hyperlinks from footnote marks to the corresponding footnote body; naturally this causes grief to footmisc, and unfortunately no remedy is currently known. If you use footmisc, suppress hyperref's hyper-footnotes, by loading it as: \usepackage[hyperfootnotes=false,...]{hyperref}. Further work on the interaction between the two packages is proposed, but not yet scheduled." – doncherry Nov 16 '11 at 15:23
  • 1
    @doncherry footmisc uses its own command \multfootsep, which defaults to "comma in current text font". it hasn't used a maths comma since 1997 (at least); this doesn't negate the point about hyperref compatibility, of course (hyperref wasn't publicly available when i wrote footmisc, and i never quite got around to retrofitting it). – wasteofspace Sep 13 '12 at 10:58
  • Hey, I'm not entirely sure why, but this solution doesn't work even without the hyperref package. Any other ideas? – Amir Sagiv Feb 21 '17 at 7:50

Additionally to the mentioned footmisc and the solution “by hand” there are three more possibilities.

  1. The KOMA-Script classes offer the option footnotes=multiple:

    \documentclass{scrartcl}
    \KOMAoption{footnotes}{multiple}
    \textheight=50pt % for this example only
    \begin{document}
    Text\footnote{One}\footnote{Two}
    \end{document}
    

    enter image description here

    As this again is not compatible with hyperref KOMA-Script also offers the rather lengthy \multiplefootnoteseparator. The comma used in both cases is set by \multfootsep which is defined through

    \newcommand*\multfootsep{,}
    
  2. The memoir class natively supports multiple footnotes:

    \documentclass{memoir}
    \textheight=50pt % for this example only
    \begin{document}
    Text\footnote{One}\footnote{Two}
    \end{document}
    

    enter image description here

    Again this is not working together with hyperref so memoir also defines a macro for manual input, \multfootsep, which is defined like this:

    \newcommand*{\multfootsep}{\textsuperscript{\normalfont,}}
    
  3. Then there is fnpct - a package that was designed to offer a solution for the kerning between footnote marks and punctuation. As a sideeffect it also enables multiple footnotes that are compatiple with hyperref:

    \documentclass{article}
    \usepackage{fnpct}
    \usepackage[colorlinks]{hyperref}
    \textheight=50pt % for this example only
    \begin{document}
    Text\footnote{One}\footnote{Two}
    \end{document}
    

    enter image description here

  • Your answer and the información you share is unsurpassable. – karloswitt Aug 14 '15 at 20:03
  • 1
    Awesome that fnpct works with enotez! – Nikos Alexandris Oct 10 '15 at 11:00
  • Nice answer. However, automatic recognition in KOMA scrbook with footnotes=multipledoes not seem to work for me. Adding \multiplefootnoteseparator manually between the footnotes works though. – n1000 Sep 20 '16 at 8:18

Here is a very easy way to implement it for oneself with only four lines of code. One can redefine the footnote-command and have a look to the following command using \futurelet. If the next command is also a footnote-command a , is included. That's all. And it plays well with the hyperref-package.

\documentclass{article}
\usepackage{hyperref}

\let\oldFootnote\footnote
\newcommand\nextToken\relax

\renewcommand\footnote[1]{%
    \oldFootnote{#1}\futurelet\nextToken\isFootnote}

\newcommand\isFootnote{%
    \ifx\footnote\nextToken\textsuperscript{,}\fi}

\textheight=3cm
\begin{document}

Text\footnote{First footnote}\footnote{Second footnote}\footnote{Third footnote} Text\footnote{Fourth footnote} Text

\end{document} 

multiple footnotes

  • 8
    A nice tutorial on how to use \futurelet! This solution seems to be so clean and simple that I wonder what are it's drawbacks. I mean, why there is a dozen of packages and classes for multiple footnotes that all fail on the integration with hyperref? – Daniel Sep 13 '12 at 7:42
  • Great solution, and nice not to have to load another package for something so simple. – John Aug 22 at 2:33

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.