I'm writing a moderately long text using LaTeX, and it's great to be able to organize chapters, sections, appendices, and everything else almost automatically. One thing has been bothering me though. This text has a lot of equations (multi or single-lined), and I can't find a convenient way to handle the labels.
Since the text is still being written, I can't tell whether I'll need to reference a given equation later on, so I'm just labeling all of then. What I'd like though, is for latex to only number the equations that are cited somewhere in the text. I'm using the align environment (since most equations are multi-line). After researching a bit, I've found the following options:
align*environment instead, and manually
\tagthe equations. This is not very convenient, since the tagging is done manually as well as the citing. Also, I'm constantly going back and adding equations, which would force me to change every tag that comes after the added equation in that section (not as bad as I thought at first).
\notageach line, and then remove the
\notagonce I realize I want to cite that equation. This is the best I could find, but it is still cumbersome. Emacs automatically adds the labels, but not the notags.
Is this really it? LaTeX always manages to surprise me in how there's a package for everything. Isn't there one that hides the labels unless it's been called by an