Hello all,
I would like to reuse an already defined and labeled equation further away in my text.
Is there such an option which doesn't include retyping it from scratch?
Thx, B
Math & Science ⇒ Equation reuse
NEW: TikZ book now 40% off at Amazon.com for a short time.

Equation reuse
Hi,
you could "box" the equation to reuse it:
you could "box" the equation to reuse it:
Code: Select all
\documentclass[12pt,a4paper]{article}
\usepackage{amsmath}
\begin{document}
%defining the box
\newsavebox\myeq
%filling the box
\savebox\myeq{\vbox{\begin{align*}
a &= b\\
&= c\\
&= d\\
&= e\\
&= f
\end{align*}}}
%using the box
\usebox\myeq
%using the box
\usebox\myeq
%using the box
\usebox\myeq
\end{document}
1,1,2,3,5,8,13,21,34,55,89,144,233,...