# Bookmarks and Hyperref

First, include the hyperref package with any options:

```\usepackage[pdftex,bookmarksopen=true,colorlinks=true,plainpages=false,pdfpagelabels]
{hyperref}
```

Options include:

• pdftex – tell hyperref that we’re using pdflatex.
• bookmarksopen=true – the list of bookmarks should be shown automatically when opening the document in a PDF viewer.

Note: The hyperref package must be the last package included in your documents preamble or it may not work correctly. It must come after all other packages, even if those packages appear unrelated!

In addition to this, the finer details of the hyperref package are configured using the hypersetup command:

```\hypersetup{
pdfauthor = {Chris Cantwell},
pdftitle = {PhD Thesis},
pdfsubject = {Mathematics},
pdfkeywords = {Transient Growth, Convective instability, CFD},
pdfcreator = {LaTeX with hyperref package},
pdfproducer = {pdflatex},
citecolor = Blue,
}
```

Note the colours specified here must be first defined and require the color package:

```\usepackage{color}
\definecolor{DarkRed}{rgb}{0.25,0,0}
\definecolor{Blue}{rgb}{0,0,0.75}
\definecolor{Black}{rgb}{0,0,0}
```

The three numbers specify red, green and blue (RGB) and have the range [0,1].