
我在嘗試使用愛思唯爾文章類正確地對我的隸屬關係進行編號時遇到了令人惱火的問題。
\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}