# Equation with \frac function

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.

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

2. \frac{5}{10}

@Ed_Ampt, I find it really useful to use an online editor to refine and get the syntax right. E.g., https://arachnoid.com/latex/
Docx2LaTex also have a “how to” - and there are dozens online.