我正在写一篇论文,使用ACM 会议论文集类 acm_proc_article-sp.cls
。我有五位作者,我们所有的电子邮件似乎都足够长,以至于它们在作者列表中重叠。这个问题的一个相当简单的示例,改编自类文件提供的参考示例,是
\documentclass{acm_proc_article-sp}
\def\sharedaffiliation{%
\end{tabular}
\begin{tabular}{c}}
%
\begin{document}
\title{ACM Sample Proceedings Paper in LaTeX by authors with long addresses}
\numberofauthors{5}
\author{
% 1st. author
\alignauthor
Ben Trovato\\
\email{[email protected]}
% 2nd. author
\alignauthor
G.K.M. Tobin\\
\email{[email protected]}
\and % use '\and' if you need 'another row' of author names
% 3rd. author
\alignauthor Lars Th{\o}rv{\"a}ld\\
\email{[email protected]}
% 4th. author
\alignauthor Lawrence P. Leipuner\\
\email{[email protected]}
% 5th. author
\alignauthor Sean Fogarty\\
\email{[email protected]}
\and
\sharedaffiliation
\affaddr{Institute for Clarity in Documentation}\\
\affaddr{P.O. Box 1212}\\
\affaddr{Dublin, Ohio 43017-6221}\\
}
\maketitle
\balancecolumns
\end{document}
有什么好办法可以解决这个问题吗?这个问题在之前的问题中已经描述过,但是回答,改变作者数量,并没有帮助:\numberofauthors{3}
给出与上面相同的结果;虽然\numberofauthors{2}
空间分离,但第三位作者超出了页面范围。
答案1
我不知道您在撰写文章时有多少回旋余地,但您可以使用自己的tabular
布局来设置五位作者:
\documentclass{acm_proc_article-sp}
\def\sharedaffiliation{%
\end{tabular}
\begin{tabular}{c}}
\title{ACM Sample Proceedings Paper in LaTeX by authors with long addresses}
%\numberofauthors{1}
\author{
\begin{tabular}{c}
% 1st. author
Ben Trovato \\
\email{[email protected]}
\end{tabular}%
\begin{tabular}{c}
% 2nd. author
G.K.M. Tobin \\
\email{[email protected]}
\end{tabular} \\[10pt]
\begin{tabular}{c}
% 3rd. author
Lars Th{\o}rv{\"a}ld\\
\email{[email protected]}
\end{tabular}
\begin{tabular}{c}
% 4th. author
Lawrence P. Leipuner\\
\email{[email protected]}
\end{tabular}
\begin{tabular}{c}
% 5th. author
Sean Fogarty\\
\email{[email protected]}
\end{tabular}
\and
\sharedaffiliation
\affaddr{Institute for Clarity in Documentation} \\
\affaddr{P.O.\ Box 1212} \\
\affaddr{Dublin, Ohio 43017-6221}
}
\begin{document}
\maketitle
\end{document}
这\numberofauthors
用于将作者区块细分为适当的固定的宽度。但是,这不适用于较长的(作者或)地址。上述建议通过考虑技术上跨越整个的“单个”作者来覆盖此建议\textwidth
。
答案2
我自己找到的一个解决方案来自这个答案,其中电子邮件地址的句号中启用了换行符。因此:
\author{
\alignauthor Ben Trovato\\
\email{ben.\linebreak[0]trovato@long.\linebreak[0]university.edu}
\alignauthor G.K.M. Tobin\\
\email{some.\linebreak[0]one@long.\linebreak[0]university.edu}
\and
\alignauthor Lars Th{\o}rv{\"a}ld\\
\email{[email protected]}
\alignauthor Lawrence P. Leipuner\\
\email{[email protected]}
\alignauthor Sean Fogarty\\
\email{[email protected]}
\and
\sharedaffiliation
\affaddr{Institute for Clarity in Documentation}\\
\affaddr{P.O. Box 1212}\\
\affaddr{Dublin, Ohio 43017-6221}\\
}