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

问题描述 投票:0回答:3

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

enter image description here

但是,尽管尝试了多种不同的解决方案,我仍无法实现这一目标。有没有简单的方法可以做到这一点?

我尝试使用

bigfoot
包创建多种不同类型的脚注,并结合
footmisc
multiple
选项来获取多个脚注标记,它们之间用逗号分隔,但最终我得到了叠加的标记,没有脚注。我的最小乳胶文件是:

\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

latex pdflatex tex footnotes
3个回答
1
投票

一种可能性是切换到

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}

1
投票

在其他人的帮助下,我在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}

0
投票

我正在格式化一个大型协作作者列表,因此我将“superscriptaddress”添加到我的文档类选项中。这是文档类声明:

\documentclass[reprint, aps,amssymb,amsmath,showpacs,superscriptaddress] {revtex4-2}

我只是从评论中添加了它,并在声明下方列出了选项列表。它给了我像你一样的输出,而且同一所大学的多个作者也有相同的数字而不是重复的数字。

© www.soinside.com 2019 - 2024. All rights reserved.