Ubuntu – Using latex in Anki

ankilatex

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:

http://www.hyperbolics.caths.cam.ac.uk/links/latexankisetup.php
http://www2.math.uni-wuppertal.de/~zibrowiu/LatexNoteImporter/

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).

Best 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

    enter image description here

  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

    enter image description here

  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]
    

    enter image description here

    and click Add and Close

  5. Click the entry Math

    enter image description here

    and you will see this

    enter image description here

  6. Click Study Now

    …and you have your LaTeX

    enter image description here

Source and more information here

Related Question