r/Anki•
BuckMosk

Anki math and LaTeX help please

I am having some troubles and have decided to ask the all mighty gods that are reddit.

I am attemptin to make some math flash cards. I want my equations to look like this:

Imgur

I am planning to make these cloze deletion cards.

This is what I have so far.

Imgur

And this is the result given:

Imgur

I have tried a few things, and none of them give the effect I want. One of the issues I am running into is with multiple variables that are to the power of... aka the superscript stuff. If there is more than one super script, I am failing.

Any thoughts?

Posted Feb 4, 2018, 6:04 AM UTC

26
No-More-Stars•

LaTeX superscripts require {} around the variables if there is more than one.

Law of Exponents:

[$]x^m \cdot x^n = x^{ {{c1::m+n}} }[/$]
5
BuckMoskOP•

<3 THANK YOU!!!!!!!!!!!!!!!!!!!!!!!!!! This was it. I knew I was just doing something stupid and couldnt figure it out.

1
Fledfromnowhere•

The solution to your problem was already in the official Anki guide: https://apps.ankiweb.net/docs/manual.html#latex-conflicts

When using cloze deletions, you cannot change the double braces used to mark cloze deletions; instead, you can put a space between any double closing braces that do not indicate the end of the cloze, so

That guide is thorough and you should definitely read it.

1
imurme8•

I actually didn't know you can cloze delete inside a mathjax environment.

2
Fledfromnowhere•

We aren't gods, no one is. And, in any case, you can become one (or a goddess) after enough factual drill.

2