请告诉我必须使用哪些必要的软件包才能获得蓝色交叉引用图 1 和方程 (1)。我想将图 1 的颜色从黑色改为蓝色。提前谢谢您。
\documentclass[5p]{elsarticle}
\usepackage{lineno}
\modulolinenumbers[5]
\journal{Journal of \LaTeX\ Templates}
\usepackage{times}
\begin{document}
%\linenumbers
\section{Introduction}
Piezoelectric Fig.1 and Eq.(1) effect has been employed to a very great extent in many applications since its discovery by the Curie brothers.
\end{document}
答案1
您只需要添加 hyperref 包。还需要的安装命令是:
\usepackage{hyperref}
\hypersetup{
colorlinks = true,
citecolor = blue
}