TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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

Possible Duplicate:
Why does an environment's label have to appear after the caption?

In the following example, there are no reference numbers to the figures when I compile using pdflatex:



%debugging package for figuring out why my figure references keep disappearing




Bob is reference \ref{bob}. Jane is reference \ref{jane}.


Any idea why?

share|improve this question

marked as duplicate by Jake, lockstep, Count Zero, Werner, egreg May 30 '12 at 6:34

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Welcome to TeX.SE. – Peter Grill May 29 '12 at 20:57
@Jake Indeed. And I'm eagerly awaiting the day stackexchange starts handing out reputation and/or badges for finding duplicates. – lockstep May 29 '12 at 21:06

You need to put \label after \caption.

share|improve this answer
I see now. Thank you very much. – Nathan Alday May 29 '12 at 21:21
@NathanAlday You may also thank me by accepting may answer. ;-) – lockstep May 29 '12 at 21:22

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