Questions tagged [anki]

Anki is a spaced repetition flashcard program. The cards are presented using HTML and may include, among other types, LaTeX code, which is compiled and converted to an image. This tag is intended for all questions regarding the use of LaTeX within Anki.

Filter by
Sorted by
Tagged with
1 vote
0 answers
38 views

How to get Anki working with TikZ-based packages in 2024?

I want to learn the LaTeX language to study chemistry with chemfig package and make Anki flashcards. The problem is that I am unable to make it work with Anki (normal LaTeX works fine) I tried these ...
Fancôme's user avatar
1 vote
1 answer
60 views

Using latex tikz package alongside anki version 23.12.1

Summary of the problem I've been attempting to get the latex tikz package working alongside my anki version (23.12.1) without success. I've also posted about this problem directly to the anki forum. I'...
croakouttatune's user avatar
0 votes
1 answer
92 views

Anki + TexLive via Tug error: I can't find the format file `latex.fmt'! (-> LaTeX (pdfTeX) Error: Fatal format file error; I'm stymied)

I downloaded Anki via AUR, opened it and created a flashcard using LaTeX. I previewed it and first go the error that I had to install dvisvgm/dvipng although dvipng was already installed... Installed ...
GreyEminxnce's user avatar
0 votes
1 answer
100 views

How can I make the hat symbol in Anki?

In regular LaTeX I can simply use: \^{\omega} to get Omega hat. However, Anki returns \^ω where \^ is marked red. I am unsure where to look this up.
Natan's user avatar
  • 137
0 votes
1 answer
221 views

Anki does not translate latex code correctly as soon as I format the input as cloze

For other examples (see picture) it works fine. I can't see the difference between the first and second formula, maybe a bug? It even shows up correctly above, but when reviewed it seems to have some ...
FriendlyGuy96's user avatar
0 votes
1 answer
591 views

epstopdf cannot open ghostscript

I am working on a configuration of the latex build process to use with Anki for compiling cards with latex content. I have some eps figures I want to include on some of my cards. The latest Anki ...
Selena's user avatar
  • 195
1 vote
0 answers
508 views

Use of LaTex in Anki [closed]

I write formulas in Anki as used in LaTex and want to expand it to use LaTex to make tables, lists and similar things within Anki. When I tried this out it didn't work even though I used [latex][/...
jklö's user avatar
  • 11
1 vote
0 answers
315 views

Always using Latex in Anki

I am "struggling" with the following problem: I don't like the fact that I always have to manually type [latex]...[/latex] on the front and back when adding a card to my deck. As I only use ...
Edward Teach's user avatar
0 votes
0 answers
62 views

Anki cloze card do not work with LaTeX [duplicate]

I am trying to get Anki to work with LaTeX. I have a custom card type with the following header: \documentclass[12pt]{article} \special{papersize=3in,5in} \usepackage[utf8]{inputenc} \usepackage{...
Hermetically Sealed Halibut's user avatar
1 vote
1 answer
728 views

LaTeX alignment problems in Anki

I want to use Anki to write down mathematical formulas, but whenever I do so and insert any kind of text before, they come out very misaligned to the right. Here is a little example: [latex] A sum is ...
Chrysalix's user avatar
1 vote
1 answer
932 views

Missing LaTeX fonts used in Anki. Where can I find libertineMono-type1?

I use the flashcard program Anki which allows math equations to be written with LaTeX. I've run into an error where the file 'libertineMono-type1.sty' cannot be found. For context, the equation I'm ...
A Long It's user avatar
0 votes
0 answers
345 views

Anki/ Latex: Increase maximum Number of Items in itemize environment

I use Anki in my maths studies to revise some proofs, which I usually structure within the itemize environment. Now I came to the situation that Anki/Latex won't display the items which comes after ...
Mandy's user avatar
  • 1
1 vote
0 answers
350 views

LaTeX and Anki issues - Error executing latex

I installed MacTex (the full 4.4gb package) as well as dvipng and received the following error when I opened one of the flash cards downloaded from a GitHub. I also followed that GitHub instructions ...
Dat Nguyen's user avatar
1 vote
1 answer
658 views

How to include images in Anki using graphicx

I am trying to embed images into Anki flashcards using \includegraphics. A similar question was asked (and answered) some years ago - unfortunately the solution given there does not seem to work ...
jro's user avatar
  • 111
0 votes
1 answer
574 views

Anki: Display equations not centering

I'm using Anki to make some maths flashcards. I have created a card type where the front and back templates include the latex tags, ie [latex]{{Front}}[/latex] [latex]{{Back}}[/latex] so that the ...
Zarathustra's user avatar
3 votes
2 answers
681 views

How can I assign unique numbers, or a sequence, in LaTeX?

I'm trying to make flashcards to export to Anki, a flashcard program. I'm using the following link: http://reh.math.uni-duesseldorf.de/~zibrowius/LatexNoteImporter/ I'd like to assign each card with ...
electriclady's user avatar
0 votes
0 answers
583 views

How to install latex with Anki 2.1 on z Mac?

I've been working on this off an on for over a week. I need to make some cards with physics equations for engineering purposes. I think i've looked at every relevant page google can find. I consider ...
Aaronium112's user avatar
0 votes
1 answer
432 views

Anki 2.1 + Latex + Graphicx and including eps images: How to configure Anki so that I can include eps images with graphicx

The previous version of Anki compiled this without any issue: \begin{center} \includegraphics[scale=0.4]{recursion_tree.eps} \end{center} After upgrading to 2.1, I am unable to compile the above ...
Selena's user avatar
  • 195
0 votes
0 answers
132 views

LaTeX causes Anki to crash

I'm attempting to use LaTeX along with anki to enhance the typsetting system in anki. The issue I run into that some cards simply crash the anki application for no apparent reason. Here is how I ...
Vocaloidas's user avatar
1 vote
0 answers
110 views

How to make maths formulas align with text in LATEX?

I want to make the LATEX smaller (same size as normal text) and the fraction align with the text. I didn't find how. La fonction [$]\frac{1}{x}[/$] est dérivable sur [$]\mathbb{R^{*} }[/$] et sa ...
Aymane's user avatar
  • 11
0 votes
2 answers
1k views

How to use LaTeX in Anki. I use Windows and Tex Live 2018

As I found on Apple.Stackexchange , I downloaded anki add-on. I am Windows user so couldn't do 'which latex' as the step of that page says. Anki still didn't work and it says latex 실행 중 오류 발생. 생성된 파일:...
user549067's user avatar
3 votes
1 answer
1k views

How do you get Anki 2.1 to work with XeTeX (+ Edit latex build process)?

Unfortunately I don't have enough reputation to comment on other questions asking the exact same thing but I wanted to repost the question because none of the other answers seemed to be helping me. ...
wuhoo's user avatar
  • 63
3 votes
1 answer
3k views

How do you change the font and font color in LaTeX (Anki)?

I should preface this by saying I've had little to no exposure to LaTeX or Python until the past 24 hours where I've been trying madly trying to figure out what command, function, etc. means what! I'...
wuhoo's user avatar
  • 63
5 votes
2 answers
18k views

How to use LaTeX in Anki on Windows with MiKTeX?

I installed MikTeX, updated everything, downloaded the passivetex package, ran everything as admin, checked the depositories and everything, and yet I cannot get LaTeX to work with Anki. Here is the ...
Leon Hudak's user avatar
3 votes
1 answer
187 views

Strange problem with diagrams: can't convert correctly

I have an odd problem - not really with the diagrams package, but it starts there, in a sense - can anybody spot what I am doing wrong? Or what I should do to get around it? This is what I am trying ...
j4nd3r53n's user avatar
  • 499
2 votes
1 answer
1k views

Anki: Displayed size does not match specified size

In Anki, the sizes I specify in LaTeX encoding do not match those that are displayed. MWE: Leaving the header and footer at the Anki default of \documentclass[12pt]{article} \special{papersize=...
Dragon's user avatar
  • 181
2 votes
1 answer
1k views

Formatting fractions

I am using Anki (with LaTeX support), and have made a few fractions. However, the following doesn't work: [$] \sin^2 \theta_m = \frac{{(n^{\omega }_o)}^{-2} - {(n^{2\omega }_o)}^{-2}} {{(n^{2\...
Idios's user avatar
  • 155
1 vote
1 answer
5k views

Anki - error with executing Latex equations

So I have installed Anki and want to show latex equations in it. Downloaded Miktex and ensured that new packages will be installed on the fly. When I run an ANKI with an equation the following error ...
Mia Jakobsen's user avatar
2 votes
1 answer
2k views

How to Import Images into Anki with LaTeX?

For several days, I try to find an answer to my question, but without success. In another question, it helped me to use "\ tikz" in Anki. Thank @gernot elsewhere. I would like to include an image ...
tym007's user avatar
  • 75
2 votes
1 answer
182 views

Which code will work with "\documentclass[varwidth]{standalone}", and which not?

When converting tex code to png images for tools that support TeX (like Anki), some recipes on the net recommend to use the standalone class because of its trimming capabilities. Using just standalone ...
gernot's user avatar
  • 49.6k
5 votes
2 answers
2k views

Convert LaTeX (Tikz) Anki Note to .png Error

Good morning. I try to apply advice given on this page to be able to include drawings in Latex with Anki. But, for a reason of which I am unaware, Anki does not want to convert files.tex into.png. ...
tym007's user avatar
  • 75
0 votes
2 answers
449 views

Strange behavior after installing BasicTex

I'm using MacTex on OS X 10.11. I recently installed BasicTex in an attempt to get Anki to be able to use Latex for math notation, which worked. However, when I try to use Latex normally, it breaks ...
litvyak's user avatar
13 votes
2 answers
4k views

How to get Anki working with TikZ-based packages?

Since I have been struggling with this for some time and the issue is nowhere to be found on the Web, I thought to ease up some people's lives by posting this question here. Assumption: Basic LaTeX ...
PeV's user avatar
  • 453
10 votes
1 answer
6k views

Undefined control sequence \pgfsyspdfmark converting Standalone TikZ with pdflatex

My ultimate goal is to get chemfig working with AnkiSRS. It only accepts .png as latex output, so I need to compile with pdflatex and then convert the file from within the latex environment. I am ...
PeV's user avatar
  • 453
0 votes
0 answers
192 views

When a term has letters as subscripts they looked squished. How can I improve the appearance?

When I have a term that has letters as subscripts, the letters look squished and frankly, are hard to read in some cases. Is there some easy tweak I can do that will improve the readability of the ...
Selena's user avatar
  • 195
0 votes
0 answers
5k views

DVIPNG on MikTex

I know a similar question has been asked before for something want to get DVIPNG for their Iguanatex but it appears the question was never answered. https://tex.stackexchange.com/questions/177032/...
daruma's user avatar
  • 233
2 votes
1 answer
426 views

strikeout Cyrillic text with latex

I am trying to use the soul package to strike out Cyrillic letters. Instead of the letters being stroked out weird characters are shown. \documentclass[12pt]{article} \special{papersize=3in,5in} \...
Sim's user avatar
  • 240
1 vote
1 answer
1k views

Anki latex spacing

I am using Anki with the following header: \documentclass[12pt]{article} \special{papersize=3in,5in} \usepackage[utf8]{inputenc} \usepackage{amsmath,amssymb,mathrsfs,graphicx,overpic,color,verbatim,...
user79950's user avatar
  • 303
0 votes
1 answer
2k views

Python error while generating code snippets with minted and Pygments in Anki

On the command line everything works fine but in in Anki I get a python error. My computer: MacBook Air (13-inch, Mid 2012) Processor 2 GHz Intel Core i7 Memory 8 GB 1600 MHz DDR3 My operating ...
user avatar
4 votes
1 answer
6k views

Trying to get LaTeX work with Anki

I'm trying to get LaTeX working on Anki. I am the only admin on my system but when I try and run the terminal command "tlmgr update --self && tlmgr install dvipng" I get an error saying I ...
hgst's user avatar
  • 121
2 votes
0 answers
213 views

Creating an .sty file that is equivalent to \input{file}?

I'm trying to get the flashcard program Anki to accept my LaTeX shortcuts that I always include in the preamble through \input{...}. It seems like the software has now forbidden this practice as you ...
eof's user avatar
  • 21
3 votes
0 answers
298 views

Where do I define custom glyphs? [closed]

I want to just add a few symbols, but am having a very hard time finding out where to do it. Specifically, I am wanting to integrate these commands: \def\angle#1{\leavevmode\hbox{\vtop{\vbox{\hrule\...
scott.se's user avatar
3 votes
1 answer
2k views

Where would one find LaTeX flashcards?

I've always been of the mind that, if I'm to take a language seriously, I need to memorize a certain amount of terms. With that in mind, I'm planning on creating a flashcard deck with Anki and/or ...
Phil Hobrla's user avatar
7 votes
2 answers
1k views

What preamble does math.stackexchange.com use?

I am trying to use Anki to create calculus flash cards. I use the input box on the math.stackexchange.com site since it is the easiest LaTex editor I know of to use for math equations. However, I ...
maogenc's user avatar
  • 173
13 votes
2 answers
14k views

Anki - LaTeX, Math Font Size, & DeclareMathSizes

I use the Anki flashcard program and render math equations using LaTeX within the program. The problem is that the font sizes are generally too big, unless the equation is really long, in which case ...
MMS's user avatar
  • 141
6 votes
0 answers
3k views

Inline Tex Math expressions positioning in Anki [closed]

I'm not exactly familiar with how Anki processes the inline math expressions, but the developer advised me to ask this question on a Tex discussion platform: The problem is that the rendered formulas ...
Lenar Hoyt's user avatar
  • 1,629
1 vote
1 answer
484 views

How can I correct spacing issues?

When using the following code I get unsightly spaces (following the opening parentheses, after the = and between the x' and y'): [$](\quad \overline{x+y})=\quad \overline{x}\quad \overline{y}[/$] ...
somehume's user avatar
  • 237
10 votes
2 answers
26k views

How can I overscore a character?

I am using Anki to create flash cards for Boolean identities. I prefer to use an overscore as opposed to a prime for negated variables. Can this be accomplished with LaTeX? EDIT: The header and ...
somehume's user avatar
  • 237