I would like the footnote counter to automatically restart from '1' for each page of my document.
Asked
Active
Viewed 2.4k times
3 Answers
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}
-
3Using the counter
pagewill produce wrong results (see example in my answer). – lockstep Aug 13 '10 at 14:25 -
6
\usepackage{perpage} \MakePerPage{footnote}worked right in both regards. – SU3 Jul 15 '19 at 14:14footmiscbeforehyperref. – David Woitkowski Jun 09 '20 at 09:14