IEEEtran Latex模板五作者排版问题

本文档介绍如何在使用IEEEtran类模板时,优雅地排列5位作者的姓名,避免简单删除作者导致的排版不美观。通过添加自定义命令linebreakand,可以在第3和第4作者之间插入换行,实现美观的作者列表。具体步骤包括修改源码,插入新命令,以及在作者之间使用新命令。示例代码和最终效果展示确保了排版的整洁和专业。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

1. 问题

针对于IEEEtran类模板,其初始模板给定了6个示例作者,如下:
在这里插入图片描述

那 如 果 是 5 个 作 者 的 话 , 怎 么 排 版 呢 ? \textcolor{red}{那如果是5个作者的话,怎么排版呢?} 5
如果是简单的删掉一个作者,则会显示为以下排版,很不美观:
在这里插入图片描述

2. 解决办法

step 1. 在\begin{document} 的上面,\def\BibTeX{…}之间加入以下代码

\makeatletter
\newcommand{\linebreakand}{%
  \end{@IEEEauthorhalign}
  \hfill\mbox{}\par
  \mbox{}\hfill\begin{@IEEEauthorhalign}
}
\makeatother

step 2. 在第3和第4作者之间,去掉\and,并新增\linebreakand


%\and
\linebreakand 

step 3. 重新编译


实际效果

在这里插入图片描述

完整源码

\usepackage{cite}
\usepackage{amsmath,amssymb,amsfonts}
\usepackage{algorithmic}
\usepackage{graphicx}
\usepackage{textcomp}
\usepackage{xcolor}
\def\BibTeX{{\rm B\kern-.05em{\sc i\kern-.025em b}\kern-.08em
    T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}}

\makeatletter
\newcommand{\linebreakand}{%
  \end{@IEEEauthorhalign}
  \hfill\mbox{}\par
  \mbox{}\hfill\begin{@IEEEauthorhalign}
}
\makeatother

\begin{document}

\title{Conference Paper Title*\\
{\footnotesize \textsuperscript{*}Note: Sub-titles are not captured in Xplore and
should not be used}
\thanks{Identify applicable funding agency here. If none, delete this.}
}

\author{\IEEEauthorblockN{1\textsuperscript{st} Given Name Surname}
\IEEEauthorblockA{\textit{dept. name of organization (of Aff.)} \\
\textit{name of organization (of Aff.)}\\
City, Country \\
email address or ORCID}
\and
\IEEEauthorblockN{2\textsuperscript{nd} Given Name Surname}
\IEEEauthorblockA{\textit{dept. name of organization (of Aff.)} \\
\textit{name of organization (of Aff.)}\\
City, Country \\
email address or ORCID}
\and
\IEEEauthorblockN{3\textsuperscript{rd} Given Name Surname}
\IEEEauthorblockA{\textit{dept. name of organization (of Aff.)} \\
\textit{name of organization (of Aff.)}\\
City, Country \\
email address or ORCID}
%\and
\linebreakand 
\IEEEauthorblockN{4\textsuperscript{th} Given Name Surname}
\IEEEauthorblockA{\textit{dept. name of organization (of Aff.)} \\
\textit{name of organization (of Aff.)}\\
City, Country \\
email address or ORCID}
\and
\IEEEauthorblockN{5\textsuperscript{th} Given Name Surname}
\IEEEauthorblockA{\textit{dept. name of organization (of Aff.)} \\
\textit{name of organization (of Aff.)}\\
City, Country \\
email address or ORCID}

}

\maketitle

\begin{abstract}
This document is a model and instructions for \LaTeX.
This and the IEEEtran.cls file define the components of your paper [title, text, heads, etc.]. *CRITICAL: Do Not Use Symbols, Special Characters, Footnotes, 
or Math in Paper Title or Abstract.
\end{abstract}

是不是非常美观!这个问题我之前也琢磨了很久,特此分享出来供需要的朋友参考。如果帮到你了,帮忙点个赞呗,谢谢!

### 如何处理两栏排版论文作者单位过长的问题 在学术论文写作过程中,尤其是在采用两栏布局时,如果作者单位名称过长可能会导致排版混乱或视觉效果不佳。以下是针对此问题的解决方案: #### 使用LaTeX解决两栏排版作者单位过长的问题LaTeX环境中,可以利用`\and`命令分隔多位作者及其所属单位,并通过手动调整换行位置来优化显示效果[^2]。例如: ```latex \author{Author One\\Institute of Very Long Name, Department of Something Specialized \and Author Two\\Another Institute with a Really Long Title} ``` 当遇到单个机构名过长的情况时,可以通过强制断行(使用 `\\` 或 `\newline`)或者缩小字体大小的方式来改善排版效果[^3]。具体实现如下所示: ```latex \documentclass[twocolumn]{article} \begin{document} \title{Title of the Paper} \author{ John Doe \\ {\small Institute of Extremely Lengthy and Detailed Description \\ of Scientific Research Organization} \and Jane Smith \\ {\small Another Institution That Has A Ridiculously Elongated Full Name}} \maketitle \end{document} ``` 此外,在某些特殊情况下还可以考虑将冗长的信息移至脚注部分展示[^4]。 #### 利用Microsoft Word应对相同挑战 对于那些偏好于Word而非LaTeX来说,则需依赖软件内置功能完成类似任务。一种常见做法是应用表格结构隐藏边框线条从而模拟多行地址排列;另一种则是借助域代码控制特定段落属性达到理想状态[^1]。 总之,无论是选用专业的文档准备系统如LaTeX还是广泛使用的办公套件成员之一MS Word,都有相应策略妥善处置因信息量庞大而引发的各种棘手状况。
评论 25
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值