Footnote citations in biblatex ignore spacing before the citation command; how can I have the same behavior for all footnotes in a document?

Here's a MWE demonstrating the issue:

Spacing is fine before citations     \autocite{kant:kpv} 
but not before footnotes    \footnote{A footnote \autocite{kant:ku}}.


  • 3
    \let\oldfootnote\footnote\def\footnote{\ifhmode\unskip\fi\oldfootnote probably works May 6, 2016 at 13:40
  • @DavidCarlisle An answer, please
    – egreg
    May 24, 2016 at 9:09

1 Answer 1


probably works.

\unskip is a tex primitive to remove the previous skip (space) and here it's guarded by an \ifhmode test to check that you only do this if you are in horizontal mode within a paragraph not (for some reason) at the start of a paragraph when \unskip would (depending on the context) give an error or remove the vertical space before the paragraph.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .