Formula problems

MathJax.Hub.Queue(["Typeset", MathJax.Hub]);
</script>
This code and restarting my phone and reinstalling the app.

OP, I think you might’ve unintentionally messed up the code block. Can you clarify what you’re asking for?

Hello, I need help. Mathjax is not rendering on my cards and I stopped studying for alot of time. I have tried uninstalling and installing again, tried that code above and the database reset.

You don’t need to manually put any code for mathjax to work. Can you reset the templates (there’s a button in menu), create a new note and type this in:

\(x^2\)

Show us a screenshot of what happens. This renders well in my app.

but physics/math formulas don’t render properly when I do this

(Mathpix code)

Have you read Math & Symbols - Anki Manual? It seems to me you’re trying to use the wrong delimiters.

In Anki, always use \( and )\ (in the editor, there’s an toolbar button for applying that).

1 Like

Tried this myself with the correct syntax:

\(P_{\mathrm{o}} = \frac{1}{f}\)

Here’s how it looks on AnkiDroid:

Screenshot-2025-04-08-23-45-53-18-a9eef3a2a561b80d5c76daebd0f9a14c

Tip: use \dfrac instead of \frac for bigger fractions. 1/f looks awfully small for me.

1 Like