TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Right now I embed images like that:

    \caption[Description in LOF, taken from~\cite{source}]{Caption for Image}

Using \listoffigures and hyperref this provides a nice list with every entry linked to the image position. As a requirement the source of the image has to be mentioned in the listoffigures it would be convenient to have the images or their caption linked to the matching entry so see the source without scrolling down the whole pdf.

So how do I link images to their entry in list of figures?

share|improve this question
up vote 5 down vote accepted

If I understood your question correctly, you could use the \hyperlink, \hypertarget mechanism provided by hyperref; a little example:

    author = "Michel Goossens and Frank Mittlebach and Alexander Samarin",
    title = "The Latex Companion A",
    year = "1993",
    publisher = "Addison-Wesley",
    address = "Reading, Massachusetts"




    \LCaption[Description in LOF, taken from~\cite{goossens93}]{Caption for Image}



EDIT: I updated my answer with an improved version of \LCaption suggested by egreg. This version works like the original \caption command with respect to a missing optional argument: calling \LCaption{Caption} will write "Caption" also in the list of figures; \LCaption[Short]{Long caption} will write "Short" in the list of figures.

share|improve this answer
This works fine for me, as there are only a few figures to add the links manually. For existing documents with some dozens of figures it might be a job for a script or a macro. – mbx Jul 28 '11 at 0:48
@mbx: of course, you can easily define a command: something like \newcommand\LCaption[3][]{\caption[\protect\hypertarget{#3}{#1}]{\hyperlink{#3}‌​{#2}}} and then use \LCaption[Description in LOF, taken from~\cite{goossens93}]{Caption for Image}{sample} intead of \caption inside the figure environment. – Gonzalo Medina Jul 28 '11 at 0:56
@mbx: see my updated answer. – Gonzalo Medina Jul 28 '11 at 12:49
Nice piece of work, both of you. Works perfectly. Now it's really easy to add this feature even to existing papers. – mbx Jul 28 '11 at 19:08
Just for completeness: Just found a minor (as nearly irrelevant) drawback when using TeXnicCenter2. The object view now cannot parse the caption and uses the label name instead. Maybe other GUI editors are affected as well. Not an issue to me :-) – mbx Jul 28 '11 at 19:41

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.