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}

@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.