多位作者的隶属关系

多位作者的隶属关系

我正在使用 Texmaker 5.0.2 撰写论文。我有多个作者的隶属关系,我尝试按以下方式解决它:

\documentclass{cai}
\usepackage{graphicx}
\usepackage{blindtext}
\usepackage{enumitem}
\usepackage{arabtex}
\usepackage{utf8}
\usepackage{float}
\usepackage[export]{adjustbox}
\usepackage{wrapfig}
 \page{1}

\begin{document}
\label{firstpage}

\title{title}

\author
       {$^1$ first\surname {Author}, $^2$ Second\surname {Author}, $^3$ Third \surname {Author}, $^4$ Fourth\surname {Author}}

\affiliation{$^1^$, $^3$ First University\\
$^2$ Second University\\
$^4$ Third University\\
}

\email{$^1$ [email protected], $^2$ [email protected],\\\hspace{13mm}  $^3$ [email protected],
       $^4$ [email protected]}


\noreceived{} \nocommunicated{}

\maketitle

但是当我构建它时出现以下错误

"! Missing $ inserted.<inserted text>$ \maketitle"

可能是由于特殊字符 ($,^)。有什么帮助吗?我非常感谢你提供的任何帮助。

答案1

您正在使用的这个cai文档类定义了\author\affiliation\email宏,以便您可以为每个作者调用一次,如下所示:

\documentclass{cai}
\usepackage{graphicx}
\usepackage{blindtext}
\usepackage{enumitem}
\usepackage{arabtex}
\usepackage{utf8}
\usepackage{float}
\usepackage[export]{adjustbox}
\usepackage{wrapfig}
 \page{1}

\begin{document}
\label{firstpage}

\title{title}

\author{First \surname{Author}}
\affiliation{First University}
\email{[email protected]}

\author{Second \surname{Author}}
\affiliation{Second University}
\email{[email protected]}

\author{Third \surname{Author}}
\affiliation{First University}
\email{[email protected]}

\author{Fourth \surname{Author}}
\affiliation{Third University}
\email{[email protected]}

\noreceived{} \nocommunicated{}

\maketitle

\end{document}

相关内容