Hi
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?
LyX ⇒ Picture numbering
Picture numbering
Last edited by Gumbare on Wed May 11, 2011 8:01 am, edited 1 time in total.
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Stefan Kottwitz
- Site Admin
- Posts: 10348
- Joined: Mon Mar 10, 2008 9:44 pm
Picture numbering
Hi Gumbare,
you could use the chngcntr package to make the numbering independent:
Stefan
you could use the chngcntr package to make the numbering independent:
Code: Select all
\usepackage{chngcntr}
\counterwithout{figure}{chapter}
LaTeX.org admin
Re: Picture numbering
Thanks Stefan,
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
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: 10348
- 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
LaTeX.org admin