LaTeXで頻出かつ覚えづらい
コマンドのみをまとめたメモ帳です。
基本の簡単なものは暗記して
難しいのだけ見れたら便利と思い作りました。
*コードはコピペ可能で入力の手間要らずです。
*必要に応じて今後も書き足して行く予定です。
数式
\(\left\{ \begin{eqnarray}ax + by &=& 0 \\ cx + dy &=& 0 \end{eqnarray} \right.\) | \(\verb|\|\)left\(\verb|\|\){ \(\verb|\|\)begin{eqnarray} ax + by &=& 0 \(\verb|\|\)\(\verb|\|\) cx + dy &=& 0 \(\verb|\|\)end{eqnarray} \(\verb|\|\)right. |
$$\frac {\partial f(x,t)}{\partial t}\hspace{1cm}$$ | \(\verb|\|\)frac{\(\verb|\|\)partial f(x,t)}{\(\verb|\|\)partial t} |
\({}_n \mathrm{C}_r\) | {}_n \(\verb|\|\)mathrm{C}_r |
\(\sqrt[n]{a}\) | \(\verb|\|\)sqrt[n]{a} |
\(\|x\|\) | \(\verb|\|\)|x\(\verb|\|\)| |
\(\bar{z}\) | \(\verb|\|\)bar{z}もしくは\(\verb|\|\)overline{z} |
\(\tilde{A}\) | \(\verb|\|\)tilde{A} |
集合と写像
\(\phi\) | \(\verb|\|\)phi |
\(\overline{A}\) | \(\verb|\|\)overline{A} |
\(A \stackrel{f}{\to} B\) | A \(\verb|\|\)stackrel{f}{\(\verb|\|\)to} B |
\(a \mapsto f(a)\) | a \(\verb|\|\)mapsto f(a) |
\(g \circ f\) | g \(\verb|\|\)circ f |
ベクトル、行列
\(\vec{a}\) | \(\verb|\|\)vec{a} |
\(\overrightarrow{\mathrm{AB}}\) | \(\verb|\|\)overrightarrow{\(\verb|\|\)mathrm{AB}} |
\(\begin{pmatrix} a \\ b \end{pmatrix}\) | \(\verb|\|\)begin{pmatrix} a \(\verb|\|\)\(\verb|\|\) b \(\verb|\|\)end{pmatrix} |
\(\begin{pmatrix} a & b \\ c & d \end{pmatrix}\) | \(\verb|\|\)begin{pmatrix} a & b \(\verb|\|\)\(\verb|\|\) c & d \(\verb|\|\)end{pmatrix} |
\(\begin{vmatrix} a & b \\ c & d \end{vmatrix}\) | \(\verb|\|\)begin{vmatrix} a & b \(\verb|\|\)\(\verb|\|\) c & d \(\verb|\|\)end{vmatrix} |
\(\begin{bmatrix} a & b \\ c & d \end{bmatrix}\) | \(\verb|\|\)begin{bmatrix} a & b \(\verb|\|\)\(\verb|\|\) c & d \(\verb|\|\)end{bmatrix} |
\(\begin{pmatrix} a_{11} & \cdots & a_{1n} \\ \vdots & \ddots & \vdots \\ a_{n1} & \cdots & a_{nn} \end{pmatrix}\) | \(\verb|\|\)begin{pmatrix} a_{11} & \(\verb|\|\)cdots & a_{1n} \(\verb|\|\)\(\verb|\|\) \(\verb|\|\)vdots & \(\verb|\|\)ddots & \(\verb|\|\)vdots \(\verb|\|\)\(\verb|\|\) a_{n1} & \(\verb|\|\)cdots & a_{nn} \(\verb|\|\)end{pmatrix} |
\( A^\top \) | A^\(\verb|\|\)top |
図形
\( \mathrm{AB} /\!/ \mathrm{CD} \) | \(\verb|\|\)mathrm{AB} /\(\verb|\|\)!/ \(\verb|\|\)mathrm{CD} |
\( \mathrm{AB} \perp \mathrm{CD} \) | \(\verb|\|\)mathrm{AB} \(\verb|\|\)perp \(\verb|\|\)mathrm{CD} |
等号
\(A \Leftrightarrow B\) | A \(\verb|\|\)Leftrightarrow B |
\(A \sim B\) | A \(\verb|\|\)sim B |
\(A \approx B\) | A \(\verb|\|\)approx B |
\(0.99 \fallingdotseq 1\) | 0.99 \(\verb|\|\)fallingdotseq 1 |
\(f(x) \equiv g(x)\) | f(x) \(\verb|\|\)equiv g(x) |
\(f(x) \stackrel{\mathrm{def}}{=} g(x)\) | f(x) \(\verb|\|\)stackrel{\(\verb|\|\)mathrm{def}}{=} g(x) |
余白・空白
一文字分 | \(a \quad b\) | a \(\verb|\|\)quad b |
半角スペース | \(a \; b\) | a \(\verb|\|\); b |
負のスペース | \(a \! b\) | a \(\verb|\|\)! b |
任意の長さ | \(a \hspace{3cm} b\) | a \(\verb|\|\)hspace{3cm} b |
書体
\(\mathrm{ABC}\) | \(\verb|\|\)mathrm{ABC} |
\(\mathbb{N,Z,Q,R,C}\) | \(\verb|\|\)mathbb{N,Z,Q,R,C} |
その他
\(\underbrace{n+n+ \cdots +n}_k = kn\) | \(\verb|\|\)underbrace{n + n + \(\verb|\|\)cdots + n}_k = kn |