隶属关系和通讯作者评论作为乳胶文章的脚注

问题描述

我正在尝试使用 LaTeX 文章文档类来创建一个简单的论文,作者在标题页上列出,他们的(可能重复的)隶属关系作为数字脚注,其他作者评论作为符号脚注。例如,我想要类似

enter image description here

然而,尽管尝试了多种不同的解决方案,我还是没能做到这一点。有没有简单的方法可以做到这一点?

我曾尝试使用 bigfoot 包创建多种不同类型的脚注,结合 footmiscmultiple 选项来获得多个脚注标记,它们之间用逗号,但我最终带有叠加标记且没有脚注。我的最小乳胶文件是:

\documentclass{article}

\title{My title}

\usepackage[multiple]{footmisc}
\usepackage{bigfoot}

\DeclareNewFootnote{AAffil}[arabic]
\DeclareNewFootnote{ANote}[fnsymbol]

\author{
        David Kaplan\footnoteAAffil{A University}\footnoteAAffil{Another University}\footnoteANote{Corresponding author}\footnoteANote{Equal contributors}
        \and
        Prince Charming\FootnotemarkAAffil{2}\FootnotemarkANote{2}
}
\date{\today}


\begin{document}
\maketitle
\end{document}

我得到的输出是:

enter image description here

解决方法

一种可能性是切换到 amsart 类,然后使用 amsaddr 包:

\documentclass{amsart}

\title{My title}

\author{David Kaplan $^{1,2,\ast,\dagger}$}
\address{$^1$A University}
\address{$^2$Another University}
\address{$^{\ast}$Corresponding author}
\address{$^{\dagger}$Equal contributors}
\author{Prince Charming $^{1,\dagger}$}

\usepackage[foot]{amsaddr}



\begin{document}
\maketitle
\end{document}
,

在其他人的帮助下,我发布了此问题的解决方案 here。为了完整起见,我正在复制以下解决方案:

\documentclass{article}  % <---- No titlepage

\title{My title}

%\usepackage[dont-mess-around]{fnpct}   % <---- I decided not to use fnpct,but rather put in the commas by hand
\usepackage{bigfoot}

\DeclareNewFootnote{AAffil}[arabic]
\DeclareNewFootnote{ANote}[fnsymbol]

\usepackage{etoolbox}
\makeatletter
\patchcmd\maketitle{\def\@makefnmark{\rlap{\@textsuperscript{\normalfont\@thefnmark}}}}{}{}{}
\makeatother

% Hook into the \thanks command for the article class to print the footnotes
\makeatletter
\def\thanksAAffil#1{% <--- These %'s are necessary for spacing
  \footnotemarkAAffil\protected@xdef\@thanks{\@thanks%
        \protect\footnotetextAAffil[\the \c@footnoteAAffil]{#1}}%
}
\def\thanksANote#1{%
  \footnotemarkANote%
  \protected@xdef\@thanks{\@thanks%
        \protect\footnotetextANote[\the \c@footnoteANote]{#1}}%
}
\makeatother

\author{% <---- Not sure if these %'s are necessary,but can't hurt
  David Kaplan%
  \thanksAAffil{A University}$^{,}$\thanksAAffil{Another University}$^{,}$%
  \thanksANote{Corresponding author}$^{,}$\thanksANote{Equal contributors}%,%
  Prince Charming%
  \footnotemarkAAffil[2]$^{,}$\thanksAAffil{Still another university}$^{,}$\footnotemarkANote[2]$^{,}$%
  \thanksANote{Another note}%,%
  Mohamed Ali%
  \thanksAAffil{I am the greatest U.}%
}
\date{\today}

\begin{document}
\maketitle

\begin{abstract}
  This is the abstract.
\end{abstract}

\section{Introduction}

More Text

\end{document}

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...