我非常恼火地尝试使用 Elsevier 文章类别对我的所属机构进行正确的编号。
\documentclass{elsarticle}
\usepackage{graphicx}
\usepackage{amssymb}
\usepackage{lineno}
\usepackage{multirow}
\usepackage{booktabs}
\journal{Prestigious Journal}
\title{Baldrick has a Clever Title}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Add Authors
\author[add1]{Author1 \corref{cor1}}
\ead{[email protected]}
\author[add1]{Author2}
\ead{[email protected]}
\author[add2]{Author3}
\ead{[email protected]}
\cortext[cor1]{Corresponding author}
\address[add1]{School of Turnip Engineering}
\address[add2]{School of Sausage Engineering}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\maketitle
\begin{linenumbers}
\begin{frontmatter}
\begin{abstract}
%% Text of abstract
Turnips go well with sausages.\\
\end{abstract}
\begin{keyword}
Turnips \sep More Turnips
\end{keyword}
\end{frontmatter}
\end{linenumbers}
\end{document}
上标是错误的(但至少顺序正确)。我尝试了很多种变化。有什么想法吗?
答案1
如果不使用\begin{frontmatter}...\end{frontmatter}
\documentclass{elsarticle}
\usepackage{graphicx}
\usepackage{amssymb}
\usepackage{lineno}
\usepackage{multirow}
\usepackage{booktabs}
\journal{Prestigious Journal}
\title{Baldrick has a Clever Title}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Add Authors
\author[add1]{Author1 \corref{cor1}}
\ead{[email protected]}
\author[add1]{Author2}
\ead{[email protected]}
\author[add2]{Author3}
\ead{[email protected]}
\cortext[cor1]{Corresponding author}
\address[add1]{School of Turnip Engineering}
\address[add2]{School of Sausage Engineering}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\maketitle
\begin{linenumbers}
%\begin{frontmatter}
\begin{abstract}
%% Text of abstract
Turnips go well with sausages.\\
\end{abstract}
\begin{keyword}
Turnips \sep More Turnips
\end{keyword}
%\end{frontmatter}
\end{linenumbers}
\end{document}