我是 Latex 的新手。我正在构建一个使用 ACM SIG Proceedings Templates 的文档。示例 tex 文件包含 \numberofauthors \alignauthor 和其他几个标签。当我尝试在 texstudio 中构建它时,它给我错误,抱怨无法识别的命令,如 numberofauthors、alignauthor 等。我已经包含了 authblock 包。我必须包含哪些其他包才能获得这些标签?
\documentclass{acm_proc_article-sp}
\begin{document}
\title{Hello World}
\numberofauthors{8}
\author{
% 1st. author
\alignauthor
Ben Trovato\titlenote{Dr.~Trovato insisted his name be first.}\\
\affaddr{Institute for Clarity in Documentation}\\
\affaddr{1932 Wallamaloo Lane}\\
\affaddr{Wallamaloo, New Zealand}\\
\email{[email protected]}
% 2nd. author
\alignauthor
G.K.M. Tobin\titlenote{The secretary disavows
any knowledge of this author's actions.}\\
\affaddr{Institute for Clarity in Documentation}\\
\affaddr{P.O. Box 1212}\\
\affaddr{Dublin, Ohio 43017-6221}\\
\email{[email protected]}
% 3rd. author
\alignauthor Lars Th{\o}rv{\"a}ld\titlenote{This author is the
one who did all the really hard work.}\\
\affaddr{The Th{\o}rv{\"a}ld Group}\\
\affaddr{1 Th{\o}rv{\"a}ld Circle}\\
\affaddr{Hekla, Iceland}\\
\email{[email protected]}
\and % use '\and' if you need 'another row' of author names
% 4th. author
\alignauthor Lawrence P. Leipuner\\
\affaddr{Brookhaven Laboratories}\\
\affaddr{Brookhaven National Lab}\\
\affaddr{P.O. Box 5000}\\
\email{[email protected]}
% 5th. author
\alignauthor Sean Fogarty\\
\affaddr{NASA Ames Research Center}\\
\affaddr{Moffett Field}\\
\affaddr{California 94035}\\
\email{[email protected]}
% 6th. author
\alignauthor Charles Palmer\\
\affaddr{Palmer Research Laboratories}\\
\affaddr{8600 Datapoint Drive}\\
\affaddr{San Antonio, Texas 78229}\\
\email{[email protected]}
}
\additionalauthors{Additional authors: John Smith (The Th{\o}rv{\"a}ld Group,
email: {\texttt{[email protected]}}) and Julius P.~Kumquat
(The Kumquat Consortium, email: {\texttt{[email protected]}}).}
\date{30 July 1999}
\maketitle
\end{document}