## LaTeX forum ⇒ Math & Science ⇒ text in equation Topic is solved

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
mahbube
Posts: 5
Joined: Tue Sep 07, 2021 12:29 am

### text in equation

hi
how can I write this line in latex?
or.PNG (5.82 KiB) Viewed 3396 times

LaTeXguide.org • LaTeX-Cookbook.net

Bartman
Posts: 301
Joined: Fri Jan 03, 2020 2:39 pm

### text in equation

I tend to use \text{ or }. You can learn more on TeXFAQ and in the mathmode guide.

mahbube
Posts: 5
Joined: Tue Sep 07, 2021 12:29 am

### text in equation

Bartman wrote:I tend to use \text{ or }. You can learn more on TeXFAQ and in the mathmode guide.

thank you

vaman
Posts: 17
Joined: Wed Oct 09, 2019 5:51 am

### text in equation

\documentclass{article}
\begin{document}
$$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{document}


Stefan Kottwitz
Posts: 9878
Joined: Mon Mar 10, 2008 9:44 pm

### text in equation  Topic is solved

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, \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

### Who is online

Users browsing this forum: No registered users and 3 guests