![所有作者均列于一行,且所属机构如下?](https://linux22.com/image/307868/%E6%89%80%E6%9C%89%E4%BD%9C%E8%80%85%E5%9D%87%E5%88%97%E4%BA%8E%E4%B8%80%E8%A1%8C%EF%BC%8C%E4%B8%94%E6%89%80%E5%B1%9E%E6%9C%BA%E6%9E%84%E5%A6%82%E4%B8%8B%EF%BC%9F.png)
有没有办法将一篇论文的所有作者放在一行上,并在其下方列出所属机构?当我在下面的代码中将作者和所属机构组合在一起时,格式看起来不太好(即,挤在一起)。这让我怀疑我应该使用外部 LaTeX 包,但我不确定是否是这种情况。也许我必须使用authblk
下面代码中的包?只要看起来不错,我真的没有偏好使用哪个包:
\documentclass[twocolumn, prl]{revtex4}
\makeindex
%--------------------------------------------------------
\begin{document}
\title{My title}
\author{Name1}
\email{[email protected]}
\affiliation{University name\\ Department name\\ Address}
\author{Name2}
\email{[email protected]}
\affiliation{University name3\\ Department name\\ Address}
\author{Name3}
\email{[email protected]}
\affiliation{University name2\\ Department name\\ Address}
\begin{abstract}
The abstract starts here. Filling space now: etc etc etc...
\end{abstract}
\maketitle
\section{Introduction}
My introduction starts here...
\end{document}
答案1
感谢用户名 mvkorpel,他建议我尝试类选项superscript address
。代码如下,已\\
删除:
\documentclass[twocolumn, prl, superscriptaddress]{revtex4}
\makeindex
%--------------------------------------------------------
\begin{document}
\title{My title}
\author{Name1}
\email{[email protected]}
\affiliation{University name, Department name, Address}
\author{Name2}
\email{[email protected]}
\affiliation{University name3, Department name, Address}
\author{Name3}
\email{[email protected]}
\affiliation{University name2, Department name, Address}
\begin{abstract}
The abstract starts here. Filling space now: etc etc etc...
\end{abstract}
\maketitle
\section{Introduction}
My introduction starts here...
\end{document}
答案2
以下答案来自 Alan Munnhttps://tex.stackexchange.com/a/24946。
\documentclass[conference]{IEEEtran}
\author{
\IEEEauthorblockN{Author1\IEEEauthorrefmark{1},
Author2\IEEEauthorrefmark{2},
Author3\IEEEauthorrefmark{2},
Author4\IEEEauthorrefmark{1}}
\IEEEauthorblockA{\IEEEauthorrefmark{1}Institution1
\\\{1, 4\}@abc.com}
\IEEEauthorblockA{\IEEEauthorrefmark{2}Institution2
\\\{2, 3\}@def.com}
}
\title{A title}
\begin{document}
\maketitle
\end{document}