都要在引言区引用相应的package
\documentclass[times,twocolumn,final,UTF8]{elsarticle}
%%
\usepackage{graphicx}
%\usepackage{cite}
% Following three lines are needed for this document.
% If you are not loading colors or url, then these are
% not required.
\usepackage{url}
\usepackage{xcolor}
\definecolor{newcolor}{rgb}{.8,.349,.1}
\usepackage{hyperref}
\usepackage[switch,pagewise]{lineno} %Required by command \linenumbers below
\usepackage{booktabs} %需要加载宏包{booktabs}
%\usepackage{cite}
\journal{Computers \& Graphics}
\begin{document}
1 参考文献
在正文中插入
\cite{要插入的文献}
或者
\citep{要插入的文献}
插入则完成交叉引用
2 图和表
插入图和表到正文,然后添加标签
\ caption{\label{Fig.1/图和表的名子} ====对图和表的解释说明}
交叉引用
\ref{标签}
Fig.\ref{fig:1a}
and Fig.~\ref{fig:1b}
注意这里~符号表示有一个空格
如果只加一个空格则通过~或空格就好,多个则只能通过多个~完成。