How do you hyperlink items without manually encoding the text of the hyperlink?
Suppose I want to number some items
\begin{enumerate}
\item blah
\item blah blah
\item blah blah blah
and I want each number to be a hyperlink. Say Item 1, Item 2, Item 3.
I tried
\begin{enumerate}[\hyperlink{Item 1}{Item 1}]
like I would normally do when not hyperlinking; it didn't work.
EDIT: What I really want to do is to label some questions with Q.1, Q.2, Q.3, …
and have these hyperlinked to answers A.1, A.2, A.3, …, respectively. Is there a way for the items to be hyperlinked automatically and still be itemized automatically? I.e. the closer I got to the is to get every item hyperlinked but every item has the same number, e.g. Q.1, Q.1, …
Best Answer
You wrote in a later comment: "For instance I want to make a list of questions which are linked to some answers". This can be achieved with the usual
\label
-\ref
device and the optional argument to\item
.In the example below the answers are in the default
enumerate
environment. However, questions use the references to the answers instead of the default labels. Hyperref makes them clickable (try this!)[For extra credit: find all the errors in the answers]