I am using the cleveref package, but I don't understand the documentation for the \crefdefaultlabelformat command. The command sets how much of the reference, e.g. "fig. 2" to be put into a hyperlink. The default behaviour is to include only the number in the link, as if you were using \ref. I'd like the behaviour to mimic \autoref in the hyperref package. I have tried the following, with the stated results:
Code: Select all
\crefdefaultlabelformat{#2#1#3} % the same as the default; obviously made no difference;
\crefdefaultlabelformat{#2\thefigure #1#3} % the doc. gives \theequation as an example, so I tried this, but still no difference;
\crefdefaultlabelformat{#2\thelabel #1#3} % thought I'd go generic, but still no difference;
\crefdefaultlabelformat{#2\label #1#3} % still no difference;
\crefdefaultlabelformat{#2\thefigure #3} % thought it might be that I didn't need the '#1'. No difference;
As ever, your time is appreciated,
pandammonium