Packages Packages Introduction
New Commands
Page 1 Page 2
Fancyhdr
Quotchap
Page 1 Page 2
Todonotes
Geometry
Page 1 Page 2
Hyperref Babel Xcolor
Beamer
Page 1 Page 2 Page 3
"Top 5" useful packages "Top 3" styling packages
The package xcolor

The package babel

HYPERREF
The package hyperref provides LaTeX the ability to create hyperlinks within the document. It works with pdflatex and also with standard "latex" used with dvips and ghostscript or dvipdfm to build a PDF file. If you load it, you will have the possibility to include interactive external links and all your internal references will be turned to hyperlinks. The compiler pdflatex makes it possible to create PDF files directly from the LaTeX source, and PDF supports more features than DVI. In particular PDF supports hyperlinks. Moreover, PDF can contain other information about a document such as the title, the author, etc., which can be edited using this same package.
How to implement hyperref
At the beginning of your LaTeX document, where the other packages are listed, simply add the following code:
CODE
\usepackage{hyperref}

autoref
The following code
CODE
\autoref{}

creates a reference with additional text corresponding to the target's type, all of which will be a hyperlink. For example, the command
CODE
\autoref{sec:intro}

would create a hyperlink to the
CODE
\label{sec:intro}

wherever it is.
nameref
The hyperref package also automatically includes the nameref package, and a similarly named command. It is similar to
CODE
\autoref{}

but inserts a text corresponding to the section name. For example, this output "In section MyFirstSection we defined..." is generated by the following code:
CODE
\section{MyFirstSection} \label{sec:marker} \section{MySecondSection} In section~\nameref{sec:marker} we defined...

Outside documents
The package provides some useful commands for inserting links pointing outside the document.
CODE
\hyperref[label_name]{''link text''}

This will have the same effect as
CODE
\ref{label_name}

but will make the text link text a full link, instead.