mingw77 downloadsAutocomplete LaTeX commands with Chinese/English/Janpanese/Korean support in math contexts, supporting AI too.
An Obsidian plugin that provides intelligent LaTeX auto-completion in math contexts, with multilingual keyword support (Chinese, Japanese, Korean, English) and AI-powered formula generation.
Type \ inside math contexts ($...$, $$...$$, or LaTeX code blocks) to get a searchable suggestion list of 200+ LaTeX commands. Filter by prefix or description.
Type math terms in your language directly in math contexts — no backslash needed. The plugin matches them to relevant LaTeX commands.
积分 → \int, 矩阵 → \begin, 约等于 → \approx (prefix matching supported)せきぶん → \int, ぎょうれつ → \begin, ぶんすう → \frac적분 → \int, 행렬 → \begin, 분수 → \frac\keyword in math mode (e.g., \frac → \frac{}{})Define your own keyword-to-LaTeX mappings in Settings → Easy LaTeX → Custom Keyword Mappings.
\keyword in math mode to trigger. E.g., map div → \frac{$1}{$2}, then typing \div suggests \frac{}{} with cursor positioned inside the first {}.分数 → \frac{$1}{$2}, then typing 分数 replaces it with \frac{}{}.$1, $2 tabstop placeholders for cursor positioning.Example: Map div → \frac{$1}{$2}. Now typing \div in a math zone shows your custom \frac{}{} suggestion alongside the built-in \div (÷).
| Field | Description | Example |
|---|---|---|
| Keyword | The trigger text | div, 分数, ぶんすう, 분수, bracket |
| LaTeX Snippet | The LaTeX to insert (include \ prefix) |
\frac{$1}{$2}, \left($1\right) |
Press Tab on selected text inside a math zone, and the AI will convert your natural language description into LaTeX code. Works with any OpenAI-compatible API.
main.js, styles.css, and manifest.json from the latest releaseeasy-latex inside your vault's .obsidian/plugins/ directoryGo to Settings → Easy LaTeX to configure:
| Setting | Description | Default |
|---|---|---|
| API URL | OpenAI-compatible API endpoint | https://api.openai.com/v1/chat/completions |
| API Key | Your API key | — |
| Model | Model name (e.g., gpt-4o-mini, deepseek-chat) |
gpt-4o-mini |
| System Prompt | System prompt sent to the AI | Built-in LaTeX converter prompt |
The AI feature is optional — the completion list works without any API configuration.