57

I would like the footnote counter to automatically restart from '1' for each page of my document.

lockstep
  • 250,273

3 Answers3

72
\usepackage[perpage]{footmisc}

https://ctan.org/pkg/footmisc

Leo Liu
  • 5,445
  • 7
    I like your answer. It's short and correct. I'd like to see some minor explanation what exactly that package does – BlueWizard May 11 '15 at 14:27
  • 3
    I suspect the @Leo is not coming back; I'd really appreciate if someone added a sentence or two of explanation. – Reid Dec 23 '16 at 17:01
  • From the documentation: "This option resets footnote numbering for each page of the document. It needs at least two passes to do this correctly (though it comes as close as possible on the first pass). You generally have to make two passes with LATEX anyway, to get the cross-references right, so an additional pass for this purpose shouldn’t cause any additional problem. The option includes code to report that ‘Label(s) may have changed’, which will help the poor user to realise that (yet) another run is in order." – Dschoni Feb 09 '18 at 10:41
  • 2
    This made all my footnote marks link to the first page. The numbering worked correctly, though. \usepackage{perpage} \MakePerPage{footnote} worked right in both regards. – SU3 Jul 15 '19 at 14:14
  • This answer is perfect. (It is not clear what "minor explanation" might be needed here). – Jay Dec 24 '19 at 01:00
  • 1
    @SU3 In this case try loading footmisc before hyperref. – David Woitkowski Jun 09 '20 at 09:14
16

Using the counter page will produce wrong results.

\documentclass{article}

\usepackage{blindtext}

\makeatletter
\@newctr{footnote}[page]
\makeatother

\begin{document}

\blindtext\footnote{bla}

\blindtext\footnote{bla}

\blindtext\footnote{bla}

\blindtext\footnote{bla}

\blindtext\footnote{bla}

\end{document}

Instead, you should use either the package footmisc with the perpage option or the following code:

\usepackage{perpage}
\MakePerPage{footnote}
lockstep
  • 250,273
  • For some reason the accepted answer did not work for me (probably some package conflict) but this one did. The perpage package used as shown in the last two lines of this answer is definitely a good solution. – Dalker Jan 22 '19 at 14:41
5

One just needs to make the counter footnote "subcounter" of the counter page (as in \newcounter{subcounter}[counter]). The only problem is lack of \renewcounter command, so one has to use

\makeatletter
\@newctr{footnote}[page]
\makeatother

Update: as lockstep points out, the counter page is unreliable and one has to use e.g.

 \usepackage{perpage}
 \MakePerPage{footnote}
Grigory M
  • 4,984
  • 4
  • 39
  • 37