Math & ScienceOnly number referenced equations.

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
smcateer
Posts: 1
Joined: Mon Aug 17, 2009 7:17 am

Only number referenced equations.

Post by smcateer »

(First post!!!)

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.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Only number referenced equations.

Post by gmedina »

Hi,

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)).
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Post Reply