hi
how can I write this line in latex?
Math & Science ⇒ text in equation
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: 10290
- Joined: Mon Mar 10, 2008 9:44 pm
text in equation
That's a bad advice to keep "Or" in math mode, italic math font. That looks like a product of two variables O and r.
It's better to use what Bartman said,
Stefan
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
LaTeX.org admin