I would like to automatically generate a list of equations present in the document, which includes the equation itself. Here is a MWE:
\documentclass{article}
\def\caption#1{}
\begin{document}
First Euler observed that
\begin{equation}
1 + e^{i \Pi} = 0.
\caption{Euler's equation tying together the five fundamental constants of mathematics}
\end{equation}
Then, Gauss discovered the normal distribution:
\begin{equation}
P(x) = \frac{1}{{\sigma \sqrt {2\pi } }}e^{{{ - \left( {x - \mu } \right)^2 } \mathord{\left/ {\vphantom {{ - \left( {x - \mu } \right)^2 } {2\sigma ^2 }}} \right. \kern-\nulldelimiterspace} {2\sigma ^2 }}}
\caption{Normal distribution}
\end{equation}
Finally, Einstein proclaimed:
\begin{equation}
E = m C^2
\caption{Equivalence of mass and energy}
\end{equation}
\end{document}
Here is an example of how the output might look, but any other format may be fine; it would of course be nice to have hyperref links, page numbers, etc, but these are not essential.
\section*{List of equations}
\begin{enumerate}
\item Euler's equation tying together the five fundamental constants of mathematics
\[
1 + e^{i \Pi} = 0.
\]
\item Normal distribution:
\[
P(x) = \frac{1}{{\sigma \sqrt {2\pi } }}e^{{{ - \left( {x - \mu } \right)^2 } \mathord{\left/ {\vphantom {{ - \left( {x - \mu } \right)^2 } {2\sigma ^2 }}} \right. \kern-\nulldelimiterspace} {2\sigma ^2 }}}
\]
\item Equivalence of mass and energy
\[
E = m C^2
\]
\end{enumerate}




environpackage to wrap equations in aNewEnvironthat writes itsBODYboth to the current document and an external file. At the end of your document,inputsome macros to change the behavior of the savedBODYand input the external file. You could then produce your cheatsheet as a separate document if you wished. – Ethan Bolker Jan 24 '15 at 17:36