LyX ⇒ Picture numbering
Picture numbering
In my LyX document I have several chapters of book.
I need to insert several dozens of pictures.
But LyX keeps changing numbering in each chapter separately using long style of numbering - for example Picture 1.1.1, Picture 2.1.1
I have tried to disable chaptering in Preamble but it still is 1.2; 1.3; 2.1; etc.
I'd like to get Picture 1, Picture 2, Picture 3, etc. in whole document
How to achieve that?
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
- Stefan Kottwitz
- Site Admin
- Posts: 10324
- Joined: Mon Mar 10, 2008 9:44 pm
Picture numbering
you could use the chngcntr package to make the numbering independent:
Code: Select all
\usepackage{chngcntr}
\counterwithout{figure}{chapter}
Re: Picture numbering
It works

Still I cannot get used to the idea that LyX shows something different in editor and gives different output, but it is all about - WYSIWYM - isn't it?
thanks
greetings
- Stefan Kottwitz
- Site Admin
- Posts: 10324
- Joined: Mon Mar 10, 2008 9:44 pm
Picture numbering
Yes, somehow it is...Gumbare wrote:but it is all about - WYSIWYM - isn't it?
Btw. LyX 2.0 has been released now.
Nice to read! It would be great if you mark the question as solved then. Just edit your first post in this thread (the question) and choose the checkmark symbol as topic icon.Gumbare wrote:It works
Thanks!
Stefan