add tag
samcarter
Assume I have an article with a couple of footnotes

```
\documentclass{article}
\begin{document}
test\footnote{text}
\newpage
test\footnote{text}
\end{document}
```

How to resume the footnote counter from this document in another one, e.g. the next document should continue with footnote 3
Top Answer
samcarter
One can use the `totcount` package to store the footnote counter in an auxiliary file:

```
\documentclass{article}

\usepackage{totcount}
\regtotcounter[auxfile=\jobname.tot]{footnote}

\begin{document}


test\footnote{text}

\newpage

test\footnote{text}

\end{document}
```

```
\documentclass{article}

\makeatletter
\input{document.tot}
\addtocounter{footnote}{\thefootnote@totc}
\makeatother

\begin{document}

test\footnote{text}

\end{document}
```

This room is for discussion about this question.

Once logged in you can direct comments to any contributor here.

Enter question or answer id or url (and optionally further answer ids/urls from the same question) from

Separate each id/url with a space. No need to list your own answers; they will be imported automatically.