There are many separate problems with your code.
Wrong symbols
For the second author you used \FootnotemarkAAffil{2}
. That is the incorrect syntax. The correct one should be \footnotemarkAAffil[2]
(note the lower case and the square brackets). The former prints the argument (literally) as the footnotemark. The latter prints the footnotemark associated to the optional argument.
Using footmisc
Some years ago there was some discussion about whether footmisc
is compatible with bigfoot
. I don't know the status of the mutual compatibility, but the package mentioned in the linked question (fnpct
) definitely is compatible with bigfoot
.
Spacing issues
A main problem, however, is that of spacing. The reason the spacing is somewhat borked is because, while normally we have the kernel definition
\def\@makefnmark{\hbox{\@textsuperscript{\normalfont\@thefnmark}}
In article.cls
we see that during \maketitle
this is redefined (unless you use the titlepage
option):
\newcommand\maketitle{\par
\begingroup
\renewcommand\thefootnote{\@fnsymbol\c@footnote}%
\def\@makefnmark{\rlap{\@textsuperscript{\normalfont\@thefnmark}}}%
...
The \rlap
causes that weird spacing you see. To get around this problem you have to either redefine the \maketitle
command or use the titlepage
option.
If you weren't using the bigfoot
package, then you can just adapt this answer.
Footnotes not showing up
Standard article
class sets the author list using a tabular
. Tabulars are known to not play well with footnotes (and many other discussion here on TeX.SE). To work around that the \thanks
macro is used (which basically streamlines the \footnotemark...\footnotetext
call one uses with tabulars). The \footnote
command is also redefined to become \thanks
.
What is key is that these redefinitions are not duplicated by bigfoot
.
An not-so-elegant solution
\documentclass[titlepage]{article} % <---- Use titlepage option for the rlap problem
\title{My title}
\usepackage[dont-mess-around]{fnpct} % <---- I use fnpct instead of footmisc, but that's probably not essential
\usepackage{bigfoot}
\DeclareNewFootnote{AAffil}[arabic]
\DeclareNewFootnote{ANote}[fnsymbol]
% Hook into the \thanks command for the article class to print the footnotes
\makeatletter
\def\thanksAAffil#1#2{
\protected@xdef\@thanks{\@thanks
\protect\footnotetextAAffil[#1]{#2}}%
}
\def\thanksANote#1#2{
\protected@xdef\@thanks{\@thanks
\protect\footnotetextANote[#1]{#2}}%
}
\makeatother
\author{%
David Kaplan\footnotemarkAAffil\footnotemarkAAffil\footnotemarkANote\footnotemarkANote%
\thanksAAffil{1}{A University}\thanksAAffil{2}{Another University}\thanksANote{1}{Corresponding author}\thanksANote{2}{Equal contributors}%
\and%
Prince Charming\footnotemarkAAffil[2]\footnotemarkANote[2]%
}
\date{\today}
\begin{document}
\maketitle
Text
\end{document}
- As mentioned above, using
titlepage
will work around the overlapping issue.
- To solve the issue of footnotes not showing up, I initially tried to copy (after looking at Werner's excellent explanation) the definition of
\thanks
to apply them to the new footnotes from bigfoot
. However, this breaks how fnpct
detects consecutive footnotes, and the commas become suppressed, and so;
- You must manually issue
\footnotemarkAAffil
etc to mark all the footnotes, to take advantage of the commas that are generated, and then use the \thanksAffil
etc commands (that are defined in the code above) to supply the footnote texts that will be displayed on the title page.
Output: