Cross Referencing in TOC

I’ve been searching for a while, how to make my table of contents have a clickable links in my pdf output. Today I found out, it is very easy, and only need hyperref package. This package only works for pdf output (I tried to postscript output, and when it converted to pdf, the table of content didn’t have links)

Here is how to make it, add in Latex Preamble:

\usepackage {hyperref}

or

\usepackage[linktocpage]{hyperref}

and when I called table of content or other list of figure or list of tables, it’s automatically will have hyperref.

And because I want the hyperref in table of contents has blue color, then I could add some option like this:

\usepackage[colorlinks=true,
linkcolor=blue]{hyperref}

There are many other option with package hyperref, you could try and make some your experiment. Klik here to get more information about this package.


Posted

in

by

Tags:

Comments

Leave a Reply