LyXPicture numbering

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
Gumbare
Posts: 11
Joined: Wed Dec 08, 2010 5:24 pm

Picture numbering

Post by Gumbare »

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?
Last edited by Gumbare on Wed May 11, 2011 8:01 am, edited 1 time in total.

Recommended reading 2024:

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

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

Post by Stefan Kottwitz »

Hi Gumbare,

you could use the chngcntr package to make the numbering independent:

Code: Select all

\usepackage{chngcntr}
\counterwithout{figure}{chapter}
Stefan
LaTeX.org admin
Gumbare
Posts: 11
Joined: Wed Dec 08, 2010 5:24 pm

Re: Picture numbering

Post by Gumbare »

Thanks Stefan,
It works 8-)
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
User avatar
Stefan Kottwitz
Site Admin
Posts: 10324
Joined: Mon Mar 10, 2008 9:44 pm

Picture numbering

Post by Stefan Kottwitz »

Gumbare wrote:but it is all about - WYSIWYM - isn't it?
Yes, somehow it is...
Btw. LyX 2.0 has been released now.
Gumbare wrote:It works 8-)
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.

Thanks!

Stefan
LaTeX.org admin
Post Reply