1

If I have three authors listed according to their contributions and one author listed in the middle has different affiliation than others. Hence the title should look roughly like this: enter image description here

How can I do this? I am using IEEEtran class.

Here is the code I tried:

\documentclass[conference,compsoc]{IEEEtran}
\begin{document}
\title{Title of Paper}

% author names and affiliations
% use a multiple column layout for up to three different
% affiliations
\author{\IEEEauthorblockN{Sk. Adnan Hassan\IEEEauthorrefmark{1},
Dipto Das\IEEEauthorrefmark{2}, Anindya Iqbal\IEEEauthorrefmark{3}, Amiangshu Bosu\IEEEauthorrefmark{4}, Rifat Shahriyar\IEEEauthorrefmark{5}}
\IEEEauthorblockA{Department of Computer Science and Engineering\\
Bangladesh University of Engineering and Technology\\
Bangladesh\\
Email: \IEEEauthorrefmark{1}[email protected],
\IEEEauthorrefmark{2}[email protected],
\IEEEauthorrefmark{3}[email protected],
\IEEEauthorrefmark{5}[email protected]},
}
\IEEEauthorblockA{Department of Computer Science\\
Southern Illinois University\\
Carbondale, IL, USA\\
Email:\IEEEauthorrefmark{4}[email protected],
}

\maketitle

\input all.tex
\end{document}

I ran into error saying misplaced crcr.

5
  • 2
    Welcome to TeX.SX! Please help us help you and add a minimal working example (MWE) that illustrates your problem. Reproducing the problem and finding out what the issue is will be much easier when we see compilable code, starting with \documentclass{...} and ending with \end{document}. Commented Oct 5, 2017 at 19:19
  • Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format.
    – CarLaTeX
    Commented Oct 5, 2017 at 19:19
  • Hi @samcarter, I have added my code snippet to the question.
    – kello
    Commented Oct 5, 2017 at 20:12
  • @CarLaTeX thank you. The guide was helpful.
    – kello
    Commented Oct 5, 2017 at 20:12
  • 1
    You're welcome, thank you for having read it!
    – CarLaTeX
    Commented Oct 5, 2017 at 20:19

1 Answer 1

0

You had unbalanced parenthesis:

\documentclass[conference,compsoc]{IEEEtran}
\begin{document}
    \title{Title of Paper}
    \author{%
        \IEEEauthorblockN{
            Sk. Adnan Hassan%
            \IEEEauthorrefmark{1},
            Dipto Das%
            \IEEEauthorrefmark{2},
            Anindya Iqbal%
            \IEEEauthorrefmark{3},
            Amiangshu Bosu%
            \IEEEauthorrefmark{4},
            Rifat Shahriyar%
            \IEEEauthorrefmark{5}
        }
        \IEEEauthorblockA{
            \IEEEauthorrefmark{1}
            \IEEEauthorrefmark{2}
            \IEEEauthorrefmark{3}
            \IEEEauthorrefmark{4}
            Department of Computer Science and Engineering\\
            Bangladesh University of Engineering and Technology\\
            Bangladesh
            \\
            Email:%
            \IEEEauthorrefmark{1}[email protected],
            \IEEEauthorrefmark{2}[email protected],
            \IEEEauthorrefmark{3}[email protected],
            \IEEEauthorrefmark{4}[email protected]}

        \IEEEauthorblockA{%
            \IEEEauthorrefmark{4}
            Department of Computer Science\\
            Southern Illinois University\\
            Carbondale, IL, USA\\
            Email:%
            \IEEEauthorrefmark{4}[email protected]
        }
    }


    \maketitle

    All
    %\input all.tex

\end{document}

By formatting your code, it becomes easier to see it.

enter image description here

0

You must log in to answer this question.

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