我目前添加的一篇论文有 5 位作者,如下所示:
\author{First Author \\
Affiliation / Address line 1 \\
{\tt email@domain} \\\And
Second Author \\
Affiliation / Address line 1 \\
{\tt email@domain} \\\And
Third Author \\
Affiliation / Address line 1 \\
{\tt email@domain} \\\And
Fourth Author \\
Affiliation / Address line 1 \\
{\tt email@domain} \\\And
Fifth Author \\
Affiliation / Address line 1 \\
{\tt email@domain} \\
}
我以为 LaTeX 会自动断开这条线,但显然没有。我更希望在顶行有 3 个,在底行有 2 个,但我还没有找到正确的方法。找到了一些技巧,但底行的样式就丢失了。
编辑:经过一番调查,似乎问题出在所使用的样式包上。由于这是一项作业,因此我们必须使用此样式包。以下是有关不同\and
标签的样式代码。
{\def\and{\unskip\enspace{\rm and}\enspace}%
\def\And{\end{tabular}\hss \egroup \hskip 1in plus 2fil
\hbox to 0pt\bgroup\hss \begin{tabular}[t]{c}\bf}%
\def\AND{\end{tabular}\hss\egroup \hfil\hfil\egroup
\vskip 0.25in plus 1fil minus 0.125in
\hbox to \linewidth\bgroup\large \hfil\hfil
\hbox to 0pt\bgroup\hss \begin{tabular}[t]{c}\bf}
\hbox to \linewidth\bgroup\large \hfil\hfil
\hbox to 0pt\bgroup\hss \begin{tabular}[t]{c}\bf\@author
\end{tabular}\hss\egroup
\hfil\hfil\egroup
}
解决这个问题的最佳方法是什么?
答案1
组合命令\And
和\AND
,如下所示:
\author{First Author \\
Affiliation / Address line 1 \\
{\tt email@domain} \\\And
Second Author \\
Affiliation / Address line 1 \\
{\tt email@domain} \\\And
Third Author \\
Affiliation / Address line 1 \\
{\tt email@domain} \\\AND
Fourth Author \\
Affiliation / Address line 1 \\
{\tt email@domain} \\\And
Fifth Author \\
Affiliation / Address line 1 \\
{\tt email@domain} \\
}