TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a LaTeX document that includes many equations. I would like to create a separate "quick reference" sheet that includes many of these equations. Instead of copy-and-pasting the equations from the first document to the second document, I would like to be able to reference the equations by name and have them be automatically included (so that if I later change an equation in the first document, that change will be automatically reflected in the second document after I recompile it). What's a good way to do this?

share|improve this question
up vote 15 down vote accepted

use package extract:

share|improve this answer
can you selectively extract some equations from the file using that method? Otherwise, one can always define a dummy \newenvironment{extracteqn}{\equation}{\endequation} and put extracteqn instead of equation in the options. – Bruno Le Floch Mar 11 '11 at 8:45
@Bruno: for example: figure-nrs={-2,4-}, extract-cmd=chapter, chapter-nrs={3-5,7} – Herbert Mar 11 '11 at 11:59
I most definitely have to look into this package. – Bruno Le Floch Mar 11 '11 at 13:19

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.