# Formula problems

**URL:** https://forums.ankiweb.net/t/formula-problems/58701
**Category:** Help
**Created:** [April 8, 2025, 12:49pm UTC](https://forums.ankiweb.net/t/formula-problems/58701 "2025-04-08T12:49:44Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![imdiook](https://avatars.discourse-cdn.com/v4/letter/i/41988e/32.png) [@imdiook](https://forums.ankiweb.net/u/imdiook)
#### Post date: [April 8, 2025, 12:49pm UTC](https://forums.ankiweb.net/t/formula-problems/58701/1 "2025-04-08T12:49:44Z")

</div>

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

---

<div class="post-metadata">

### Author: ![sorata](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/sorata/32/34115_2.png) [@sorata](https://forums.ankiweb.net/u/sorata)
#### Post date: [April 8, 2025, 2:38pm UTC](https://forums.ankiweb.net/t/formula-problems/58701/2 "2025-04-08T14:38:28Z")

</div>

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

---

<div class="post-metadata">

### Author: ![imdiook](https://avatars.discourse-cdn.com/v4/letter/i/41988e/32.png) [@imdiook](https://forums.ankiweb.net/u/imdiook)
#### Post date: [April 8, 2025, 2:45pm UTC](https://forums.ankiweb.net/t/formula-problems/58701/3 "2025-04-08T14:45:34Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![sorata](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/sorata/32/34115_2.png) [@sorata](https://forums.ankiweb.net/u/sorata)
#### Post date: [April 8, 2025, 2:54pm UTC](https://forums.ankiweb.net/t/formula-problems/58701/4 "2025-04-08T14:54:59Z")

</div>

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:

```math
\(x^2\)

```

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

---

<div class="post-metadata">

### Author: ![imdiook](https://avatars.discourse-cdn.com/v4/letter/i/41988e/32.png) [@imdiook](https://forums.ankiweb.net/u/imdiook)
#### Post date: [April 8, 2025, 3:15pm UTC](https://forums.ankiweb.net/t/formula-problems/58701/5 "2025-04-08T15:15:23Z")

</div>

![1000004898](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/3X/0/9/095be22aa67eedac543025f08ef2af36fce98314.jpeg) but physics/math formulas don’t render properly when I do this  
 ![1000004890](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/3X/1/c/1c94f21a0f2afaa927c7bebe2aa81df3a7564736.jpeg)  
(Mathpix code)

---

<div class="post-metadata">

### Author: ![sorata](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/sorata/32/34115_2.png) [@sorata](https://forums.ankiweb.net/u/sorata)
#### Post date: [April 8, 2025, 6:13pm UTC](https://forums.ankiweb.net/t/formula-problems/58701/6 "2025-04-08T18:13:47Z")

</div>

Have you read [Math & Symbols - Anki Manual](http://docs.ankiweb.net/math.html)? 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).

---

<div class="post-metadata">

### Author: ![sorata](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/sorata/32/34115_2.png) [@sorata](https://forums.ankiweb.net/u/sorata)
#### Post date: [April 8, 2025, 6:19pm UTC](https://forums.ankiweb.net/t/formula-problems/58701/7 "2025-04-08T18:19:12Z")

</div>

Tried this myself with the correct syntax:

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

```

Here’s how it looks on AnkiDroid:

[![Screenshot-2025-04-08-23-45-53-18-a9eef3a2a561b80d5c76daebd0f9a14c](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/3X/c/7/c774bcc5198e906ff0dc5e87f145be5383fdca32.jpeg)](https://imgbb.com/)

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

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/1X/8f1279ababc5879d54e4838989f606cfe55af8c7.jpeg) [@system](https://forums.ankiweb.net/u/system)
#### Post date: [May 8, 2025, 6:19pm UTC](https://forums.ankiweb.net/t/formula-problems/58701/8 "2025-05-08T18:19:32Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
