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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
Stefan Kottwitz
Site Admin
Posts: 10360
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