1. 通讯作者标星问题
使用elsarticle模板,会出现通讯作者标星后,后面全部作者也跟着都标了星。
解决方案:
在\begin{document}
之前插入以下代码。
注意正确的缩进,否则会报错!
\makeatletter
\def\@author#1{\g@addto@macro\elsauthors{\normalsize%
\def\baselinestretch{1}%
\upshape\authorsep#1\unskip\textsuperscript{%
\ifx\@fnmark\@empty\else\unskip\sep\@fnmark\let\sep=,\fi
\ifx\@corref\@empty\else\unskip\sep\@corref\let\sep=,\fi
}%
\def\authorsep{\unskip,\space}%
\global\let\@fnmark\@empty
\global\let\@corref\@empty %% Added
\global\let\sep\@empty}%
\@eadauthor={#1}
}
\makeatother
参考:
2. \cite
引用报错问题
解决方案:去掉\usepackage{cite}
这个包的使用即可,也不用增加其他包,仍然正常使用\cite
不会报错。