如何减少作者阻止后的空间?(ieeetran)

如何减少作者阻止后的空间?(ieeetran)

我在用着\documentclass[10pt, conference, compsocconf, letterpaper]{IEEEtran}

我怎样才能减少作者区块(及其所属关系)和文本之间的空间?

现在我有:

Paper Title

  authors
affiliation




col1   col2
....   ....

但我想要的是:

Paper Title

  authors
affiliation

col1   col2
....   ....

答案1

在 ”如何使用 IEEEtran LaTeX 类Michael Shell 解释道:

\IEEEaftertitletext{}IEEEtran 提供了可用于插入文本或改变标题区域和正文之间间距的命令: \IEEEaftertitletext{\vspace{-1\baselineskip}}

据我所知,一些期刊使用这种修改来补偿标题页底部的出版物 ID 标记。它提供了一种在调用后保持文本可用空间量一致的方法\IEEEpubid{}。也就是说,在“常见用户错误”部分下,Shell 列出了:

更改默认间距、节标题样式、边距或列样式

因此,对于用户来说,最好保留原有的间距,尤其是对于期刊投稿,然后让编辑控制标题后的间距。对于会议投稿,这些因素略有不同,因为\IEEEpubid{}在会议模式下禁用了。


在会议模式下,\IEEEaftertitletext被锁定。若要启用此功能,请\IEEEoverridecommandlockouts提前指定。

答案2

内部命令\@maketitle在关闭其使用的组之前添加一些垂直间距:

\addvspace{0.5\baselineskip}\egroup

您可以修补该命令以将其替换为其他间距;在下面的示例中,我使用包etoolbox来替换默认值0.5\baselineskip-1\baselineskip使用任何其他适合您需要的值):

\documentclass[10pt, conference, compsocconf, letterpaper]{IEEEtran}
\usepackage{etoolbox}

\author{The Author\thanks{M. Shell is with the Georgia Institute of Te
chnology.}}
\title{The Title}

\makeatletter
\patchcmd{\@maketitle}
  {\addvspace{0.5\baselineskip}\egroup}
  {\addvspace{-1\baselineskip}\egroup}
  {}
  {}
\makeatother

\begin{document}
\maketitle

Some test text test text test text test text test text test text test text test text test text test text test text test text test text test text test text test text test text

\end{document}

在此处输入图片描述

答案3

我想到了一个简单的方法:在\author{}块内,就在结束花括号之前,我添加了\\[-3.0ex],这有效地消除了一些垂直空间。显然,人们可以-3用他们想要的任何负值替换它。

\title {Paper Title} 
\author {
    \IEEEauthorblockN {
        Only Author
    }
    \IEEEauthorblockA {
        University of X, Xland
    }
    \\[-3.0ex]
}

相关内容