Geoffrey Lloyd wrote:

I now have it working. However it only links the number such that figure 1
> has a link for the 1 not the whole 'figure 1'. Is there any way to link the
> whole thing?

Add the following line to the preamble:

\AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1}}}}

You can also change the name from "figure" to e.g. "Fig." with the following commands:

\renewcommand{\figureautorefname}{Fig.\negthinspace}
\renewcommand{\tableautorefname}{Tab.\negthinspace}

And please have a look at the hyperref manual. All those commands are described there.

regards Uwe

Reply via email to