GeneralAdd captions to numbered equations

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
Goldfinger820
Posts: 7
Joined: Fri Jul 20, 2007 12:09 am

Add captions to numbered equations

Post by Goldfinger820 »

sorry -me again!

anyone know any smart and relatively pain-free ways to give numbered equations their own caption?


cheers!

GF :)

Recommended reading 2024:

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

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

iperten
Posts: 40
Joined: Thu Jul 12, 2007 1:53 pm

Add captions to numbered equations

Post by iperten »

Probably this is the easiest and fastest way:

Code: Select all

\begin{equation}
\label{eq:LABEL}
.....
\end{equation}
and your body text you refer to it through \ref{eq:LABEL}.

Cheers.
Goldfinger820
Posts: 7
Joined: Fri Jul 20, 2007 12:09 am

Re: Equation captions

Post by Goldfinger820 »

this won't give the equation it's own in-text caption though will it?


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

Add captions to numbered equations

Post by gmedina »

One possibility: define a new command, something like this

Code: Select all

\newcommand{\capequation}[1]{\begin{center} #1 \end{center}}
And use it in the following way:

Code: Select all

\begin{equation}
...your equation...
\end{equation}
\capequation{your desired caption}
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Post Reply