Here is a sample code from my document,

\subfloat[$a=4$]{\includegraphics[width=2in]{Chapters/BMethods/figures/Airy_Rings_3.pdf}} \\
\caption{Airy rings with central Airy disk, constant $\lambda$=1 and with varying aperture factor.}
\label{Airy rings with central Airy disk}

How can I apply hyperref to the subfloat figures , so that if I want to refer to just one of the sub figures in specific.

  • 1
    Please add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with \documentclass{...} and ending with \end{document}. – jub0bs May 18 '13 at 17:25
  • 2
    Just add a label after the subfloat – cmhughes May 18 '13 at 17:28

Add \label after the caption.


You can the reference the figure using \ref{fig:whatever} in your text.

Note: I usually prefix my labels using something fig:, eqn: or similar so I can better see what I'm referencing when I read the .tex source.

  • Thanks. Excellent idea there ... use fig: or eqn: so that it will is more organized. Liked that ! thanks. – Rene Duchamp May 19 '13 at 15:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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