Generalnumberwithin

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
Adam_LUFC
Posts: 19
Joined: Mon Jan 24, 2011 6:22 pm

numberwithin

Post by Adam_LUFC »

Hi

I need to label every equation i do in number order.

And have stumbled across this numberwithin.

How do i use this and what do i need to put in my preamble?

Code: Select all

\usepackage{amsmath,parskip,graphicx,rotating,afterpage}
Thanks Adam

Recommended reading 2024:

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

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Stefan Kottwitz
Site Admin
Posts: 10319
Joined: Mon Mar 10, 2008 9:44 pm

numberwithin

Post by Stefan Kottwitz »

With \numberwithin you could tie equation numbering to section or even subsection numbering and alike. Normally equation are numbered per chapter.

You can call it for example this way, in the preamble:

Code: Select all

\numberwithin{equation}{section}
Stefan
LaTeX.org admin
Post Reply