2010/10/11 Uwe Stöhr <[email protected]>:
<--SNIP-->
>
> The command
> \thefigure
> that you can insert in TeX code outputs the current number of figures. So
> using this command at the end of your document should do what you want.
> If you have a document with the numbering scheme
> chapter.figure
> you have to use tis command at the end of every chapter and sum the result:
> \addtocounter{\myCounter}{figure}
> (where \mycounter is a counter you need to define in the document preamble)
>
> For tables, the command is
> \thetable
>
> regards Uwe
>

So, there is no way to count the number of objects at the beginning of
the document, right?
I need that for my PhD thesis. I have to state the number of figures
and tables in the introduction.
Found this script:
http://folk.uio.no/einarro/Comp/texwordcount.html
I was able to count number of figures in a test latex document but not
sure if it work with LyX document (do not have LyX at the moment).
Anyway, thank you, Uwe. Appreciate your effort!
-- 
Hiisi.
Registered Linux User #487982. Be counted at: http://counter.li.org/
--
Spandex is a privilege, not a right.

Reply via email to