
我正在為一篇使用的論文寫一篇論文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}\\
}