Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

footnote counter does not reset after using affils #8

Open
mkolopanis opened this issue Nov 9, 2016 · 1 comment
Open

footnote counter does not reset after using affils #8

mkolopanis opened this issue Nov 9, 2016 · 1 comment

Comments

@mkolopanis
Copy link

mkolopanis commented Nov 9, 2016

This appears to affect text located directly in a "section" after the affils package is used which contains.

Footnotes in these text blocks have counters which extend the counter used for the affiliation numbering even if you attempt to reset the footnote counter.
affils_test.pdf

Text which does not appear in a section does not appear to have this issue
affils_test.pdf

Here is my MWE saved as a txt, the only difference is commenting line 20

\documentclass[preprint2]{emulateapj}
\usepackage{affils}
\usepackage{lipsum}

\shorttitle{Title}
\shortauthors{J.D}
\begin{document}
\title{Affils test}
\DeclareAffil{1}{foo}
\DeclareAffil{2}{bar}
\DeclareAffil{3}{foobar}
\affilauthorlist{
Janet Doe\affils{1,2},
John Doe\affils{3}
}
\begin{abstract}
\lipsum[3]
\end{abstract}
\maketitle
\setcounter{footnote}{0}
\section{section}
\lipsum[1]\footnote{Foot note Test}
\lipsum[2]
\end{document}

@mkolopanis
Copy link
Author

placing \setcounter{footnote}{0} inside of the section appears to alleviate this bug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant