Math & Science ⇒ equation numbering
-
- Posts: 97
- Joined: Fri Sep 04, 2009 4:56 pm
equation numbering
hello friends,
i am trying to use "equation" environment.. for my equations...
it is working fine, but i am little uncomfortable with equation numbers..
since i am doing 5th chapter, it numbers the equation as
(5.1), (5.2)... so on...
I wanted it be (1),(2)....so on... please help..
regards,
muthu
i am trying to use "equation" environment.. for my equations...
it is working fine, but i am little uncomfortable with equation numbers..
since i am doing 5th chapter, it numbers the equation as
(5.1), (5.2)... so on...
I wanted it be (1),(2)....so on... please help..
regards,
muthu
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 Muthu,
you could use the chngcntr package:
Stefan
you could use the chngcntr package:
Code: Select all
\usepackage{chngcntr}
\counterwithout{equation}{chapter}
LaTeX.org admin
-
- Posts: 97
- Joined: Fri Sep 04, 2009 4:56 pm
Re: equation numbering
Hello Stefan,
Thanks for your suggestion..
When I tried to use the above code, it says that the chngcntr.sty is not found..
So, i have downloaded from ctan website and copied to my latex directory. But dosent recognize it.
It again says that the "File not found"
I have place the "style" file in
MikeTex -> tex -> latex -> chngcntr -> chngcntr.sty
Regards,
Muthu
Thanks for your suggestion..
When I tried to use the above code, it says that the chngcntr.sty is not found..
So, i have downloaded from ctan website and copied to my latex directory. But dosent recognize it.
It again says that the "File not found"
I have place the "style" file in
MikeTex -> tex -> latex -> chngcntr -> chngcntr.sty
Regards,
Muthu
- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
Re: equation numbering
Hi Muthu,
update the package database: click Start/MiKTeX/Options (or Settings) and click the button "Refresh FNDB". Afterwards MiKTeX should be able to find the downloaded package.
Stefan
update the package database: click Start/MiKTeX/Options (or Settings) and click the button "Refresh FNDB". Afterwards MiKTeX should be able to find the downloaded package.
Stefan
LaTeX.org admin
-
- Posts: 97
- Joined: Fri Sep 04, 2009 4:56 pm
Re: equation numbering
Hello stefan,
Thanks, it is working fine after refreshing FNDB..
Again, i have a doubt about equation numbers..
How can i restart the equation numbering from a particular section, by discontinuing the first.
It's like
(1)
(2)
(3)
.
.
.
again (1)
.
.
Please help me in this regard.
With regards,
Muthu
Thanks, it is working fine after refreshing FNDB..
Again, i have a doubt about equation numbers..
How can i restart the equation numbering from a particular section, by discontinuing the first.
It's like
(1)
(2)
(3)
.
.
.
again (1)
.
.
Please help me in this regard.
With regards,
Muthu
- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
equation numbering
If that should be done each section use
If you want to do it once or just manually use \setcounter
Stefan
Code: Select all
\counterwithin*{equation}{section})
Code: Select all
\setcounter{equation}{0}
LaTeX.org admin
-
- Posts: 97
- Joined: Fri Sep 04, 2009 4:56 pm
Re: equation numbering
Thanks stefan..
My problem is solved now..
Regards,
Muthu
My problem is solved now..
Regards,
Muthu