Using LaTeX to Create Anki Flashcards

Поделиться
HTML-код
  • Опубликовано: 6 сен 2024
  • Use LaTeX to format a deck of Anki flashcards containing mathematical notation.
    Download Anki: apps.ankiweb.net/
    Download my Anki decks here:
    BC: ankiweb.net/sh...
    AB: ankiweb.net/sh...
    =======================================
    LaTeX Header:
    =======================================
    \documentclass[12pt]{article}
    \special{papersize=3in,5in}
    \usepackage[T1]{fontenc}
    \usepackage[utf8x]{inputenc}
    \usepackage{libertine-type1}
    \usepackage{biolinum-type1}
    \usepackage{libertineMono-type1}
    \usepackage[libertine]{newtxmath}

    enewcommand{\familydefault}{\sfdefault}
    \usepackage{amssymb,amsmath, amsfonts}
    \usepackage{booktabs}
    \usepackage{color}
    \usepackage{multirow}
    \usepackage{rotating}
    \usepackage{graphicx}
    \usepackage{wasysym}
    \pagestyle{empty}
    \setlength{\parindent}{0in}

    ewcommand{
    oun}[1]{\textsc{#1}}
    \definecolor{blue}{RGB}{0,130,255}
    \begin{document}
    =======================================
    STYLING
    =======================================
    .card {
    font-family: arial;
    font-size: 20px;
    text-align: center;
    color: black;
    background-color: white;
    }
    img {
    width: auto;
    height: auto;
    max-height:1000px;
    }
    .lesson {
    font-size: 12pt;
    color: blue;
    text-align: left;
    margin-bottom: 1em;
    }

Комментарии •