Math & Science ⇒ text in equation
text in equation
how can I write this line in latex?
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
text in equation
Code: Select all
\documentclass{article}
\begin{document}
\begin{equation}
I(p)= \frac{1}{p} \left(1- \frac{1-p}{K(1-p)}\right) \;\;\; Or \;\;\;
K(P)=\frac{p}{1-(1-p) \;I(1-p)}
\end{equation}
\end{document}
- Stefan Kottwitz
- Site Admin
- Posts: 10358
- Joined: Mon Mar 10, 2008 9:44 pm
text in equation
It's better to use what Bartman said,
\text{ Or }
, to have it in upright text font with correct kerning. "Or" is text, and \text
is for text in equations. It requires amsmath, but amsmath should be used in any math document anyway.Stefan