Hi all,
I am using \autoref and \hyperref commands, and now I have some trouble with them:
When I liked to create a link to a Figure, the text of the \autoref will be always "Figure 1", but I would like to get "1 Figure". I tried many things with renewcommand and so on, but there was no result.
So I would like to get a link with text "1 Figure", but for now I can only get link for "1" and then goes the non-link "Figure" word, which is not so good for me.
I would appreciate any help..
Peter Major
Hungary
Document Classes ⇒ How to modify \autoref?
How to modify \autoref?
Using varioref package ...

In order to modify also the caption of the figures:

Code: Select all
\usepackage{varioref}
\labelformat{figure}{#1~Figure}

In order to modify also the caption of the figures:
Code: Select all
\usepackage{caption}
\DeclareCaptionLabelFormat{number-fig}{#2~#1}
\captionsetup{labelformat=number-fig}

How to modify \autoref?
Thanks! It works like a charm, it doesn't work with \autoref, but it works perfectly with \ref or \aref.corderin wrote:Using varioref package ...Code: Select all
\usepackage{varioref} \labelformat{figure}{#1~Figure}
In order to modify also the caption of the figures:Code: Select all
\usepackage{caption} \DeclareCaptionLabelFormat{number-fig}{#2~#1} \captionsetup{labelformat=number-fig}
Thanks again.
Best regards,
Peter Major