我在我的LaTeX文档中使用natbib和hyperref包,并希望将超引用引用周围的框的颜色从基线绿色更改为更柔和的颜色(紫色或海军蓝)。但是,在使用建议的代码执行此操作时,我无法更改引用链接的颜色。MWE:
代码语言:javascript复制\usepackage[usenames,dvipsnames]{color}
\usepackage[round]{natbib}
\usepackage[hyperfootnotes=false]{hyperref}
\hypersetup{
colorlinks=false,
citecolor=Violet,
linkcolor=Red,
urlcolor=Blue}
\begin{document}
\bibliographystyle{apsr}
\bibliography{exp_final}
\end{document}然而,当我编译时(我编译了多次以确保)我的pdf文件看起来就像我在\hypersetup中排除了格式一样(仍然是绿色的)。我也想把脚注引用加在方框里。