5

I wrote a simple equation like this

\begin{equation}
  Compress Ratio = \frac{n-u} {n} \times 100
\end{equation}

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

How can I fix that?

mahmood
  • 3,359

2 Answers2

6

You should do this:

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

I would rather do this:

\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{equation}
 C=\frac{n-u} {n} \times 100
\end{equation}
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.

marczellm
  • 11,809
3

\mbox{Compress Ratio} when you are inside math.