# [Tex/LaTex] no space between words in equation

equations

I wrote a simple equation like this

$$Compress Ratio = \frac{n-u} {n} \times 100$$


However in the output there is no "space" between Compress and Ratio and they are concatenated.

How can I fix that?

You should do this:

\documentclass{article}
\usepackage{amsmath}
\begin{document}
$$\text{Compress Ratio}=\frac{n-u} {n} \times 100$$
\end{document}


I would rather do this:

\documentclass{article}
\usepackage{amsmath}
\begin{document}
$$C=\frac{n-u} {n} \times 100$$
where $C$ denotes the compress ratio.
\end{document}


Always remember to typeset all math inside math environments $x$ etc., and put the least possible text inside.