Download Untitled

Transcript
Enhancing Your Documents Further
Time for action – customizing the hyperlink appearance
We shall pass options to hyperref affecting the way hyperlinks are emphasized:
1.
Open the file preamble.tex again. This time, specify the options for hyperref:
\usepackage[colorlinks=true,linkcolor=red]{hyperref}
2.
Save this document, go to the main document equations.tex, and compile it
twice. The table of contents is changed:
What just happened?
Instead of frames, we now got a red color for emphasized links. The color can be seen
in a printed document.
hyperref offers ways to set up the options. The first one we used is:
\usepackage[key=value list]{hyperref}
Alternatively, we could just write \usepackage{hyperref} and set the options
afterwards:
\hypersetup{key=value list}
[ 246 ]