2

One can have multiple footnotes on the same line, using

\usepackage[para]{footmisc}

but it produces extra space between numbers and respective notes (as the figure below shows). I'd like to remove this space. If someone could help me, I'd be grateful. Anyway, thank you for your attention!

My MWE is:

\documentclass[a4paper,12pt]{book} 
\usepackage[para]{footmisc}

\begin{document}

\ \vfill

First unknown word\footnote{The first note.}. 
Second one\footnote{The second one}. 
Third one\footnote{The third one.}.

\end{document}

which produces:

enter image description here

6
  • Please provide code in the form of a minimal document we can compile to see the problem. This is much more useful than a fragment of code.
    – cfr
    Jul 7, 2017 at 23:56
  • Questions seeking debugging help ("why isn't this code working?") must include the desired behavior, a specific problem or error and the shortest code necessary to reproduce it in the question itself. Questions without a clear problem statement are not useful to other readers. See minimal working example (MWE). Jul 8, 2017 at 1:03
  • 1
    Try \footglue=0.2em plus.3em minus.3em in your preamble, for example
    – Troy
    Jul 8, 2017 at 12:52
  • Thank you for your hint, but it doesn't work for me. It only reduces the space between the end of a note and the number of the following note. I'd like to reduce the space between a note and its number. I recognize my question causes this doubt. So I'll edit it. I guess we have three parameters in your code. Could you explain which each one of them is related with, please?
    – rgm
    Jul 8, 2017 at 14:16
  • 1
    Then \footglue won't help (I misunderstood what you wanted). Try this in the preamble, instead: \makeatletter\long\def\@makefntext#1{\leavevmode\@makefnmark\nobreak\hskip.1em\relax#1}\makeatother, where the dimension of \hskip can be changed to your liking (default is .5em, from the package documentation)
    – Troy
    Jul 8, 2017 at 15:03

1 Answer 1

2

The relevant code from the footmisc package documentation can be found in Section 5.3 Support code for paragraph footnotes, which is as follows:

% Taken from package documentation, Sect 5.3
\long\def\@makefntext#1{\leavevmode
    \@makefnmark\nobreak
    \hskip.5em\relax#1%
}

The command \@makefntext prints out the footnote number (\@makefnmark) + the actual footnote itself (taken as an argument #1). In between the footnote mark and the footnote text, there is a horizontal spacing of \hskip.5em, which is the spacing that you want to change.

A full MWE:

\documentclass[a4paper,12pt]{book} 
\usepackage[para]{footmisc}

\makeatletter
\long\def\@makefntext#1{\leavevmode
    \@makefnmark\nobreak
    \hskip.1em\relax#1% <----------- change the dimension here
}
\makeatother

\begin{document}
    First unknown word\footnote{The first note.}. 
    Second one\footnote{The second one}. 
    Third one\footnote{The third one.}.
\end{document}

Output:

enter image description here

Note the spacing marked out by the arrows -- that is the spacing affected by \hskip<dim> from the original code.

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.