General ⇒ Figure referencing not matching figure numbering
Figure referencing not matching figure numbering
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.
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Figure referencing not matching figure numbering
Best regards
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Figure referencing not matching figure numbering

I was using label before caption

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