Hello,
I'm currently writing my master's thesis with Lyx and I have a question :
Is it possible to number the equations without the number of the section before ? For now, when I insert a new numbered formula, it is numbered like that : (4.13), meaning the 13th equation in the fourth section. But I want it in the following format : (13), meaning the 13th equation of all the document.
For info, I use Lyx 1.6.6.1 and the AMSmath package.
Thanks in advance for your help
LyX ⇒ Equation numbering
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
Equation numbering
Hi bruce_c,
welcome to the board!
To achieve this, you could redefine \thesection, like
If you further wish to number the equations continuously you could use the chngcntr package. Otherwise the number would be reset when a new section is started:
chngcntr makes the reedefinition above automatically.
Insert these lines in the document preamble.
Stefan
welcome to the board!
To achieve this, you could redefine \thesection, like
Code: Select all
\renewcommand\thesection{\arabic{section}}
Code: Select all
\usepackage{chngcntr}
\counterwithout{equation}{section}
Insert these lines in the document preamble.
Stefan
LaTeX.org admin
Re: Equation numbering
Hi Stefan_K,
Thanks for your answer, it's working like a charm
Thanks for your answer, it's working like a charm
