如何在 ewsn-proc 文档类中的作者之间插入换行符?

如何在 ewsn-proc 文档类中的作者之间插入换行符?

对于出版物,我试图遵循模板模板中添加作者的方式如下:

\documentclass[10pt,emptycopyrightspace]{ewsn-proc}


\usepackage{graphicx}
\usepackage{balance}
\usepackage{comment}

\numberofauthors{2}

\author{
%
% The command \alignauthor (no curly braces needed) should
% precede each author name, affiliation/snail-mail address and
% e-mail address. Additionally, tag each line of
% affiliation/address with \affaddr, and tag the
%% e-mail address with \email.
\alignauthor Alice Security \\
        \affaddr{Department of Computer Science}\\
        \affaddr{University of Southern California}\\
       \email{[email protected]}
\alignauthor Bob Privacy \\
    \affaddr{Networked Embedded Systems Group}\\
    \affaddr{Swedish Institute of Computer Science}\\
    \email{[email protected]}
}

\title{Full Paper}


\begin{document}

\maketitle

\begin{abstract}
\end{abstract}



\balance
\end{document}

我的问题是,有 5 位作者,我应该在第 3 位和第 4 位作者之间添加换行符,以便它们适合页面...关于如何做到这一点,有什么想法吗?

提前致谢。

答案1

的定义\alignauthor是错误的,因为它不允许作者之间有任何间隔。

\documentclass[10pt,emptycopyrightspace]{ewsn-proc}

\usepackage{graphicx}
\usepackage{balance}
\usepackage{comment}

\numberofauthors{5}

% Fix the bad definition of \alignauthor
\renewcommand\alignauthor{%
  \end{tabular}%
  \hspace{0pt}% <----- added
  \begin{tabular}[t]{p{\auwidth}}\centering
}


\author{
\alignauthor Alice Security \\
        \affaddr{Department of Computer Science}\\
        \affaddr{University of Southern California}\\
       \email{[email protected]}
\alignauthor Bob Privacy \\
    \affaddr{Networked Embedded Systems Group}\\
    \affaddr{Swedish Institute of Computer Science}\\
    \email{[email protected]}
\alignauthor Alice Security \\
        \affaddr{Department of Computer Science}\\
        \affaddr{University of Southern California}\\
       \email{[email protected]}
\alignauthor Bob Privacy \\
    \affaddr{Networked Embedded Systems Group}\\
    \affaddr{Swedish Institute of Computer Science}\\
    \email{[email protected]}
\alignauthor Bob Privacy \\
    \affaddr{Networked Embedded Systems Group}\\
    \affaddr{Swedish Institute of Computer Science}\\
    \email{[email protected]}
}

\title{Full Paper for ACM EWSN Proceedings}


\begin{document}

\maketitle

%... The same as in the example file follows ...

在此处输入图片描述

相关内容