Graphics, Figures & Tables ⇒ Help with refer to a figure
Help with refer to a figure
Now, under each figure, the labels are correct, i.e., figure 1 and figure 2. However, when I refer them in text, the first refer is on (it shows 'figure 1'). However, the second refer shows figure 1.1 instead of figure 2.
Anyone can tell me how to fix this? I hope the 2nd refer shows 'figure 2'.
Thanks for your help.
Derek
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Help with refer to a figure
without some code it is hard to provide effective help; however, that kind of odd behaviour results from using the \label command before the corresponding \caption command. Therefore, make sure that you place the \label command after the \caption command when using the figure and table environments.
If my suggestion does not solve your problem, please post a minimal working example that allows us to reproduce your problem.
Re: Help with refer to a figure
I just registered in this forum and this my first post, got answer so fast....Great!
Again, thanks a lot!