GeneralFigure referencing not matching figure numbering

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
Monkey D
Posts: 22
Joined: Thu Nov 01, 2007 6:12 pm

Figure referencing not matching figure numbering

Post by Monkey D »

First of all I must say I tried searching the board for "+figure +numbering" but the system said it ignored "figure"... so not much luck...

My problem is that, I have figures numbered like "Figure 2.5" (which is what I want), but when I refer to them the text shows "In Figure 2.3.1 the ..."

What is wrong with \ref ???
I would like everything (figs, tables, equations, etc) to be numbered as <chapter>.<counter> (which is what it seems to happen now) and be referenced in the same way.

Thank you.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

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

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Figure referencing not matching figure numbering

Post by localghost »

Your information is almost useless. In such cases you should get used to providing a minimal working example (MWE) which reproduces the undesired behaviour. Otherwise is nearly impossible to help.


Best regards
Thorsten
Monkey D
Posts: 22
Joined: Thu Nov 01, 2007 6:12 pm

Re: Figure referencing not matching figure numbering

Post by Monkey D »

THANK YOU sommerfee! :mrgreen:
I was using label before caption :(


BTW, is there any advantage in having label inside caption? (instead of being after)
Post Reply