我想将 author1 和 author2 设置为共同的第一作者。我使用:
\author{author1\inst{1} \footnotemark[1]\and author2\inst{1}\footnotemark[1] \and author3\inst{2}}
\renewcommand{\thefootnote}{\fnsymbol{footnote}}
\footnotetext[1]{The author contribute equally to this paper.}
但它会引起以下问题:
Use of \@xfootnotenext doesn't match its definition. \maketitle
有人知道如何解决吗?
答案1
直到问题更加精确,这些就是我的解决方案。
第一个解决方案(使用多位作者并重新定义标题页)
现在每个作者都有自己的命令(您可以轻松扩展到很多作者)。所有作者都有相同的脚注标记和脚注文本。
代码
\documentclass{article}
\makeatletter
\def\firstauthor#1{\gdef\@firstauthor{#1}}
\def\secondauthor#1{\gdef\@secondauthor{#1}}
\def\thirdauthor#1{\gdef\@thirdauthor{#1}}
\makeatother
\firstauthor{John Doe}
\secondauthor{Jack Smith}
\thirdauthor{Jack Doe}
\title{My Awesome Title}
\begin{document}
\makeatletter
\begin{titlepage}%
\let\footnotesize\small
\let\footnoterule\relax
\let \footnote \thanks
\null\vfil
\vskip 60\p@
\begin{center}%
{\LARGE \@title \par}%
\vskip 3em%
{\large
\lineskip .75em%
\begin{tabular}[t]{c}%
\@firstauthor\footnote{The authors contribute equally to this paper.}
\and
\@secondauthor\footnotemark[\value{footnote}]
\and
\@thirdauthor
\end{tabular}\par}%
\vskip 1.5em%
{\large \@date \par}% % Set date in \large size.
\end{center}\par
\@thanks
\vfil\null
\end{titlepage}%
\makeatother
\end{document}
结果
使用注意事项hyperref
一切正常,除了编译中的一个警告以及第二作者的脚注标记链接已损坏(这是警告的原因)。
第二种解决方案
我使用了 authblk 包。由于我不知道您想要哪种视觉效果,请查看文档如果您想改变视觉效果。我修改了标题页,只插入了没有标记的脚注。
\documentclass{article}
\usepackage[affil-it,blocks]{authblk}
\title{My Awesome Title}
\author{John Doe\thanks{[email protected]}}
\affil{First University}
\author{Jack Smith\thanks{[email protected]}}
\affil{Second University}
\author{Jack Doe\thanks{[email protected]}}
\affil{Third University}
\date{\today}
\newcommand\blfootnote[1]{%
\begingroup
\renewcommand\thefootnote{}\footnote{#1}%
\addtocounter{footnote}{-1}%
\endgroup
}
\begin{document}
%\maketitle
\makeatletter
\begin{titlepage}%
\let\footnotesize\small
\let\footnoterule\relax
\blfootnote{John Doe and Jack Smith equally contribute to this paper.}
\let \footnote \thanks
\null\vfil
\vskip 60\p@
\begin{center}%
{\LARGE \@title \par}%
\vskip 3em%
{\large
\lineskip .75em%
\begin{tabular}[t]{c}%
\@author
\end{tabular}\par}%
\vskip 1.5em%
{\large \@date \par}% % Set date in \large size.
\end{center}\par
\@thanks
\vfil\null
\end{titlepage}%
\makeatother
\end{document}
结果
如果第一和第二作者来自完全相同的机构(部门、机构等),你可以替换
\author{John Doe\thanks{[email protected]}}
\affil{Some department, First Institution}
\author{Jack Smith\thanks{[email protected]}}
\affil{Some department, Second Institution}
\author{Jack Doe\thanks{[email protected]}}
\affil{Some Department, Third Institution}
和
\author{John Doe\thanks{[email protected]}}
\author{Jack Smith\thanks{[email protected]}}
\affil{Some department, First Institution}
\author{Jack Doe\thanks{[email protected]}}
\affil{Some department, Second Institution}
并且 authblk 将自动处理导致
答案2
尝试这个
\author{
First Author\thanks{Same Institute} \and
Second Author\footnotemark[1] \and
Third author \thanks{UVW}
}
\footnotemark[1] 表示共享脚注。