I would like to have a small vertical space between the footnote continuing from a previous page and the footnote of the current page.

I know there is a command \footnotesep to separate the footnotes (as explained in Configuring footnote position and spacing). However, this solution introduce a vertical space between every footnote. Yet I would like a vertical space only between footnote from previous page, and footnotes from current page, as shown below:

a sample footnote continued form the previous page.

6. Next footnote coming immediately after the breaking footnote
7. Another footnote from current page, without vertical space before.

Is possible to get this style automatically?

  • 2
    As far as I can tell the duplicate candidate adresses this for all footnotes, not only those leaking out of their page. – T. Verron Nov 8 '16 at 17:17
  • I've rephrased the question, in order to make it distinct from duplicate. @venkatesan Ramachandiran: Tell me if it match your initial intention. – ebosi Nov 9 '16 at 9:50
  • This is what I got to say – vctu Nov 9 '16 at 10:02

One solution is to put a label at the beginning and at the end of each footnote. At the beginning of a footnote, if the labels of the previous one are different, it means that it was split. If the current footnote starts on the page where the previous one ends, then insert a vertical skip.

\newcounter{footnotecount} % footnote counter
\newlength\splitfootnoteskip % skip added after a split footnote
% the following makes \splitfootnoteskip equal to \baselineskip inside footnotes
% save the original definition of \@footnotetext
% and redefine it to insert labels
% check whether the previous note was split
% if \c@footnotecount is 0, this is the first footnote.
% Otherwise, check whether both labels are defined and equal.
% If they are both defined but different, and the labels for the current
% footnote are defined, check whether the current footnote starts on the
% page where the previous one ends.
% If so, insert \vskip\splitfootnoteskip
      \expandafter\let\expandafter\tempa\csname r@fnend\the\c@footnotecount\endcsname
        \expandafter\ifx\csname r@fnstart\the\c@footnotecount\endcsname\tempa\else
          \advance\count@ 1\relax
          \expandafter\let\expandafter\tempb\csname r@fnstart\the\count@\endcsname
  • Tahnk you, it is working – vctu Dec 1 '16 at 5:57
  • @venkatesanRamachandiran. Actually, my solution did not work completely. When the previous footnote is split, I forgot to check whether the current one starts on the page where the previous one ends. I edited my answer. – Eric Domenjoud Dec 1 '16 at 8:52

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.