# Selective equation numbering in LaTeX [duplicate]

Possible Duplicate:
How do I number equations only if they are referred to in the text?

I would like to number only the equations I actually refer in a manuscript. I know plenty of ways to do this manually, but as the manuscript progresses and I change which equations I refer to later I am likely to forget to change the display style of those equations.

I would really like a way to make latex automatically recognize that an equations is being referred and typeset all equations not referred unnumbered, and typeset all equations that are referred using \ref{} with numbers in the right margin.

-

## migrated from stackoverflow.comAug 16 '11 at 10:40

This question came from our site for professional and enthusiast programmers.