After two years of using anki, mostly for mathematics, it never occured that the latex configuration I use depends on the note type.
So I added a button which allows you to set all footers and headers to the same value.
If you change prefix/suffix directly in a note type's option, this modification will be lost the first time you use this add-on again.
Just edit footer/header as you usually do. And click the button if you want to apply the change everywhere.
Version 1 used two global configurations "latexPre" and "latexPost". If they are found, they are deleted when anki start, and replaced by configurations.
Anki 2.0 does not have configuration manager. Instead, to use it:
- In main browser
- Select "change LaTeX"
- Enter the LaTeX header
- Enter the LaTeX footer
Key | Value |
---|---|
Copyright | 2.0 by Arthur Milchior [email protected] |
Copyright | 2.1 by Ijgnord https://github.com/ijgnd/anki__batch_change_latex_header_footer |
Based on | Anki code by Damien Elmes [email protected] |
License | GNU AGPL, version 3 or later; http |
Source in | https://github.com/Arthur-Milchior/anki-latex-header-footer |
Addon number | 1863928230 |