authblk 隶属关系在同一行

authblk 隶属关系在同一行

当使用 authblk 和作者/所属列表时,如下所示:

\author[1]{Auth1}
\author[1]{Auth2}
\author[1]{Auth3}
\author[1]{Auth4}
\author[2]{Auth5}
\author[1]{Auth6}
\author[2]{Auth7}

\affil[1]{Affil1}
\affil[2]{Affil2}

各个从属关系显示在各自的行上:

1 Affil1
2 Affil2

我怎样才能让它们处于同一条线上?

1 Affil1   2 Affil2

答案1

\usepackage{authblk}
\makeatletter
\renewcommand\AB@affilsepx{ --- \protect\Affilfont}
\makeatother

这样,隶属关系将由一个带空格的破折号分隔。选择适合您的。

相关内容