General ⇒ Equation numbering scheme problem
Equation numbering scheme problem
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!
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p