此命令使所有可点击内容都变成红色。如何将其改为绿色?
\usepackage[pdftex,breaklinks,colorlinks,citecolor=blue,urlcolor=blue,pdftitle={Lecture 9},pdfauthor={Ryan Higginbottom},pdfsubject={LaTeX}]{hyperref}
答案1
\documentclass{article}
\usepackage[colorlinks,
allcolors=green, %<--- green
citecolor=blue,
urlcolor=blue,
pdftitle={Lecture 9},
pdfauthor={Ryan Higginbottom},pdfsubject={LaTeX}]{hyperref}
\begin{document}
\section{abc}\label{test}
\ref{test}
\end{document}