我想知道如何在 LaTeX 中按照以下格式列出作者姓名。
我有 5 位作者,他们来自 3 个不同的机构。我试图将所有带有 refmark 的作者姓名列在一行中,将 3 个带有 refmark 的机构列在另一行中,但每个机构都位于一个单独的列中。它应该如下所示:
author1{1} author2{2} author3{1} author4{2} author5{3}
{1}department {2}department {3}department
school school school
email email email
我确实看到一些论文采用上述格式,但无法搜索任何指南。IEEE 指南建议另一种列出作者的方式,但遗憾的是它看起来不太好
author1{1} author2{2} author3{1} author4{2} author5{3}
{1} department, school
email
{2} department, school
email
{3} department, school
email
答案1
由于这似乎是一次性使用的请求,我会选择手动设计标题;类似于以下内容:
\documentclass{article}
\usepackage{array}
\usepackage{url}
\newcommand\Mark[1]{\textsuperscript#1}
\begin{document}
\begingroup
\centering
{\LARGE The Title \\[1.5em]
\large First Author\Mark{1}, Second Author\Mark{2}, Third Author\Mark{1}, Fourth Author\Mark{2} and Fifth Author\Mark{3}}\\[1em]
\begin{tabular}{*{3}{>{\centering}p{.25\textwidth}}}
\Mark{1}Department1 & \Mark{2}Department2 & \Mark{3}Department3 \tabularnewline
School1 & School2 & School3 \tabularnewline
\url{email1} & \url{email2} & \url{email3}
\end{tabular}\par
\endgroup
\end{document}
答案2
即使它看起来可能不完全符合你的规格,但我认为有必要提到authblk
包,可以轻松处理多个作者,其中一些作者有共同的从属关系。您可以在两种布局之间进行选择(除了布局之外,还有一些选项,但它们与此无关,请查看手册了解它们)。
脚注样式
\documentclass{article}
\usepackage{authblk}
\usepackage[pdfborder={0 0 0}]{hyperref}% For email addresses
\title{Title}
\author[1]{Lisa}
\author[2]{John}
\author[1]{Jessica}
\author[2]{Chris}
\author[3]{Anna}
\affil[1]{Department 1 \\
School 1 \\
\url{email1}}
\affil[2]{Department 2 \\
School 2 \\
\url{email2}}
\affil[3]{Department 3 \\
School 3 \\
\url{email3}}
\begin{document}
\maketitle
\end{document}
作者区块
\documentclass{article}
\usepackage[blocks]{authblk}% The option is for block layout
\usepackage[pdfborder={0 0 0}]{hyperref}% For email addresses
\title{Title}
\author{Lisa}
\author{Jessica}
\affil{Department 1 \\% If the blocks option of authblk is removed \\ is treated as ,
School 1 \\
\url{email1}}
\author{John}
\author{Chris}
\affil{Department 2 \\
School 2 \\
\url{email2}}
\author{Anna}
\affil{Department 3 \\
School 3 \\
\url{email3}}
\begin{document}
\maketitle
\end{document}
答案3
试试这个!我想这就是你想要的!
\documentclass{IEEEtran}
\usepackage{url}
\usepackage{multirow}
\usepackage{array}
\begin{document}
\title{Article Title}
\author{
\begin{tabular}{*{2}{>{\centering}p{.5\textwidth}}}
\large Nome1 & \large Nome2 \tabularnewline
Department1 & Department2 \tabularnewline
School1 & School2 \tabularnewline
\url{url1} & \url{url2}
\end{tabular}
}
\maketitle
\end{document}
根据作者的数量,您应该始终调整列的宽度,例如 .5\textwidh、.25\textwidth 等等。
结果: