Math Help Forum

Math Help Forum Feed Site Feed

Go Back   Math Help Forum > Math Help Forum Lounge > LaTex Help
Reply
 
Thread Tools Display Modes
  #1  
Old 09-04-2008, 08:02 AM
kalagota's Avatar
Super Member
 
Join Date: Oct 2007
Location: Taguig City, Philippines
Posts: 931
Country:
Thanks: 63
Thanked 250 Times in 240 Posts
kalagota is a jewel in the roughkalagota is a jewel in the roughkalagota is a jewel in the rough
Send a message via Yahoo to kalagota
Exclamation calling an equation..

suppose i have this command..

\begin{equation} blahbah \end{equation}

If blah, then heh..

\begin{equation} blahbahblah \end{equation}

the two equations will be labeled then.. my problem is, how would i call the equation if i am going to use it somewhere..

for example, "using equation ?, we get..."

i can do it manually, but suppose i have lots of equations? generally, one wouldn't and not advisable to count for the equation label,,

got my problem?

thanks for your help guys!!
__________________

Venimus, vidimus, comemus tui crustuli
(We came, we saw, we ate your cookies)


"if it is for the one I love, I'd still fight the law." -Ichigo

e^{i\pi} + 1 = 0
Reply With Quote
Advertisement
 
  #2  
Old 09-04-2008, 08:35 AM
flyingsquirrel's Avatar
Super Member
 
Join Date: Apr 2008
Posts: 634
Country:
Thanks: 141
Thanked 316 Times in 276 Posts
flyingsquirrel is just really niceflyingsquirrel is just really niceflyingsquirrel is just really niceflyingsquirrel is just really nice
Default

Hello, kalagota

Use \label{} and \ref{} :

Code:
\begin{equation}
   x=y 
   \label{name-of-this-equation}
\end{equation}

From equation \ref{name-of-this-equation} we have...
\ref{name-of-this-equation} prints the number of the equation labelled "name-of-this-equation". In case you don't know it : you must compile twice your document when you use \label{} and \ref{}.

Another possibility is to use the command \eqref{} (from the package amsmath) instead of \ref{}. \eqref{} puts labels of equations between parenthesis, \ref{} doesn't.
Reply With Quote
The following users thank flyingsquirrel for this useful post:
Donate to MHF
  #3  
Old 09-04-2008, 08:51 AM
kalagota's Avatar
Super Member
 
Join Date: Oct 2007
Location: Taguig City, Philippines
Posts: 931
Country:
Thanks: 63
Thanked 250 Times in 240 Posts
kalagota is a jewel in the roughkalagota is a jewel in the roughkalagota is a jewel in the rough
Send a message via Yahoo to kalagota
Default

thanks bro!
__________________

Venimus, vidimus, comemus tui crustuli
(We came, we saw, we ate your cookies)


"if it is for the one I love, I'd still fight the law." -Ichigo

e^{i\pi} + 1 = 0
Reply With Quote
Reply

Tags
equations, latex help

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -7. The time now is 05:44 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.
©2005 - 2008 Math Help Forum


Math Help Forum is a community of maths forums with an emphasis on maths help in all levels of mathematics.
Register to post your math questions or just hang out and try some of our math games or visit the arcade.