# linking inside PDF generated by pdflatex

I have seen some PDF documents where figure numbers, citations, table numbers are highlighted and clickable. The click on any of these colored text allows one to jump to the resulting location.

What package I can use to for these features?

• The `hyperref` Package. – Juri Robl Jun 25 '14 at 13:15

Yes, you get a linked PDF using the package hyperref. If you use texlive (and maybe as well with MikTeX), you get the documentation typing `texdoc hyperref` on the command line. The maintainer is Heiko Oberdiek, who is really active here.
There is one important thing to know and that is the reason for writing this answer (except that there is one question less without an answer): Make sure that `\usepackage{hyperref}` is the last package to be loaded. hyperref redefines a lot of things, so your code will probably wind up if you load hyperref somewhere else!
• Another important thing to know is that the using cross-referencing sometimes sets the bounding box (the part of the document your link refers to) wrong. For images you can use the `hypcap` package in conjunction with `\capstart` (inside your figure environment) to link to the top of the picture, instead of the caption. For text, use `\Hy@raisedlink` (look it up, you will have to define your own macro for this). Happy referencing! `:-)` – 1010011010 Jun 25 '14 at 16:40
• Note that `hyperref` should be the last package loaded most of the time: Which packages should be loaded after hyperref instead of before?. – Peter Grill Jun 25 '14 at 17:02