Be careful about the order of caption and label when you use them together for an entity like figure in LaTeX. The caption should come before the label, otherwise you will get a wrong number generated for all corresponding \refs. This is very confusing, why the compiler is implemented to be sensitive to such order?!
-
« Home
-
Categories
-
Archives
3 Comments
Thank you! I just ran into this and it was driving me nuts!
Thanks, Mahmood. I spent quite some time trying to figure out why until I bumped into this.
John
Thank you, saved me some time scratching my head
. Hooray for blogs like this.