# IEEE affiliation blocks

I'm using the IEEE format to write a paper. I have 4 authors from two institutions so I need blocks of affiliations. This is how I want it to look like:

Author 1*, Author 2#, Author 3#, Author 4*
Affiliation 1, {1,4}@abc.com
Affiliation 2, {2,3}@def.com


Note that the 1st and the 4th are from one institution, and the 2nd and the 3rd from another one.

Everything is centered, of course.

How to do this?

-

I found the solution. This is how it's done:

\documentclass[conference]{IEEEtran}
\author{
\IEEEauthorblockN{Author1\IEEEauthorrefmark{1}, Author2\IEEEauthorrefmark{2}, Author3\IEEEauthorrefmark{2}, Author4\IEEEauthorrefmark{1}}
\IEEEauthorblockA{\IEEEauthorrefmark{1}Institution1
\\\{1, 4\}@abc.com}
\IEEEauthorblockA{\IEEEauthorrefmark{2}Institution2
\\\{2, 3\}@def.com}
}
\title{A title}
\begin{document}
\maketitle
\end{document}


-