Skip to content
Skills Library
Documents & office · Writing

mathjax-rendering

/mathjax-rendering

Render mathematical formulas in Obsidian using LaTeX/MathJax syntax. Use when writing equations, matrices, integrals, summations, or any mathematical notation in Obsidian notes.

Repository
marketplace ↗
Licence
MIT
Last repository change
21.05.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
2
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 21.05.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Render mathematical formulas in Obsidian using LaTeX/MathJax syntax. Use when writing equations, matrices, integrals, summations, or any mathematical notation in Obsidian notes.

Original author description

Render mathematical formulas in Obsidian using LaTeX/MathJax syntax. Use when writing equations, matrices, integrals, summations, or any mathematical notation in Obsidian notes.

How it works

  1. 1. Basic Syntax
  2. 2. Fractions and Roots
  3. 3. Superscripts and Subscripts
  4. 4. Greek Letters
  5. 5. Common Operators and Symbols
  6. 6. Matrices
  7. 7. Aligned Equations
  8. 8. Integrals, Sums, and Limits
  9. 9. Delimiters
  10. 10. Font Styles
Original SKILL.md headings · 350 lines, 941 words
SKILL.md preview
---
name: mathjax-rendering
description: Render mathematical formulas in Obsidian using LaTeX/MathJax syntax. Use when writing equations, matrices, integrals, summations, or any mathematical notation in Obsidian notes.
context: fork
user-invocable: false
---

# MathJax Rendering in Obsidian

Obsidian uses MathJax to render LaTeX math expressions. This skill covers essential syntax for mathematical notation.

For complete symbol tables and advanced commands, see [reference.md](reference.md).

## 1. Basic Syntax

### Inline vs Block

```markdown
Inline: The equation $E = mc^2$ appears within text.

Block (centered, display-style):
$$
\int_0^{\infty} e^{-x^2} dx = \frac{\sqrt{\pi}}{2}
$$
```

- **Inline** (`$...$`): Compact, flows with paragraph
- **Block** (`$$...$$`): Larger, centered, multi-line capable

---

## 2. Fractions and Roots

```latex
\frac{a}{b}       % Standard fraction
\sqrt{x}          % Square root
\sqrt[n]{x}       % n-th root
\binom{n}{k}      % Binomial coefficient
```

**Examples:**

```latex
$$
\frac{d}{dx}\left(\frac{f(x)}{g(x)}\right) = \frac{f'(x)g(x) - f(x)g'(x)}{[g(x)]^2}
$$

$$
\sqrt{a^2 + b^2} = c \qquad \sqrt[3]{27} = 3
$$
```

---

## 3. Superscripts and Subscripts

```latex
$x^2$           % Superscript
$x_1$           % Subscript
$x_i^2$         % Both combined
$x^{10}$        % Multiple characters need braces
$x_{n+1}$       % Expression as subscript
```

**Note**: Use braces `{}` for multi-character exponents/subscripts.

---

## 4. Greek Letters

### Common Letters

| Lowercase | | Uppercase | |
|-----------|--------|-----------|--------|
| `\alpha` α | `\beta` β | `\Gamma` Γ | `\Delta` Δ |
| `\gamma` γ | `\delta` δ | `\Theta` Θ | `\Lambda` Λ |
| `\epsilon` ε | `\theta` θ | `\Sigma` Σ | `\Phi` Φ |
| `\lambda` λ | `\mu` μ | `\Psi` Ψ | `\Omega` Ω |
| `\pi` π | `\sigma` σ | | |
| `\phi` φ | `\omega` ω | | |

See [reference.md](reference.md) for complete Greek alphabet.

---

## 5. Common Operators and Symbols

| Symbol | Syntax | | Symbol | Syntax |
|--------|--------|---|--------|--------|
| ≤ | `\leq` | | ∈ | `\in` |
| ≥ | `\geq` | | ∉ | `\notin` |
| ≠ | `\neq` | | ⊂ | `\subset` |
| ≈ | `\approx` | | ∪ | `\cup` |
| × | `\times` | | ∩ | `\cap` |
| · | `\cdot` | | ∞ | `\infty` |
| ± | `\pm` | | ∂ | `\partial` |
| ∀ | `\forall` | | ∇ | `\nabla` |
| ∃ | `\exists` | | ∅ | `\emptyset` |

See [reference.md](reference.md) for complete symbol tables.

---

## 6. Matrices

### Matrix Environments

| Environment | Brackets |
|-------------|----------|
| `pmatrix` | ( ) |
| `bmatrix` | [ ] |
| `vmatrix` | \| \| (determinant) |
| `Bmatrix` | { } |

### Examples

```latex
$$
A = \begin{pmatrix}
a & b \\
c & d
\end{pmatrix}
$$

$$
\det(A) = \begin{vmatrix}
a & b \\
c & d
\end{vmatrix} = ad - bc
$$

$$
I = \begin{bmatrix}
1 & 0 & 0 \\
0 & 1 & 0 \\
0 & 0 & 1
\end{bmatrix}
$$
```

### With Ellipsis

```latex
$$
\begin{pmatrix}
a_{11} & \cdots & a_{1n} \\
\vdots & \ddots & \vdots \\
a_{m1} & \cdots & a_{mn}
\end{pmatrix}
$$
```

---

## 7. Aligned Equations

Use `aligned` environment with `&` for alignment and `\\` for line breaks:

```latex
$$
\begin{aligned}
(a+b)^2 &= (a+b)(a+b) \\
        &= a^2 + 2ab + b^2
\end{aligned}
$$
```

### Conditional Definitions (cases)

```latex
$$
f(x) = \begin{cases}
x^2 & \text{if } x \geq 0 \\
-x  & \text{if } x < 0
\end{cases}
$$
```

### Text in Math

Use `\text{...}` for regular text:

```latex
$$
x = 5 \text{ where } x \in \mathbb{N}
$$
```

---

## 8. Integrals, Sums, and Limits

### Integrals

```latex
$$
\int_a^b f(x) \, dx \qquad \iint_D f \, dA \qquad \oint_C \mathbf{F} \cdot d\mathbf{r}
$$
```

**Tip**: Use `\,` before `dx` for proper spacing.

### Sums and Products

```latex
$$
\sum_{n=1}^{\infty} \frac{1}{n^2} = \frac{\pi^2}{6}
$$

$$
\prod_{i=1}^{n} a_i
$$
```

### Limits

```latex
$$
\lim_{x \to 0} \frac{\sin x}{x} = 1
$$

$$
\lim_{n \to \infty} \left(1 + \frac{1}{n}\right)^n = e
$$
```

---

## 9. Delimiters

Use `\left` and `\right` for auto-sizing:

```latex
$$
\left( \frac{a}{b} \right) \qquad \left[ \sum_{i=1}^{n} x_i \right] \qquad \left\{ x : x > 0 \right\}
$$
```

### One-sided Delimiter

Use `\left.` or `\right.` for invisible delimiter:

```latex
$$
\left. \frac{df}{dx} \right|_{x=0}
$$
```

---

## 10. Font Styles

| Style | Syntax | Use Case |
|-------|--------|----------|
| Bold | `\mathbf{v}` | Vectors |
| Roman | `\mathrm{d}x` | Differential d |
| Blackboard | `\mathbb{R}` | Number sets |
| Calligraphic | `\mathcal{L}` | Operators |

### Number Sets

```latex
$$
\mathbb{N} \subset \mathbb{Z} \subset \mathbb{Q} \subset \mathbb{R} \subset \mathbb{C}
$$
```

---

## 11. Decorations

| Decoration | Syntax |
|------------|--------|
| Hat | `\hat{x}` |
| Bar | `\bar{x}` |
| Tilde | `\tilde{x}` |
| Vector | `\vec{x}` |
| Dot | `\dot{x}` |
| Double dot | `\ddot{x}` |

### Overbrace/Underbrace

```latex
$$
\overbrace{a + b + c}^{\text{sum}} = \underbrace{x + y + z}_{\text{total}}
$$
```

### Arrows

```latex
$$
\overrightarrow{AB} \qquad \overleftarrow{CD}
$$
```

---

## 12. Common Patterns

### Derivatives

```latex
$$
\frac{dy}{dx} \qquad \frac{\partial f}{\partial x} \qquad \nabla f
$$
```

### Norm and Absolute Value

```latex
$$
\|x\| = \sqrt{\sum x_i^2} \qquad |x - y| \leq |x| + |y|
$$
```

### Probability

```latex
$$
P(A \mid B) = \frac{P(B \mid A) P(A)}{P(B)}
$$

$$
\mathbb{E}[X] = \sum_{i} x_i P(X = x_i)
$$
```

---

## Quick Reference

```latex
% Fractions and roots
\frac{a}{b}  \sqrt{x}  \sqrt[n]{x}

% Greek (common)
\alpha \beta \gamma \theta \lambda \pi \sigma \omega
\Gamma \Delta \Sigma \Omega

% Relations
= \neq \leq \geq \approx \equiv \in \subset

% Operations
+ - \times \div \cdot \pm

% Calculus
\int \sum \prod \lim \partial \nabla

% Sets
\mathbb{R} \mathbb{N} \mathbb{Z} \mathbb{Q} \mathbb{C}

% Decorations
\hat{x} \bar{x} \vec{x} \dot{x}
```
Files in this package (2)
  • SKILL.md 6 KB
  • reference.md 9 KB

Versions

The database has no other skills named mathjax-rendering.

Database snapshot: 13.11.2026 · package version 43f74b987833 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100marker
    Convert PDF documents to Markdown using marker_single. Use when Claude needs to extract text content from PDFs while preserving LaTeX formulas, equations, and document structure. Ideal for academic papers and technical documents containing mathematical notation.
  • 100html-report
    Nested swiss-knife reference for standalone HTML deliverables. Produce polished, self-contained HTML deliverables (research memos, literature maps, dashboards, audit reports, side-by-side comparisons) that humans open in a browser or receive as Telegram/email attachments. Covers…
  • 100glmocr-formula
    Official skill for recognizing and extracting mathematical formulas from images and PDFs into LaTeX format using ZhiPu GLM-OCR API. Supports complex equations, inline formulas, and formula blocks. Use this skill when the user wants to extract formulas, convert formula images to…
  • 100markdown-preview-enhanced
    Markdown 渲染预览增强(VSCode 扩展 Markdown Preview Enhanced 的使用知识):编辑器内实时预览 .md, 滚动同步、KaTeX/MathJax 数学排版、mermaid/PlantUML/GraphViz/Vega 等图表渲染、代码块执行(code chunk)、 reveal.js 演示模式、pandoc/PDF 多格式导出、@import 文件嵌入与自定义 CSS。 当用户写带公式/图表/可执行代码块的 Markdown 笔记或文档、问「怎么在 VSCode 预览 md」「md 怎么导出 PDF/…
  • 100academic-formula-inserter
    Insert, format, and number math formulas in Word and LaTeX academic papers. Supports Chinese core journals and international journal formats. Invoke when user needs to insert LaTeX formulas into Word (OMML), validate formula formats per journal standards, or auto-number equations.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.