微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

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

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

我正在尝试使用 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}

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。