General ⇒ Figure numbering- An interesting feature available??
Figure numbering- An interesting feature available??
We know that figures are numbered as they are placed in latex Code and then with the command \ref{} we get the correct number in the document text. However here is something I want to accomplish. I want the figures to be numbered as they are referred in the text. That is which ever figure I mention first in text must be numbered figure 1 and placed as first figure, irrespective of where I put the environment for that figure in the code. How this is different is that by doing this I dont have to be worried whether the figure I talk about first in the text is placed as first figure in the latex code. I hope I am clear. Any suggestions might be helpful.
Thanks
Sankar
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 numbering- An interesting feature available??
Best regards
Thorsten¹
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Figure numbering- An interesting feature available??
Once again sorry for that.
Regards
Sankar