Equation with \frac function

#1

I tried to insert a frac in a LaTex block but I could not get to the desired result.

\frac{5}{10}
result:

while I would like the 5 to be above the 10
How should I solve this?

#2

It appears that you haven’t used proper LaTeX syntax.
Try one of the following examples.

1. $\frac{5}{10}$

2. \frac{5}{10}