如何按顺序正确标明作者单位?

如何按顺序正确标明作者单位?

如果我根据贡献列出了三位作者,中间一位作者的隶属关系与其他作者不同。因此,标题大致应如下所示: 在此处输入图片描述

我该怎么做?我正在使用 IEEEtran 类。

这是我尝试过的代码:

\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}

我遇到错误,说 crcr 放错了位置。

答案1

您的括号不平衡:

\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}

通过格式化你的代码,它会变得更容易被看到。

在此处输入图片描述

相关内容