hyperref包
在导言区引入hyperref包
\usepackage[colorlinks,
linkcolor=blue, %%修改此处为你想要的颜色,不要加引号
anchorcolor=blue, %%修改此处为你想要的颜色
citecolor=blue, %%修改此处为你想要的颜色,例如修改blue为red
]{hyperref}
或者
\usepackage{hyperref}
\hypersetup{
colorlinks=true,
citecolor=blue,
linkcolor=red,
urlcolor=green}