2

I am writing a paper and want to format the authors section for 5 authors. Using the basic IEEE template (see code below), I managed to have this (see Picture). Can someone know how this can be more organized: 3 authors on 1st line, 2 authors on the second line?

\author{\IEEEauthorblockN{Firstname Lastname}
\IEEEauthorblockA{\textit{University of X}\\
\textit{Laboratory} \\
City, Country \\
email}
\and
\IEEEauthorblockN{Firstname Lastname}
\IEEEauthorblockA{\textit{University of X}\\
\textit{Laboratory} \\
City, Country \\
email}
\and
\IEEEauthorblockN{Firstname Lastname}
\IEEEauthorblockA{\textit{University of X}\\
\textit{laboratory} \\
City, Country \\
email}
\and
\IEEEauthorblockN{Firstname Lastname}
\IEEEauthorblockA{\textit{University of X}\\
\textit{Laboratory} \\
City, Country \\
email}
\and
\IEEEauthorblockN{Firstname Lastname}
\IEEEauthorblockA{\textit{University of X}\\
\textit{laboratory} \\
City, Country \\
email}
}

enter image description here

3

You can use \newlineauthors (defined below) to insert a \par at the point it's called, together with \hfills on either side to stretch out the authors on the rows involved:

enter image description here

\documentclass[conference]{IEEEtran} 

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


\title{A title}
\author{\IEEEauthorblockN{Firstname Lastname}
\IEEEauthorblockA{\textit{University of X}\\
\textit{Laboratory} \\
City, Country \\
email}
\and
\IEEEauthorblockN{Secondname Lastname}
\IEEEauthorblockA{\textit{University of X}\\
\textit{Laboratory} \\
City, Country \\
email}
\and
\IEEEauthorblockN{Thirdname Lastname}
\IEEEauthorblockA{\textit{University of X}\\
\textit{laboratory} \\
City, Country \\
email}
\newlineauthors
\IEEEauthorblockN{Fourthname Lastname}
\IEEEauthorblockA{\textit{University of X}\\
\textit{Laboratory} \\
City, Country \\
email}
\and
\IEEEauthorblockN{Fifthname Lastname}
\IEEEauthorblockA{\textit{University of X}\\
\textit{laboratory} \\
City, Country \\
email}
}

\begin{document}

\maketitle

\end{document}
  • Thank you it's working fine :) – lakhassane Feb 11 at 21:47

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.