Math & Science ⇒ Only number referenced equations.
Only number referenced equations.
Hi, my query is as to whether it is possible to have LaTeX automatically number only those equations which are referenced by \eqref{...} somewhere within the document.
It's a bit clunky to have to add \nonumber or \begin{align*} manually as required.
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
Only number referenced equations.
the mathtools package allows you to achieve this. Please refer to the package documentation (subsection 3.3.2 "Showing only referenced tags" (pp 9 and 10)).