扩展 IEEEtrans 文档类中标题部分的边距

扩展 IEEEtrans 文档类中标题部分的边距

如何仅扩展 IEEEtrans(会议)文档类的标题部分的边距?我需要在“仅标题”的每一行中容纳更多单词。

\documentclass[conference]{IEEEtran}

\begin{document}

\title{I want to make a title that its length is adjustable and that can span into maximum two lines instead of three now} 

\maketitle

\end{document} 

答案1

您可以将标题放在\parbox所需长度的 内(例如\textwidth+2cm),它将进入 内\makebox(让完整的 TeX 认为宽度未超过\linewidth);类似于:

\documentclass[conference]{IEEEtran}

\begin{document}

\author{The author}
\title{\makebox[\linewidth]{\parbox{\dimexpr\textwidth+2cm\relax}{\centering I want to make a title that its length is adjustable and that can span into maximum two lines instead of three now}}}

\maketitle

\end{document} 

在此处输入图片描述

然而,我建议您不要这样做;标题的边距太窄,看起来很丑。

相关内容