Change the Mathjax delimiters from "\(\)" and \[\]" to "$$" and "$$ $$"

Raphaël Huleux's Avatar

Raphaël Huleux

05 Sep, 2019 11:28 AM

Hello,

I used Anki for a while on my computer and on iOS to study mathematics and economics. I would like to use the "$$" delimiters instead of \(\) for Mathjax syntax, but can't find a way to do it.

Does anybody have any tutorial available/information about this?

Thank you for your help!

Regards,

  1. Support Staff 1 Posted by Damien Elmes on 05 Sep, 2019 10:42 PM

    Damien Elmes's Avatar

    Anki requires separate opening and closing delimiters to properly process the cards, so I'm afraid using $ will cause problems.

  2. 2 Posted by alexlyzhov on 05 Apr, 2020 12:23 PM

    alexlyzhov's Avatar

    This approach works well on my laptop: https://www.reddit.com/r/Anki/comments/abvcnr/change_mathjax_syntax.... However, I don't know if it works on AnkiDroid. Probably it could work if we rebuild/change apk?

    (side note: platform-independent approaches like querying mathjax CDN servers using scripts in card templates didn't work for me at all for some reason)

  3. Support Staff 3 Posted by Damien Elmes on 06 Apr, 2020 03:56 AM

    Damien Elmes's Avatar

    Cloze deletions may not display properly if you change the delimiters, so I do not recommend you change them.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac