6

When having a comparatively large number of footnotes that are each very short (URLs say), it sometimes looks weird to have them stack up to a high footnote tower, especially in a minipage or some similarly confined space.

four URLs one under the other

\documentclass[a5paper]{article}
\usepackage[hidelinks=true]{hyperref}
\newcommand{\footurl}[1]{\footnote{\url{#1}}}
\begin{document}
\begin{minipage}{\textwidth}
As Linux Jabber clients there are for example Pidgin\footurl{http://www.pidgin.im/}, Kopete\footurl{http://kopete.kde.org/}, Gajim\footurl{http://gajim.org/} and Psi\footurl{http://psi-im.org/}.
\end{minipage}
\end{document}

Intuitively, I'd like to see these footnotes next to each other, like so:

2x2 footnotes

Is there any package that does this for me? Or any other way?

If at all possible I'd like not to go all two-columned with all my footnotes.


Edit

Just for reference, I'll show the two closest solutions so far. The first is the eledmac solution I linked to myself which can be used locally when not changing the \footnote command. It's not compatible with fnpct however. It can be made to work with fnpct with the excellent extension capabilities of this package, so the following image uses \AdaptNoteNoMult{\footnoteA}.

3+1 footnotes

The second is the solution suggested by jon which uses bigfoot and the para option. It is compatible with fnpct which I used in the following example but it inherits manyfoot's "feature" of escaping minipages so the length of the following example is still a huge understatement. It's also not properly aligned so it doesn't look satisfactory on its own.

2x2 but not aligned

  • And sorry for the footnotes and the punctuation. Yes, I do use fnpct in my actual document. – Christian Jun 13 '13 at 22:13
  • Have you considered using the footmisc package with the para option? – Mico Jun 14 '13 at 0:14
  • It seems that no footnote package can do what you are looking for out of the box. The closest is perhaps \usepackage[para]{bigfoot}\DeclareNewFootnote[para]{default}, which will use paragraphed notes except when bigfoot's underlying 'badness' algorithm decides that it would look to worse if the footnote in question is started on a new line. It is very impressive, but unfortunately it can't match manually placed mixed short and long footnotes you'll see in some academic publications. If only it could be extended to do (only) 1, 2, or 3 short notes per line. Way above my pay grade, though! – jon Jun 14 '13 at 5:07
  • @Mico Maybe I'm doing something wrong here but I had indeed tried \usepackage[para]{footmisc} but it didn't make any difference. – Christian Jun 14 '13 at 6:43
  • 3
    i expect i could make a 2col option for footmisc, but it would never be ready to solve today's problem. if anyone else can do it "quickly" i'll happily merge the changes with the current release – wasteofspace Jun 14 '13 at 9:03
2

There is a package dblfnote which can do it for you. Because it is a little bit old there can be other problems occur (for your MWE there will come up an warning with option hidelinks of package hyperref. I commented the minipage in your MWE to get the wanted result.

New MWE:

\documentclass[a5paper]{article}

\usepackage{dblfnote}  % Two footnotes in one line      % <========== new
\DFNalwaysdouble       % sets footnote always double    % <========== new

\usepackage[hidelinks=true]{hyperref}

\newcommand{\footurl}[1]{\footnote{\url{#1}}}
\begin{document}
%\begin{minipage}{\textwidth}                            % <========== 
As Linux Jabber clients there are for example 
Pidgin\footurl{http://www.pidgin.im/}, 
Kopete\footurl{http://kopete.kde.org/}, Gajim\footurl{http://gajim.org/} 
and Psi\footurl{http://psi-im.org/}. 
%\end{minipage}                                          % <========== 
\end{document} 

and the result is:

enter image description here

  • That's pretty cool but there are two bummers: that it doesn't work in minipages and that you can't switch it on and off. While "try single column" is the default, you still get footnotes that only use half the space available to them. I consider this double footnote thing a special case and it would be great if there was a package that doesn't touch footnotes at all unless a special command is used. It would even be understandable and okay if this package terribly crashed and burned and sold your grandmother when you mix normal and double footnotes on the same (mini)page. – Christian Oct 11 '13 at 19:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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