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'm writing up my textbook notes in LateX. As I am writing paragraphs, I am inserting equations while I'm writing.

I want to somehow display all of my numbered equations at the end of my document in the same order that they were numbered. Is there a way to easily do this in LaTex with an unknown command that I might not know???

share|improve this question
Welcome to TeX.SE. It might be helpful to know how you are producing your document as the solutions might depend on that. – Peter Grill Oct 1 '12 at 21:10
You may want to look at tex.stackexchange.com/questions/67550/… – David Carlisle Oct 2 '12 at 0:15

This solution borrows very heavily from David Carlisle's solution to Write content of box to a file

The idea is to renew the equation environment so that it not only outputs to the page, but its contents are also written to a vbox that is outputted at the end of the document.

You can extend the idea easily to other environments (such as align, for example).


% to store the contents of a SINGLE equation

% to store the contents of ALL of the equations

% we're going to renew the equation environment
% using the original definition as a base

% renew the equation environment
  % output the box to the page
  % save the equations for later



\section*{Copied equations}

share|improve this answer

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.