LyXCreate Automated Numbered Text

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
ld_pvl
Posts: 4
Joined: Mon Nov 15, 2010 5:05 pm

Create Automated Numbered Text

Post by ld_pvl »

Hello,

I was wondering how we could create automated numbered text in LyX. For example, in my document, I would have different theories and lemmas, and I would like to have a command or something like that that would automatically count and label the theories and lemmas in the form of Theory #Chapter.#Counter such as so:

Chapter 1: Complex Numbers
...

Theory 1.1: xxx
Theory 1.2: yyy

Lemma 1.1: zzz

Chapter 2: High Order Differential Equations
...

Theory 2.1: aaa
Lemma 2.1: bbb

Many thanks for your help.

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

Post Reply