有没有办法将一篇论文的所有作者放在一行上,并在其下方列出所属机构?当我在下面的代码中将作者和所属机构组合在一起时,格式看起来不太好(即,挤在一起)。这让我怀疑我应该使用外部 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}