GeneralEquation numbering scheme problem

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
nderby
Posts: 3
Joined: Thu Jan 31, 2008 2:57 am

Equation numbering scheme problem

Post by nderby »

Hello LaTeX Community!

I am trying to set up an equation numbering system such that on page N, the equations are numbered Na, Nb, Nc, etc. Using the perpage package, this can be done simply:

\MakePerPage{equation}
\renewcommand{\theequation}{\thepage\alph{equation}}

But here's the problem: If page N only has one equation, I want that equation to be numbered N (rather than Na). Any idea how I can do this?

One idea I have is to name it N by default - but if there is more than one equation on the same page, go back and renumber that first equation as Na and then continue as above. This could be done by doing something with the AUX file. But I know very little about that. Any ideas?

Thanks so much!

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

Post Reply