4

I have this...

\[c1*f(n) \leq f(n) \leq c2* f(n)\ \forall n_0 \geq 0\]

For display mode, I want to add additional space before \forall. I'm not too familiar with display mode. I tried just adding space and it doesn't seem do anything.

cpd1
  • 251

1 Answers1

3

See an example below. Was the * intended as a multiplication symbol here? In that case I would write \cdot instead, and perhaps you want 1 and 2 as subscripts to the c's? If that is the case, then

\[
c_1\cdot f(n) \leq f(n) \leq c_2 \cdot f(n) \quad \forall n_0 \geq 0
\]

Output of the code below: enter image description here

\documentclass{article}
\usepackage{amsmath}

\begin{document}
Removing ``for'' altogether. (For a bigger space, use \verb|\qquad|.)
\[
c1* f(n) \leq f(n) \leq c2 * f(n) \quad \forall n_0 \geq 0
\]
But if you want to include it:
\[
c1* f(n) \leq f(n) \leq c2 * f(n) \text{ for } \forall n_0 \geq 0
\]
Or for a little bit more space.
\[
c1* f(n) \leq f(n) \leq c2 * f(n) \quad \text{for} \quad\forall n_0 \geq 0
\]
\end{document}
Torbjørn T.
  • 206,688