People Events Challenges Features Links & Resources

Anki (Flashcard program) - Setup

Please see this page for the Anki Decks themselves.


LaTeX

Firstly, you'll need a program for compiling LaTeX (the most commonly used method for typesetting mathematics). A good program for this is MiKTeX, available here.


A quick start guide to learning LaTeX for Anki, authored by our very own Łukasz Segiet, is available here.


There are also quite a few basic LaTeX tutorials on the internet, and once you've picked up the basics, the Wikibooks Cheatsheet covers most of the useful maths commands, and Detexify is great for finding the commands for obscure symbols (you can draw them and it identifies them for you).


Anki Setup

You can download and install Anki from: http://ankisrs.net/

There are then a few things to do to make using LaTeX easier/look nicer. So open Anki, and follow these steps:

  1. Making it use LaTeX automatically
    Click "Add" in the bar near the top, then click on the "Cards..." button. You should now surround the {{Front}} and {{Back}} (etc) tags in [latex] [/latex] tags. You can also restyle what the cards look like and how they scale using css and html. But feel free to copy the following fields, which I think look good:

    Front Template:
    [latex]{{Front}}[/latex]

    Styling:
    .card {
    font-family: arial;
    font-size: 10px;
    text-align: center;
    color: black;
    background-color: white;
    }
    img {
    width: auto;
    height: auto;
    max-height:1000px;
    }


    Back Template:
    [latex]{{Front}}[/latex]

    <br /><br />
    <hr id=answer>
    <br />

    [latex]{{Back}}[/latex]


  2. Making LaTeX display right and sorting out includes:
    Go back to the "Add" screen. This time click on the big "Basic" button, (Type). Click "Manage", then select the first "Basic" card type from the list, and click "Options".

    Here you can adjust the LaTeX pre-amble, including using any packages you may need. The following is what I use:

    Header:
    \documentclass[10pt]{article}
    \usepackage{amssymb,amsmath,amsfonts,mathrsfs}
    \usepackage[paperwidth=5in, paperheight=100in]{geometry}
    \pagestyle{empty}
    \setlength{\parindent}{0in}
    \begin{document}


    Footer:
    \end{document}

Finally, some pointers to get you started with Anki:

  • Use the "Decks, "Add", "Browse" topbar to navigate around.
  • Note that you can rearrange decks on the decks interface by dragging-and-dropping (eg to create a subdeck of "Definitions" in an "Analysis" deck).
  • You can make changes to cards using the "Browse" system.
  • Use $maths code$ and \[ maths code \] for fast inline/displayed maths typing.