Math & ScienceEquation tag/label

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
User avatar
cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

Equation tag/label

Post by cgnieder »

ankhi wrote:

Code: Select all

\begin{equation}
D_{12} \propto {\bigg({(m_1 m_2)\frac(m_1+m_2 )}\bigg)^{-1\frac{2}}}
\end{equation}
\frac is a command that needs two arguments which for LaTeX and this case should mean: it must be followed by two pairs of balanced braces that contain numerator and denominator:

Code: Select all

\frac{numerator}{denominator}
Regards

BTW: Did you read some resources like the Not So Short Introduction to LaTeX?
site moderator & package author

Recommended reading 2024:

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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

ankhi
Posts: 32
Joined: Sun Aug 26, 2012 6:07 pm

Re: Equation tag/label

Post by ankhi »

Yay this works!!!

I did download it.. will read it now!!

thank you!!! :D
Post Reply