This works, but I had to change the first color (black) to red. Otherwise the number is in black. Also, the last color (red), I changed to black, other wise all other objects that were \ref changed to red.
So this works, and change the "whatever is \figcolref{xxxx} to red and then back to black until the next \figcolref{xxxx}.
Code: Select all
\newcommand{\figcolref}[1]%
{\hypersetup{linkcolor=red}%
\ref{#1}%
\hypersetup{linkcolor=black}}
For my final thesis I will change the red to gray (it does not matter really), but with this rule I can change the color in seconds to whatever I want! Excellent!!!
I will also setup a rule for my tables, sections, and chapter \ref's
Is it maybe possible to include all of these in one rule?
I use \ref{fig:xxxxx} or \ref{table:xxxxx} or \ref{chap:xxxxx} or \ref{sec:xxxxx}