Possible Duplicate:
How do I number equations only if they are referred to in the text?
While I am writing a document, I like to use align
rather than align*
and label
them for all equations that I write in case I need to refer to them later in the document. I end up not referencing some of the equations I have label
ed. I was wondering if there is an easy way to strip equation numbers for equations that are not called using eqref
anywhere in the document?
I can imagine this can be a difficult task where LaTeX will have to keep a list of label
s and a list of eqref
s and then unless the document is changed between compilations, "un-number" the ones in its list of label
s that are not found in the list of eqref
s.
Well, worth asking anyway! :)