mathjax-rendering
ObsidianでLaTeX/MathJaxの記法を用いて数式、行列、積分、総和など、あらゆる数学的な表現を美しく表示し、ノート作成をより高度なものにするSkill。
📜 元の英語説明(参考)
Render mathematical formulas in Obsidian using LaTeX/MathJax syntax. Use when writing equations, matrices, integrals, summations, or any mathematical notation in Obsidian notes.
🇯🇵 日本人クリエイター向け解説
ObsidianでLaTeX/MathJaxの記法を用いて数式、行列、積分、総和など、あらゆる数学的な表現を美しく表示し、ノート作成をより高度なものにするSkill。
※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。
下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o mathjax-rendering.zip https://jpskill.com/download/17543.zip && unzip -o mathjax-rendering.zip && rm mathjax-rendering.zip
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/17543.zip -OutFile "$d\mathjax-rendering.zip"; Expand-Archive "$d\mathjax-rendering.zip" -DestinationPath $d -Force; ri "$d\mathjax-rendering.zip"
完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。
💾 手動でダウンロードしたい(コマンドが難しい人向け)
- 1. 下の青いボタンを押して
mathjax-rendering.zipをダウンロード - 2. ZIPファイルをダブルクリックで解凍 →
mathjax-renderingフォルダができる - 3. そのフォルダを
C:\Users\あなたの名前\.claude\skills\(Win)または~/.claude/skills/(Mac)へ移動 - 4. Claude Code を再起動
⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。
🎯 このSkillでできること
下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。
📦 インストール方法 (3ステップ)
- 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
- 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
- 3. 展開してできたフォルダを、ホームフォルダの
.claude/skills/に置く- · macOS / Linux:
~/.claude/skills/ - · Windows:
%USERPROFILE%\.claude\skills\
- · macOS / Linux:
Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。
詳しい使い方ガイドを見る →- 最終更新
- 2026-05-18
- 取得日時
- 2026-05-18
- 同梱ファイル
- 1
📖 Skill本文(日本語訳)
※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。
Obsidian における MathJax レンダリング
Obsidian は MathJax を使用して LaTeX 数式をレンダリングします。このスキルでは、数式表記に不可欠な構文について説明します。
完全な記号表と高度なコマンドについては、reference.md を参照してください。
1. 基本構文
インライン vs ブロック
インライン: 数式 $E = mc^2$ はテキスト内に表示されます。
ブロック (中央揃え、ディスプレイ スタイル):
$$
\int_0^{\infty} e^{-x^2} dx = \frac{\sqrt{\pi}}{2}
$$
- インライン (
$...$): コンパクトで、段落に沿って表示されます。 - ブロック (
$$...$$): より大きく、中央揃えで、複数行に対応できます。
2. 分数と根
\frac{a}{b} % 標準的な分数
\sqrt{x} % 平方根
\sqrt[n]{x} % n 乗根
\binom{n}{k} % 二項係数
例:
$$
\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. 上付き文字と下付き文字
$x^2$ % 上付き文字
$x_1$ % 下付き文字
$x_i^2$ % 両方の組み合わせ
$x^{10}$ % 複数文字には波括弧が必要
$x_{n+1}$ % 式を下付き文字として使用
注: 複数文字の指数/下付き文字には波括弧 {} を使用してください。
4. ギリシャ文字
一般的な文字
| 小文字 | 大文字 | ||
|---|---|---|---|
\alpha α |
\beta β |
\Gamma Γ |
\Delta Δ |
\gamma γ |
\delta δ |
\Theta Θ |
\Lambda Λ |
\epsilon ε |
\theta θ |
\Sigma Σ |
\Phi Φ |
\lambda λ |
\mu μ |
\Psi Ψ |
\Omega Ω |
\pi π |
\sigma σ |
||
\phi φ |
\omega ω |
完全なギリシャ文字については、reference.md を参照してください。
5. 一般的な演算子と記号
| 記号 | 構文 | 記号 | 構文 | |
|---|---|---|---|---|
| ≤ | \leq |
∈ | \in |
|
| ≥ | \geq |
∉ | \notin |
|
| ≠ | \neq |
⊂ | \subset |
|
| ≈ | \approx |
∪ | \cup |
|
| × | \times |
∩ | \cap |
|
| · | \cdot |
∞ | \infty |
|
| ± | \pm |
∂ | \partial |
|
| ∀ | \forall |
∇ | \nabla |
|
| ∃ | \exists |
∅ | \emptyset |
完全な記号表については、reference.md を参照してください。
6. 行列
行列環境
| 環境 | 括弧 |
|---|---|
pmatrix |
( ) |
bmatrix |
[ ] |
vmatrix |
| | (行列式) |
Bmatrix |
{ } |
例
$$
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}
$$
省略記号付き
$$
\begin{pmatrix}
a_{11} & \cdots & a_{1n} \\
\vdots & \ddots & \vdots \\
a_{m1} & \cdots & a_{mn}
\end{pmatrix}
$$
7. 揃えられた方程式
aligned 環境を & で位置合わせ、\\ で改行して使用します。
$$
\begin{aligned}
(a+b)^2 &= (a+b)(a+b) \\
&= a^2 + 2ab + b^2
\end{aligned}
$$
条件付き定義 (cases)
$$
f(x) = \begin{cases}
x^2 & \text{if } x \geq 0 \\
-x & \text{if } x < 0
\end{cases}
$$
数式内のテキスト
通常のテキストには \text{...} を使用します。
$$
x = 5 \text{ where } x \in \mathbb{N}
$$
8. 積分、和、極限
積分
$$
\int_a^b f(x) \, dx \qquad \iint_D f \, dA \qquad \oint_C \mathbf{F} \cdot d\mathbf{r}
$$
ヒント: 適切な間隔のために、dx の前に \, を使用してください。
和と積
$$
\sum_{n=1}^{\infty} \frac{1}{n^2} = \frac{\pi^2}{6}
$$
$$
\prod_{i=1}^{n} a_i
$$
極限
$$
\lim_{x \to 0} \frac{\sin x}{x} = 1
$$
$$
\lim_{n \to \infty} \left(1 + \frac{1}{n}\right)^n = e
$$
9. 区切り文字
自動サイズ調整には \left と \right を使用します。
$$
\left( \frac{a}{b} \right) \qquad \left[ \sum_{i=1}^{n} x_i \right] \qquad \left\{ x : x > 0 \right\}
$$
片側区切り文字
非表示の区切り文字には \left. または \right. を使用します。
$$
\left. \frac{df}{dx} \right|_{x=0}
$$
10. フォントスタイル
| スタイル | 構文 | 使用例 |
|---|---|---|
| 太字 | \mathbf{v} |
ベクトル |
| ローマン | \mathrm{d}x |
微分 d |
| 黒板太字 | \mathbb{R} |
数集合 |
| カリグラフィー | \mathcal{L} |
演算子 |
数集合
$$
\mathbb{N} \subset \mathbb{Z} \subset \mathbb{Q} \subset \mathbb{R} \subset \mathbb{C}
$$
11. 装飾
| 装飾 | 構文 |
|---|---|
| ハット | \hat{x} |
| バー | \bar{x} |
| チルダ | \tilde{x} |
| ベクトル | \vec{x} |
| ドット | \dot{x} |
| 二重ドット | \ddot{x} |
オーバーブレース/アンダーブレース
$$
\overbrace{a + b + c}^{\text{sum}} = \underbrace{x + y + z}_{\text{total}}
$$
矢印
$$
\overrightarrow{AB} \qquad \overleftarrow{CD}
$$
12. 一般的なパターン
導関数
$$
\frac{dy}{dx} \qquad \frac{\partial f}{\partial x} \qquad \nabla f
$$
ノルムと絶対値
$$
\|x\| = \sqrt{\sum x_i^2} \qquad |x - y| \leq |x| + |y|
$$
確率
$$
P(A \mid B) = \frac{P(B \mid A) P(A)}{P(B)}
$$
$$
\mathbb{E}[X] = \sum_{i} x_i P(X = x_i)
$$
クイックリファレンス
% 分数と根
\frac{a}{b} \sqrt{x} \sqrt[n]{x}
% ギリシャ文字 (一般的)
\alpha \beta \gamma \theta \lambda \pi \sigma \omega
\Gamma \Delta \Sigma \Omega
% 関係
= \neq \leq \geq \approx \equiv \in \subset
% 演算
+ - \times \div \cdot \pm
% 微積分
\int \sum \prod \lim \partial \nabla
% 集合
\mathbb{R} \mathbb{N} \mathbb{Z} \mathbb{Q} \mathbb{C}
% 装飾
\hat{x} \bar{x} \vec{x} \dot{x} 📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開
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.
1. Basic Syntax
Inline vs Block
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
\frac{a}{b} % Standard fraction
\sqrt{x} % Square root
\sqrt[n]{x} % n-th root
\binom{n}{k} % Binomial coefficient
Examples:
$$
\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
$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 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 for complete symbol tables.
6. Matrices
Matrix Environments
| Environment | Brackets |
|---|---|
pmatrix |
( ) |
bmatrix |
[ ] |
vmatrix |
| | (determinant) |
Bmatrix |
{ } |
Examples
$$
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
$$
\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:
$$
\begin{aligned}
(a+b)^2 &= (a+b)(a+b) \\
&= a^2 + 2ab + b^2
\end{aligned}
$$
Conditional Definitions (cases)
$$
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:
$$
x = 5 \text{ where } x \in \mathbb{N}
$$
8. Integrals, Sums, and Limits
Integrals
$$
\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
$$
\sum_{n=1}^{\infty} \frac{1}{n^2} = \frac{\pi^2}{6}
$$
$$
\prod_{i=1}^{n} a_i
$$
Limits
$$
\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:
$$
\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:
$$
\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
$$
\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
$$
\overbrace{a + b + c}^{\text{sum}} = \underbrace{x + y + z}_{\text{total}}
$$
Arrows
$$
\overrightarrow{AB} \qquad \overleftarrow{CD}
$$
12. Common Patterns
Derivatives
$$
\frac{dy}{dx} \qquad \frac{\partial f}{\partial x} \qquad \nabla f
$$
Norm and Absolute Value
$$
\|x\| = \sqrt{\sum x_i^2} \qquad |x - y| \leq |x| + |y|
$$
Probability
$$
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
% 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}