# How to define MathJax macros that work with AnkiDroid?

**URL:** <https://forums.ankiweb.net/t/how-to-define-mathjax-macros-that-work-with-ankidroid/33917>\
**Category:** Help\
**Created:** [September 4, 2023, 12:25pm UTC](https://forums.ankiweb.net/t/how-to-define-mathjax-macros-that-work-with-ankidroid/33917 "2023-09-04T12:25:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![x51mon](https://avatars.discourse-cdn.com/v4/letter/x/df705f/32.png) [@x51mon](https://forums.ankiweb.net/u/x51mon)\
**Post date:** [September 4, 2023, 12:25pm UTC](https://forums.ankiweb.net/t/how-to-define-mathjax-macros-that-work-with-ankidroid/33917/1 "2023-09-04T12:25:48Z")

</div>

How and where do MathJax macros need to be defined for them to work on AnkiDroid?

I’ve tried defining macros in math-mode `\(...\)` and with script `<script> ... </script>` in the card template and they worked on Anki Desktop but not on AnkiDroid.

Maybe someone can point me in the right direction.

---

<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:** [October 4, 2023, 12:26pm UTC](https://forums.ankiweb.net/t/how-to-define-mathjax-macros-that-work-with-ankidroid/33917/2 "2023-10-04T12:26:39Z")

</div>

Closed on October 4, 2023, 12:26pm UTC

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