作者命令中没有换行符?它会超出页面范围!

作者命令中没有换行符?它会超出页面范围!

这个答案@AndrewSwann 演示了如何使用该\author{}命令。我正在与一群作者撰写一篇文章,当我使用此命令时,它会离开页面:

在此处输入图片描述

我该如何解决这个问题?对更多作者使用相同的代码:

\documentclass[conference]{IEEEtran}

\begin{document}
\title{An Important Conference Contribution}

\author{\IEEEauthorblockN{Author One\IEEEauthorrefmark{1},
Author Two\IEEEauthorrefmark{2}, Author Three\IEEEauthorrefmark{1},
Author Four\IEEEauthorrefmark{2}, Author Five\IEEEauthorrefmark{1},
Author Six\IEEEauthorrefmark{2}, Author Seven\IEEEauthorrefmark{1},
Author Eight\IEEEauthorrefmark{2}, Author Nine\IEEEauthorrefmark{3} and
Author Ten\IEEEauthorrefmark{4}}
\IEEEauthorblockA{Department of Whatever,
Whichever University\\
Wherever\\
Email: \IEEEauthorrefmark{1}[email protected],
\IEEEauthorrefmark{2}[email protected],
\IEEEauthorrefmark{3}[email protected],
\IEEEauthorrefmark{4}[email protected]}}
\maketitle

\end{document}

答案1

在适当的位置添加\\:第五位作者之后添加一位就足够了。

\documentclass[conference]{IEEEtran}

\begin{document}
\title{An Important Conference Contribution}

\author{\IEEEauthorblockN{Author One\IEEEauthorrefmark{1},
Author Two\IEEEauthorrefmark{2}, Author Three\IEEEauthorrefmark{1},
Author Four\IEEEauthorrefmark{2}, Author Five\IEEEauthorrefmark{1},\\
Author Six\IEEEauthorrefmark{2}, Author Seven\IEEEauthorrefmark{1},
Author Eight\IEEEauthorrefmark{2}, Author Nine\IEEEauthorrefmark{3} and
Author Ten\IEEEauthorrefmark{4}}
\IEEEauthorblockA{Department of Whatever,
Whichever University\\
Wherever\\
Email: \IEEEauthorrefmark{1}[email protected],
\IEEEauthorrefmark{2}[email protected],
\IEEEauthorrefmark{3}[email protected],
\IEEEauthorrefmark{4}[email protected]}}
\maketitle

\end{document}

在此处输入图片描述

答案2

使用\parboxof\linewidth和 use%来隐藏虚假空格。

\documentclass[conference]{IEEEtran}

\begin{document}
\title{An Important Conference Contribution}

\author{%
  \IEEEauthorblockN{%
    \parbox{\linewidth}{\centering
      Author One\IEEEauthorrefmark{1},
      Author Two\IEEEauthorrefmark{2},
      Author Three\IEEEauthorrefmark{1},
      Author Four\IEEEauthorrefmark{2},
      Author Five\IEEEauthorrefmark{1},
      Author Six\IEEEauthorrefmark{2},
      Author Seven\IEEEauthorrefmark{1},
      Author Eight\IEEEauthorrefmark{2},
      Author Nine\IEEEauthorrefmark{3} and
      Author Ten\IEEEauthorrefmark{4}%
    }%
  }%
  \IEEEauthorblockA{%
    Department of Whatever, Whichever University\\
    Wherever\\
    Email: \IEEEauthorrefmark{1}[email protected],
    \IEEEauthorrefmark{2}[email protected],
    \IEEEauthorrefmark{3}[email protected],
    \IEEEauthorrefmark{4}[email protected]%
  }%
}
\maketitle

\end{document}

在此处输入图片描述

相关内容