43

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

52
\usepackage[perpage]{footmisc}
  • 5
    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
  • 1
    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 9 '18 at 10:41
  • 1
    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 at 14:14
11

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}
  • 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 at 14:41
1

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}
  • 1
    Using the counter page will produce wrong results (see example in my answer). – lockstep Aug 13 '10 at 14:25
  • 3
    This should probably stay as a warning to the unwary? – SamB Nov 30 '10 at 3:05

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.