4

The second line is not properly aligned when I use the script below:

\documentclass[conference]{IEEEtran}
\begin{document}
\title{TITLE}
\author{
\IEEEauthorblockN{author 1}
\IEEEauthorblockA{\textit{Dept. of Computer Engineering} \\
\textit{A University}\\
City, Country \\
e-mail}
\and
\IEEEauthorblockN{author 2}
\IEEEauthorblockA{\textit{Dept. of Electrical and Electronics Engineering} \\
\textit{A University}\\
City, Country \\
e-mail}
\and
\IEEEauthorblockN{author 3}
\IEEEauthorblockA{\textit{Dept. of Computer Engineering} \\
\textit{A University}\\
City, Country \\
e-mail}
\and
\IEEEauthorblockN{author 4}
\IEEEauthorblockA{\textit{Dept. of Computer Engineering} \\
\textit{A University}\\
City, Country \\
e-mail}
\and
\IEEEauthorblockN{author 5}
\IEEEauthorblockA{\textit{Dept. of Computer Engineering} \\
\textit{A University}\\
City, Country \\
e-mail}
\and
}
\maketitle
\end{document}

The alignment looks like this:

enter image description here

How can I fix this?

2
  • 1
    please make your code snippet compilable (as complete small document)
    – Zarko
    Commented Jun 1, 2018 at 10:26
  • @Zarko I modified the code snippet as you wished. Commented Jun 1, 2018 at 11:24

1 Answer 1

7

in documentation for the package IEEEtran you can find on the page 5:

If there are more than three authors and/or the text is too wide to fit across the page, use an alternate long format:

\author{
\IEEEauthorblockN{Michael Shell\IEEEauthorrefmark{1},
Homer Simpson\IEEEauthorrefmark{2},
James Kirk\IEEEauthorrefmark{3},
Montgomery Scott\IEEEauthorrefmark{3} and
Eldon Tyrell\IEEEauthorrefmark{4}}
\IEEEauthorblockA{\IEEEauthorrefmark{1}School of Electrical and Computer Engineering\\
Georgia Institute of Technology, Atlanta, Georgia 30 332--0250\\
Email: [email protected]}
\IEEEauthorblockA{\IEEEauthorrefmark{2}Twentieth Century Fox, Springfield, USA\\
Email: [email protected]}
\IEEEauthorblockA{\IEEEauthorrefmark{3}Starfleet Aca
demy, San Francisco, California 96678-2391\\
Telephone: (800) 555--1212, Fax: (888) 555--1212}
\IEEEauthorblockA{\IEEEauthorrefmark{4}Tyrell Inc.,
123 Replicant Street, Los Angeles, California 90210
--4321}}

which gives:

enter image description here

this means that you should rewrite your author field on the way as is shown above.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .