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?

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?

It appears that you havenâ€™t used proper LaTeX syntax.

Try one of the following examples.

- \[ \frac{5}{10} \]
- \begin{equation}

\frac{5}{10}

\end{equation}