如何在 IEEE 会议格式中对齐四个作者姓名

如何在 IEEE 会议格式中对齐四个作者姓名

所以我是 LaTeX 新手,我想知道是否有可能在 IEEE 会议格式中对齐 4 个作者姓名。我读过有关命令 \linebreakand 的信息,但我认为它不起作用。我希望姓名按以下顺序从左到右出现在每一行中

  1. 第一作者 - Charu Jain
  2. 第二作者 Surya Sashank
  3. 第三作者——Venkateswaran
  4. 第四位作者——marrkandan

我尝试了以下代码,但显示的名称未对齐。如果您能指导我,并告诉我在问题中还需要提及什么,以便您能更好地回答。在此处输入图片描述

\documentclass[conference]{IEEEtran}
\IEEEoverridecommandlockouts
% The preceding line is only needed to identify funding in the first footnote. If that is unneeded, please comment it out.
\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{Low-cost BLE based Indoor Localization using RSSI Fingerprinting and Machine Learning}

\author{\IEEEauthorblockN{Charu Jain}
\IEEEauthorblockA{\textit{Electronics and Communication Department} \\
\textit{Sri Sivasubramanya Nadar College of Engineering}\\
Kalavakkam, India\\
[email protected]}
%
\and
%
\IEEEauthorblockN{Gundepudi V Surya Sashank}
\IEEEauthorblockA{\textit{Mechanical Department} \\
\textit{Sri Sivasubramanya Nadar College of Engineering}\\
Kalavakkam, India \\
[email protected]}
%
\linebreakand
\and
\IEEEauthorblockN
{Venkateswaran. N}
\IEEEauthorblockA{\textit{Electronics and Communication Department} \\
\textit{Sri Sivasubramanya Nadar College of Engineering}\\
Kalavakkam, India \\
[email protected]}
%
\and
\IEEEauthorblockN{S. Markkandan}
\IEEEauthorblockA{\textit{Electronics and Communication Department} \\
\textit{Anand Institute of Higher Technology}\\
Kazhipattur, India \\
[email protected]}
}

答案1

%modify your code to: 
 \makeatletter

\newcommand{\newlineauthors}{%
\end{@IEEEauthorhalign}\hfill\mbox{}\par
\mbox{}\begin{@IEEEauthorhalign}}  

\makeatother

答案2

您只需删除以下\and内容\linebreakand

在此处输入图片描述

\documentclass[conference]{IEEEtran}
\IEEEoverridecommandlockouts
% The preceding line is only needed to identify funding in the first footnote. If that is unneeded, please comment it out.
\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{Low-cost BLE based Indoor Localization using RSSI Fingerprinting and Machine Learning}

\author{\IEEEauthorblockN{Charu Jain}
\IEEEauthorblockA{\textit{Electronics and Communication Department} \\
\textit{Sri Sivasubramanya Nadar College of Engineering}\\
Kalavakkam, India\\
[email protected]}
%
\and
%
\IEEEauthorblockN{Gundepudi V Surya Sashank}
\IEEEauthorblockA{\textit{Mechanical Department} \\
\textit{Sri Sivasubramanya Nadar College of Engineering}\\
Kalavakkam, India \\
[email protected]}
%
\linebreakand
%\and <------------------------ REMOVED
\IEEEauthorblockN
{Venkateswaran. N}
\IEEEauthorblockA{\textit{Electronics and Communication Department} \\
\textit{Sri Sivasubramanya Nadar College of Engineering}\\
Kalavakkam, India \\
[email protected]}
%
\and
\IEEEauthorblockN{S. Markkandan}
\IEEEauthorblockA{\textit{Electronics and Communication Department} \\
\textit{Anand Institute of Higher Technology}\\
Kazhipattur, India \\
[email protected]}
}

\maketitle

\end{document}

相关内容