![IEEE 样式作者有 5 列](https://linux22.com/image/390379/IEEE%20%E6%A0%B7%E5%BC%8F%E4%BD%9C%E8%80%85%E6%9C%89%205%20%E5%88%97.png)
我正在写一篇论文,想将作者部分格式化为 5 位作者。使用基本的 IEEE 模板(见下面的代码),我设法实现了这一点(见图片)。有人知道怎样才能更有条理:第一行有 3 位作者,第二行有 2 位作者吗?
\author{\IEEEauthorblockN{Firstname Lastname}
\IEEEauthorblockA{\textit{University of X}\\
\textit{Laboratory} \\
City, Country \\
email}
\and
\IEEEauthorblockN{Firstname Lastname}
\IEEEauthorblockA{\textit{University of X}\\
\textit{Laboratory} \\
City, Country \\
email}
\and
\IEEEauthorblockN{Firstname Lastname}
\IEEEauthorblockA{\textit{University of X}\\
\textit{laboratory} \\
City, Country \\
email}
\and
\IEEEauthorblockN{Firstname Lastname}
\IEEEauthorblockA{\textit{University of X}\\
\textit{Laboratory} \\
City, Country \\
email}
\and
\IEEEauthorblockN{Firstname Lastname}
\IEEEauthorblockA{\textit{University of X}\\
\textit{laboratory} \\
City, Country \\
email}
}
答案1
您可以使用(如下所定义)在调用点\newlineauthors
插入 a ,并在两侧使用 s 来延伸所涉及行上的作者:\par
\hfill
\documentclass[conference]{IEEEtran}
\makeatletter
\newcommand{\newlineauthors}{%
\end{@IEEEauthorhalign}\hfill\mbox{}\par
\mbox{}\hfill\begin{@IEEEauthorhalign}
}
\makeatother
\title{A title}
\author{\IEEEauthorblockN{Firstname Lastname}
\IEEEauthorblockA{\textit{University of X}\\
\textit{Laboratory} \\
City, Country \\
email}
\and
\IEEEauthorblockN{Secondname Lastname}
\IEEEauthorblockA{\textit{University of X}\\
\textit{Laboratory} \\
City, Country \\
email}
\and
\IEEEauthorblockN{Thirdname Lastname}
\IEEEauthorblockA{\textit{University of X}\\
\textit{laboratory} \\
City, Country \\
email}
\newlineauthors
\IEEEauthorblockN{Fourthname Lastname}
\IEEEauthorblockA{\textit{University of X}\\
\textit{Laboratory} \\
City, Country \\
email}
\and
\IEEEauthorblockN{Fifthname Lastname}
\IEEEauthorblockA{\textit{University of X}\\
\textit{laboratory} \\
City, Country \\
email}
}
\begin{document}
\maketitle
\end{document}