Auto Math for Obsidian (LaTeX Autocomplete)

Hi everyone!
If you often write maths or LaTeX formulas in Obsidian, this plugin might save you a few nerves (and keystrokes).
Meet Auto Math — a lightweight tool that makes writing LaTeX just flow.

:sparkles: What it does

  • Adds smart autocompletion for LaTeX commands like \frac, \sqrt, and \sum
    → instantly expands them to ready-to-fill templates such as \frac{}{} with the cursor placed inside.
  • Lets you add your own snippets — so you can define custom completions or shortcuts for specific formulas.
  • Can be quickly toggled on and off via an icon in the left sidebar — perfect when you just want to type raw text.

:brain: Example

Typing:

\frac

immediately becomes:

\frac{}{}

and the cursor jumps neatly into the first set of braces.

:puzzle_piece: Future plans

I’m planning to add topic-based snippet packs — e.g. algebra, physics, statistics — that can be imported or shared.

:gear: Installation

Currently available for testing via BRAT (Beta Reviewers Auto-update Tester):

https://github.com/loglux/auto-math-for-obsidian

Once reviewed, it’ll appear in the Community Plugins browser.

:speech_balloon: Feedback

Suggestions and ideas are very welcome!
GitHub repo: GitHub - loglux/auto-math-for-obsidian: Auto-expand LaTeX math snippets in Obsidian — write equations faster.

1 Like