[Tex/LaTex] Text-mode in fractions

fractionsmath-mode

I want to have written words in a fraction but to have them in correct fraction form and not crude-looking. So, I have;

$\displaystyle\frac{Actual Value of Production}{Demand}$ x $100$ 

But it makes the text appear in math-mode so all italics with no spaces and looks awful. If I remove the $ it just won't appear.

Any help?

Best Answer

another possibility, requiring amsmath is this:

\[
 \frac{\text{Actual Value of Production}}{\text{Demand}} \times 100
\]

enter image description here

since it's unlikely to be embedded in text, using "display" coding is preferable to the inline $...$ input.

warning: \text will follow the style of the surrounding text, so if this is included within the statement of a theorem, it will be set in italic. in such a situation, it's better to use \textrm.