LaTeX's Header/footer: edit everywhere

AnkiWeb addon 1863928230

Lets you set the same LaTeX header and footer for every Anki note type simultaneously, though later direct per-note-type edits are overwritten when reapplying.
AI-generated summary; may contain mistakes.

note-managementcard-templates

Open on AnkiWeb GitHub Ask about alternatives

AnkiWeb

Rating
4 (πŸ‘ 4 Β· πŸ‘Ž 0)
Updated
2020-11-23
Anki versions
2.1.28~
Description language
en

Maintenance

abandoned

  • Last update or commit was 1345 days before the snapshot (2023-01-25).

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.02.1.272020-05-19
2.1.28+2020-11-23
History across monthly snapshots

Loading…

Similar addons

Edit LaTeX build process

Lets you edit the command-line arguments passed to LaTeX and dvipng when generating LaTeX cards, configured manually and changing nothing by default.

card-templates

Rating 43 πŸ‘ 37 Β· πŸ‘Ž 6 Updated 2018-10-12
Image Resize & Crop

Resizes card images to a configurable max width and crops fixed top/bottom pixels to hide slide headers or bars during review, non-destructively, with live preview and note-type targeting.

formattingappearance

Rating 0 πŸ‘ 0 Β· πŸ‘Ž 0 Anki 2.1.1~ Updated 2026-04-21
Better Markdown Anki

Renders flashcards with advanced markdown, LaTeX math, syntax highlighting, theme-aware styling, tag badges, and interactive cloze toggles via React components.

formattingappearancecard-templatescloze

Rating 24 πŸ‘ 20 Β· πŸ‘Ž 4 ⭐ 31 Anki 2.1.66~ Updated 2026-08-02

README

Change the latex prefix and suffix of all note types

Rationale

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.

Options box, with a button

Warning

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.

Configuration

Just edit footer/header as you usually do. And click the button if you want to apply the change everywhere.

Internal

Version 1 used two global configurations "latexPre" and "latexPost". If they are found, they are deleted when anki start, and replaced by configurations.

Version 2.0

Anki 2.0 does not have configuration manager. Instead, to use it:

  1. In main browser
  2. Select "change LaTeX"
  3. Enter the LaTeX header
  4. Enter the LaTeX footer

Links, licence and credits

Key Value
Copyright 2.0 by Arthur Milchior arthur@milchior.fr
Copyright 2.1 by Ijgnord https://github.com/ijgnd/anki__batch_change_latex_header_footer
Based on Anki code by Damien Elmes anki@ichi2.net
License GNU AGPL, version 3 or later; http
Source in https://github.com/Arthur-Milchior/anki-latex-header-footer
Addon number 1863928230