Using Latex in Anki

How do you set up Anki to use Latex equations on its cards? I would love to be able to use Anki cards to review maths definitions, theorems, proofs etc.

I really hope someone in this community knows how to achieve this. I have scoured the Internet to no avail, but I cannot find any good guides on setting this up.

Here is the Anki app

Here are some things I have tried to decipher:

The answer should include how Latex is set-up within the Anki app itself, as well as any Latex set-up that is purely Latex specific (if any).

4

1 Answer

  1. Install LaTeX

    • TeX Live: Essential programs and files support in your system

      sudo apt-get install texlive-base
      

    or

    • TeX Live: metapackage pulling in all components of TeX Live

      sudo apt-get install texlive-full
      
  2. Start Anki

  3. Create a deck

    Click the button Create Deck in the lower part of the main window and create a deck, in my example Math

  4. Click the field Add below the menu bar…

    …and add some LaTeX, eg

    Does the sum below converge?
    
    [latex]\begin{displaymath}\sum_{k = 1}^{\infty}\frac{1}{k}\end{displaymath}[/latex]
    

    and click Add and Close

  5. Click the entry Math

    and you will see this

  6. Click Study Now…

    …and you have your LaTeX

Source and more information here

4

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Marcus Vance

Marcus Vance

Cybersecurity & Digital Privacy Researcher

Marcus Vance is a cybersecurity auditor and technology writer dedicated to educating the public about online safety, data privacy regulations, enterprise security, and emerging cyber threats.

Share this article
Twitter Facebook Pinterest