---
title: LaTeX 常用數學符號表與部份HTML語法
tags: LaTeX, HTML
---
# 常用*LaTeX*數學表示式與部份HTML語法
:::danger
**注意事項:**
1. 單行內使用 `$[Expression]$`,左邊$之後與右邊$之前不可有空白。
2. 獨立表示使用
```
$$
[Expression]
$$
```
:::
---
[TOC]
## 空格
$\quad \square \qquad \square:$ `\square \qquad \square`
$\quad \square \quad \square:$ `\square \quad \square`
$\quad \square \; \square:$ `\square \; \square`
$\quad \square \ \square:$ `\square \ \square`
$\quad \square \, \square:$ `\square \, \square`
$\quad \square \square:$ `\square \square`
$\quad \square \! \square:$ `\square \! \square`
## 希臘字母
### 小寫:
$\quad \alpha :$ `\alpha`; $\quad \beta :$ `\beta`; $\quad \gamma :$ `\gamma`; $\quad \delta :$ `\delta`; $\quad \epsilon :$ `\epsilon`;
$\quad \varepsilon :$ `\varepsilon`; $\quad \zeta :$ `\zeta`; $\quad \eta :$ `\eta`; $\quad \theta :$ `\theta`; $\quad \vartheta :$ `\vartheta`; $\quad \iota :$ `\iota`;
$\quad \kappa :$ `\kappa`; $\quad \lambda :$ `\lambda`; $\quad \mu :$ `\mu`; $\quad \nu :$ `\nu`; $\quad \xi :$ `\xi`; $\quad o :$ `o`;
$\quad \pi :$ `\pi`; $\quad \varpi :$ `\varpi`; $\quad \sigma :$ `\sigma`; $\quad \varsigma :$ `\varsigma`; $\quad \tau :$ `\tau`; $\quad \upsilon :$ `\upsilon`;
$\quad \phi :$ `\phi`; $\quad \varphi :$ `\varphi`; $\quad \chi :$ `\chi`; $\quad \psi :$ `\psi`; $\quad \omega :$ `\omega`;
### 大寫:
$\quad \Gamma :$ `\Gamma`; $\quad \Delta :$ `\Delta`; $\quad \Theta :$ `\Theta`; $\quad \Lambda :$ `\Lambda`; $\quad \Xi :$ `\Xi`;$\quad \Pi :$ `\Pi`;
$\quad \Sigma :$ `\Sigma`; $\quad \Upsilon :$ `\Upsilon`; $\quad \Phi :$ `\Phi`;$\quad \Psi :$ `\Psi`; $\quad \Omega :$ `\Oemga`
---
## 下標(`_`)
$\quad a_1 :$ `a_1`
---
## 上標(`^`)
$\quad x^{-2} :$ `x^{-2}`
---
## 上下標
$\quad \beta^i_{j, k} :$ `\beta^i_{j, k}`
$\quad ^a_bX^1_2 :$ `^a_bX^1_2`
---
## 根號(`\sqrt, \surd`)
$\quad \sqrt {x^2+ \sqrt y} :$ `\sqrt {x^2+ \sqrt y}`
$\quad \sqrt[x]y :$ `\sqrt[x]y`
$\quad \surd[x^2+y^3] :$ `\surd[x^2+y^3]`
---
## Overline, 底線(`\overline`, `\underline`)
$\quad \overline{a+b} :$ `\overline{a+b}`
$\quad \overline{\overline a +b} :$ `\overline{\overline a +b}`
$\quad \underline \phi :$ `\underline \phi`
---
## 下括號(`\underbrace`)
$\quad \underbrace{a+b+c+ \cdots +z}_{26} :$ `\underbrace{a+b+c+ \cdots +z}_{26}`
---
## 向量(`\vec, \overrightarrow, \overleftarrow`)
$\quad \vec a :$ `\vec a`
$\quad \overrightarrow {AB} :$ `\quad \overrightarrow {AB}`
$\quad \overleftarrow {\alpha_1} :$ `\overleftarrow {\alpha_1}`
---
## 分數(`\frac, \over`)
$\quad \frac{x+7}{x+y} :$ `\frac{x+7}{x+y}`
$\quad \frac {\pi^{(\frac 1{x^2})}} {x+y} :$ `\quad \frac {\pi^{(\frac 1{x^2})}} {x+y}`
$\quad {{x+y} \over {x-y}} :$ `\quad {{x+y} \over {x-y}}`
---
## 和(`\sum`)
$\quad \sum_{i=1}^nf(x_i) :$ `\sum_{i=1}^nf(x_i)`
或
$$
\sum_{i=1}^{n}f(x_i)
$$
`\sum_{i=1}^{n}f(x_i)`
==_行內表示式上下標與單行表示式不同_==
---
## 積分(`\int`)
$\quad \int_0^{2\pi} :$ `\int_0^{2\pi}`
---
## 乘積(`\prod`)
$\quad \prod_\epsilon :$ `\prod_\epsilon`
或
$$
\prod_\epsilon
$$
`\prod_\epsilon`
==_行內表示式上下標與單行表示式不同_==
---
## 換行對齊(`\begin{aligned}`+`\end{aligned}`)
$$
\begin{aligned}
Data\,durability &=1-({AFR}/{\frac{365}{MTTR}}) ^{Parity} \\ \\ &=1 - (\frac{24*MTTR}{MTBF}) ^{Parity}
\end{aligned}
$$
`\begin{aligned}`
`Data\,durability &= 1-(\frac{AFR}{\frac{365}{MTTR}}) ^{Parity} \\ \\ &= 1 - (\frac{24*MTTR}{MTBF}) ^{Parity}`
`\end{aligned}`
==_使用`\\`換行,對齊處以`&`標註_==
$Data\,durability =1-( {AFR} / {{365} \over {MTTR}} ) ^{Parity}, \quad AFR = \frac {24*365}{MTBF}$
---
## 字母重音符號
$\quad \hat a :$ `\hat a`; $\quad \check a :$ `\check a`; $\quad \tilde a :$ `\tilde a`; $\acute a :$ `\acute a`; $\quad \grave a :$ `\grave a`;
$\quad \dot a :$ `\dot a`; $\quad \ddot a :$ `\ddot a`; $\quad \breve a :$ `\breve a`; $\quad \bar a :$ `\bar a`; $\quad \vec a :$ `\vec a`;
$\quad \widehat A :$ `\widehat A`; $\quad \widetilde A :$ `\widetilde A`
---
## 二元關係符號
$\quad < :$ `<`; $\quad > :$ `>`; $\quad = :$ `=`; $\quad \le :$ `\le`或`\leq`; $\quad \ge :$ `\ge`或`geq`; $\quad \equiv :$ `\equiv`;
$\quad \ll :$ `\ll`; $\quad \gg :$ `\gg`; $\quad \doteq :$ `\doteq`; $\quad \prec :$ `\prec`; $\quad \succ :$ `\succ`; $\quad \sim :$ `\sim`;
$\quad \preceq :$ `\preceq`; $\quad \succeq :$ `\succeq`; $\quad \simeq :$ `\simeq`; $\quad \subset :$ `\subset`; $\quad \approx :$ `\approx`;
$\quad \subseteq :$ `\subseteq`; $\quad \supseteq :$ `\supseteq`; $\quad \cong :$ `\cong`; $\quad \sqsubset :$ `\sqsubset`; $\quad \sqsupset :$ `\sqsupset`;
$\quad \Join :$ `\Join`==_J要大寫_==; $\quad \sqsubseteq :$ `\sqsubseteq`; $\quad \sqsupseteq :$ `\sqsupseteq`; $\quad \bowtie :$ `\bowtie`; $\quad \in :$ `\in`;
$\quad \ni :$ `\ni`或`\owns`; $\quad \propto :$ `\propto`; $\quad \vdash :$ `\vdash`; $\quad \dashv :$ `\dashv`; $\quad \models :$ `\models`; $\quad \mid :$ `\mid`;
$\quad \parallel :$ `\parallel`; $\quad \perp :$ `\perp`; $\quad \smile :$ `\smile`; $\quad \frown :$ `\frown`; $\quad \asymp :$ `\asymp`; $\quad : :$ `:`;
$\quad \notin :$ `\notin`; $\quad \ne :$ `\ne`或`\neq`;
---
## 二元運算符號
$\quad + :$ `+`; $- :$ `-`; $\quad \pm :$ `\pm`; $\quad \mp :$ `\mp`; $\quad \triangleleft :$ `\triangleleft`; $\quad \triangleright :$ `\triangleright`;
$\quad \cdot :$ `\cdot`; $\quad \div :$ `\div`; $\quad \times :$ `\times`; $\quad \setminus :$ `\setminus`; $\quad \star :$ `\star`; $\quad \cup :$ `\cup`;
$\quad \cap :$ `\cap`; $\quad \ast :$ `\ast`; $\quad \sqcup :$ `\sqcup`; $\quad \sqcap :$ `\sqcap`; $\quad \circ :$ `\circ`; $\quad \bullet :$ `\bullet`;
$\quad \diamond :$ `\diamond`; $\quad \lor :$ `\vee`或`\lor`; $\quad \wedge :$ `\wegde`或`\land`; $\quad \oplus :$ `\oplus`; $\quad \ominus :$ `\ominus`;
$\quad \odot :$ `\odot`; $\quad \oslash :$ `\oslash`; $\quad \otimes :$ `\otimes`; $\quad \bigcirc :$ `\bigcirc`; $\quad \uplus :$ `\uplus`; $\quad \amalg :$ `\amalg`;
$\quad \bigtriangleup :$ `\bigtriangleup`; $\quad \bigtriangledown :$ `\bigtriangledown`; $\quad \lhd :$ `\lhd`; $\quad \rhd :$ `\rhd`;
$\quad \unlhd :$ `\unlhd`; $\quad \unrhd :$ `\unrhd`; $\quad \dagger :$ `\dagger`; $\quad \ddagger :$ `\ddagger`; $\quad \wr :$ `\wr`;
---
## 大尺寸符號
$\quad \leftarrow :$ `\leftarrow`或`\gets`; $\quad \longleftarrow :$ `\longleftarrow`;
$\quad \rightarrow :$ `\right arrow`或`\to`; $\quad \longrightarrow :$ `\longrightarrow`;
$\quad \uparrow :$ `\uparrow`; $\quad \downarrow :$ `\downarrow`; $\quad \updownarrow :$ `\updownarrow`;
$\quad \leftrightarrow :$ `\leftrightarrow`; $\quad \longleftrightarrow :$ `\longleftrightarrow`;
$\quad \Leftarrow :$ `\Leftarrow`; $\quad \Rightarrow :$ `\Rightarrow`; $\quad \Longleftarrow :$ `\Longleftarrow`; $\quad \Longrightarrow :$ `\Longrightarrow`;
$\quad \Leftrightarrow :$ `\Leftrightarrow`; $\quad \Longleftrightarrow :$ `\Longleftrightarrow`;
$\quad \Uparrow :$ `\Uparrow`; $\quad \Downarrow :$ `\Downarrow`; $\quad \Updownarrow :$ `\Updownarrow`; $\quad \mapsto :$ `\mapsto`; $\quad \longmapsto :$ `\longmapsto`;
$\quad \nearrow :$ `\nearrow`; $\quad \searrow :$ `\searrow`; $\quad \swarrow :$ `\swarrow`; $\quad \nwarrow :$ `\nwarrow`;
$\quad \hookleftarrow :$ `\hookleftarrow`; $\quad \hookrightarrow :$ `\hookrightarrow`; $\quad \leftharpoonup :$ `\leftharpoonup`; $\quad \rightharpoonup :$ `\rightharpoonup`; $\quad \leftharpoondown :$ `\leftharpoondown`; $\quad \rightharpoondown :$ `\rightharpoondown`; $\quad \rightleftharpoons :$ `\rightleftharpoons`; $\quad \iff :$ `\iff`;
$\quad \leadsto :$ `\leadsto`;
---
## 定界符號
$\quad ( :$ `(`; $\quad ) :$ `)`; $\quad \lbrack :$ `[`或`\lbrack`; $\quad \rbrack :$ `]`或`\rbrack`; $\quad \lbrace :$ `\{`或`\lbrace`; $\quad \rbrace :$ `\}`或`\rbrace`;
$\quad \langle :$ `\langle`; $\quad \rangle :$ `\rangle`; $\quad \lfloor :$ `\lfloor`; $\quad \rfloor :$ `\rfloor`; $\quad \lceil :$ `\lceil`; $\quad \rceil :$ `\rceil`;
$\quad \uparrow :$ `\uparrow`; $\quad \Uparrow :$ `\Uparrow`; $\quad \downarrow :$ `\downarrow`; $\quad \Downarrow :$ `\Downarrow`;
$\quad \updownarrow :$ `\updownarrow`; $\quad \Updownarrow :$ `\Updownarrow`; $\quad \vert :$ `|`或`\vert`; $\quad \Vert :$ `\|`或`\Vert`;
$\quad / :$ `/`; $\quad \backslash :$ `\backslash`;
:::warning
例:
$\langle {(x-y)^2 \over (x+y)^2} \rangle : \quad$ `\langle {(x-y)^2 \over (x+y)^2} \rangle`
$$
\lceil {\sum^x_{i=0}i^2}, \int_{i=0}^xi^2 \rfloor
$$
`\lceil {\sum^x_{i=0}i^2}, \int_{i=0}^xi^2 \rfloor`
:::
---
## 大尺寸定界符號
$\quad \lgroup :$ `\lgroup`; $\quad \rgroup :$ `\rgroup`; $\quad \lmoustache :$ `\lmoustache`; $\quad \rmoustache :$ `\rmoustache`;
$\quad \arrowvert :$ `\arrowvert`; $\quad \Arrowvert :$ `\Arrowvert`; $\quad \bracevert :$ `\bracevert`;
---
## 數學符號表
$\quad \dots :$ `\dots`; $\quad \cdots :$ `\cdots`; $\quad \vdots :$ `\vdots`; $\quad \ddots :$ `\ddots`; $\quad \hbar :$ `\hbar`;
$\quad \imath :$ `\imath`; $\quad \jmath :$ `\jmath`; $\quad \ell :$ `\ell`; $\quad \Re :$ `\Re`; $\quad \Im :$ `\Im`; $\quad \aleph :$ `\aleph`; $\quad \wp :$ `\wp`;
$\quad \forall :$ `\forall`; $\quad \exists :$ `\exists`; $\quad \mho :$ `\mho`; $\quad \partial :$ `\partial`; $\quad ' :$ `'`; $\quad '' :$ `''`; $\quad \prime :$ `\prime`;
$\quad \emptyset :$ `\emptyset`; $\quad \infty :$ `\infty`; $\quad \nabla :$ `\nabla`; $\quad \triangle :$ `\triangle`; $\quad \Box :$ `\Box`;
$\quad \Diamond :$ `\Diamond`; $\quad \bot :$ `\bot`; $\quad \top :$ `\top`; $\quad \angle :$ `\angle`;
$\quad \diamondsuit :$ `\diamondsuit`; $\quad \heartsuit :$ `\heartsuit`; $\quad \clubsuit :$ `\clubsuit`; $\quad \spadesuit :$ `\spadesuit`;
$\quad \lnot :$ `\neg`或`lnot`; $\quad \flat :$ `\flat`; $\quad \natural :$ `\natural`; $\quad \sharp :$ `\sharp`;
---
## 字體
$\quad \mathcal{ABC@123.abc測試} :$ `\mathcal{ABC@123.abc}`;
$\quad \mathbb{ABC@123.abc測試} :$ `\mathbb{ABC@123.abc}`;
$\quad \mathbf{ABC@123.abc測試} :$ `\mathbf{ABC@123.abc}`;
$\quad \mathfrak{ABC@123.abc測試} :$ `\mathfrak{ABC@123.abc}`;
$\quad \mathit{ABC@123.abc測試} :$ `\mathit{ABC@123.abc}`;
$\quad \mathrm{ABC@123.abc測試} :$ `\mathrm{ABC@123.abc}`;
$\quad \mathsf{ABC@123.abc測試} :$ `\mathsf{ABC@123.abc}`;
$\quad \mathscr{ABC@123.abc測試} :$ `\mathscr{ABC@123.abc}`;
$\quad \mathtt{ABC@123.abc測試} :$ `\mathtt{ABC@123.abc}`;
$\quad \textit{<italic>ABC@123.abc} :$ `\textit{<italic>ABC@123.abc}`
$\quad \textbf{<boldface>ABC@123.abc} :$ `\textbf{<boldface>ABC@123.abc}`
$\quad \textrm{<roman>ABC@123.abc} :$ `\textrm{<roman>ABC@123.abc}`
$\quad \textsf{<sans serif>ABC@123.abc} :$ `\textsf{<sans serif>ABC@123.abc}`
$\quad \texttt{<typewriter>ABC@123.abc} :$ `\texttt{<typewriter>ABC@123.abc}`
### 大小
$\quad \tiny tiny - ABC@123.abc測試 :$ `\tiny tiny - ABC@123.abc測試`
$\quad \scriptsize script size - ABC@123.abc測試 :$ `\scriptsize script size - ABC@123.abc測試`
$\quad \small small - ABC@123.abc測試 :$ `\small small - ABC@123.abc測試`
$\quad \normalsize normal \, size - ABC@123.abc測試 :$ `\normalsize normal size - ABC@123.abc測試`
$\quad \large large - ABC@123.abc測試 :$ `\large large - ABC@123.abc測試`
$\quad \Large Large - ABC@123.abc測試 :$ `\Large Large - ABC@123.abc測試`
$\quad \LARGE LARGE - ABC@123.abc測試 :$ `\LARGE LARGE - ABC@123.abc測試`
$\quad \huge huge - ABC@123.abc測試 :$ `\huge huge - ABC@123.abc測試`
$\quad \Huge Huge - ABC@123.abc測試 :$ `\Huge Huge - ABC@123.abc測試`
---
## AMS常用其它符號(節錄)
$\quad \hbar :$ `\hbar`; $\quad \hslash :$ `\hslash`; $\quad \Bbbk :$ `\Bbbk`; $\quad \square :$ `\square`; $\quad \blacksquare :$ `\blacksquare`;
$\quad \circledS :$ `\circledS`; $\quad \vartriangle :$ `\vartriangle`; $\quad \blacktriangle :$ `\blacktriangle`; $\quad \triangledown :$ `\triangledown`;
$\quad \blacktriangledown :$ `\blacktriangledown`; $\quad \lozenge :$ `\lozenge`; $\quad \blacklozenge :$ `\blacklozenge`; $\quad \complement :$ `\complement`;
$\quad \Game :$ `\Game`; $\quad \bigstar :$ `\bigstar`; $\quad \measuredangle :$ `\measuredangle`; $\quad \sphericalangle :$ `\sphericalangle`;
$\quad \diagup :$ `\diagup`; $\quad \diagdown :$ `\diagdown`; $\quad \backprime :$ `\backprime`; $\quad \nexists :$ `\nexists`; $\quad \Finv :$ `\Finv`;
$\quad \varnothing :$ `\varnothing`; $\quad \eth :$ `\eth`;
---
## AMS二元關係符(節錄)
$\quad \therefore :$ `\therefore`; $\quad \because :$ `\because`; $\quad \leqq :$ `\leqq`; $\quad \geqq :$ `\geqq`; $\quad \Doteq :$ `\doteqdot`或`\Ddoteq`;
$\quad \thickapprox :$ `\thickapprox`; $\quad \between :$ `\between`; $\quad \blacktriangleleft :$ `\blacktriangleleft`; $\quad \blacktriangleright :$ `\blacktriangleright`;
---
## AMS箭頭(節錄)
$\quad \leftrightarrows :$ `\leftrightarrows`; $\quad \rightleftarrows :$ `\rightleftarrows`; $\quad \Leftarrow :$ `\Leftarrow`; $\quad \Rightarrow :$ `\Rightarrow`;
$\quad \leftarrowtail :$ `\leftarrowtail`; $\quad \rightarrowtail :$ `\rightarrowtail`; $\quad \leftrightharpoons :$ `\leftrightharpoons`;
$\quad \rightleftharpoons :$ `\rightleftharpoons`; $\quad \Lsh :$ `\Lsh`; $\quad \Rsh :$ `\Rsh`; $\quad \rightsquigarrow :$ `\rightsquigarrow`;
$\quad \looparrowleft :$ `\looparrowleft`; $\quad \looparrowright :$ `\looparrowright`;
$\quad \curvearrowleft :$ `\curvearrowleft`; $\quad \curvearrowright :$ `\curvearrowright`;
$\quad \circlearrowleft :$ `\circlearrowleft`; $\quad \circlearrowright :$ `\circlearrowright`; $\quad \leftrightsquigarrow :$ `\leftrightsquigarrow`;
---
## 數學函數(例)
$\quad \lim_{x \rightarrow 0} :$ `\lin_{x \rightarrow 0}`
或
$$
\lim_{x \rightarrow 0}
$$
`\lim_{x \rightarrow 0}`
---
## 矩陣語法
### 使用`\left ... \right`與/或`\begin{matrix}... \end{matrix}`。
語法:
1. 無括號(直接使用`\begin{matrix}...\end{matrix}`):
$\left. \begin{matrix} a & b \\ c & d \end{matrix} \right.$
`\left. \begin{matrix} a & b \\ c & d \end{matrix} \right.`
或
$\begin{matrix} a & b \\ c & d\end{matrix}$
`\begin{matrix} a & b \\ c & d\end{matrix}`;
2. 小括號:
$\left( \begin{matrix} a & b \\ c & d \end{matrix} \right)$
`\left( \begin{matrix} a & b \\ c & d \end{matrix} \right)`
或
$\begin{pmatrix} a & b \\ c & d \end{pmatrix}$
`\begin{pmatrix} a & b \\ c & d \end{pmatrix}`
3. 中括號:
$\left[ \begin{matrix} a & b \\ c & d \end{matrix} \right]$
`\left[ \begin{matrix} a & b \\ c & d \end{matrix} \right]`
或
$\begin{bmatrix} a & b \\ c & d \end{bmatrix}$
`\begin{bmatrix} a & b \\ c & d \end{bmatrix}`
4. 大括號:
$\left\{ \begin{matrix} a & b \\ c & d \end{matrix} \right\}$
`\left\{ \begin{matrix} a & b \\ c & d \end{matrix} \right\}`
或
$\begin{Bmatrix} a & b \\ c & d \end{Bmatrix}$
`\begin{Bmatrix} a & b \\ c & d \end{Bmatrix}`
4. 垂直線:
$\left\vert \begin{matrix} a & b \\ c & d \end{matrix} \right\vert$
`\left\vert \begin{matrix} a & b \\ c & d \end{matrix} \right\vert`
或
$\begin{vmatrix} a & b \\ c & d \end{vmatrix}$
`\begin{vmatrix} a & b \\ c & d \end{vmatrix}`
5. 雙垂直線:
$\left\Vert \begin{matrix} a & b \\ c & d \end{matrix} \right\|$
`\left\Vert \begin{matrix} a & b \\ c & d \end{matrix} \right\|`
==`\Vert`與`\|`互通==
或
$\begin{Vmatrix} a & b \\ c & d \end{Vmatrix}$
`\begin{Vmatrix} a & b \\ c & d \end{Vmatrix}`
:::warning
例一 (注意各式括號的產生方式)
$$
\left(
\begin{bmatrix}
8 & 3 & 4 \\
1 & 5 & 9 \\
6 & 7 & 2
\end{bmatrix}
\right \}
\tag{a}
$$
`$$`
` \left(`
` \begin{bmatrix}`
` 8 & 3 & 4 \\`
` 1 & 5 & 9 \\`
` 6 & 7 & 2`
` \end{bmatrix}`
` \right\} \tag{a}`
`$$`
:::
### 使用`\begin{array}{__|_}...\end{array}`
`{__|_}`語法可調整矩陣各元素的分割與對齊方式。
:::warning
例二
$$
\left[ \begin{pmatrix}
\begin{array}{c|cc}
1 & 2 & 3 \\
4 & 5 & 6
\end{array}
\end{pmatrix}
\right\}
$$
`\left[ \begin{pmatrix}`
` \begin{array}{c|cc}`
` 1 & 2 & 3 \\`
` 4 & 5 & 6`
` \end{array}`
` \end{pmatrix}`
`\right\}`
:::
### 包含文字,使用`\mbox{}`
:::warning
例三 (注意`\right.`)
$$
g(x,y) = \left\{\begin{array}{ll}
f(x,y), & \mbox{if $x<y$} \\ % 文字的部份要用 \mbox
f(y,x), & \mbox{if $x>y$} \\ % 包住,讓他使用正常字體
0, & \mbox{otherwise.}
\end{array} \right.
$$
`g(x,y) = \left\{\begin{array}{ll}`
`f(x,y), & \mbox{if $x<y$} \\ % 文字的部份要用 \mbox`
`f(y,x), & \mbox{if $x>y$} \\ % 包住,讓他使用正常字體`
`0, & \mbox{otherwise.}`
`\end{array} \right.`
:::
:::warning
例四 (增廣矩陣):
$$
\left[
{\begin{array}{c|c}
\begin{matrix}
1 & 12 & 3 & 8 \\
14 & 5 & 16 &21\\
7 & 18 & 9 &7 \\
23 & 0 & -1 &8\\
\end{matrix}&
\begin{matrix}
1 & 4 \\
2 & 5 \\
3 & 6 \\
13 & 26 \\
\end{matrix}
\end{array}}
\right]
$$
`\left[ `
`{\begin{array}{c|c}`
`\begin{matrix}`
`1 & 12 & 3 & 8 \\`
`14 & 5 & 16 &21\\`
`7 & 18 & 9 &7 \\`
`23 & 0 & -1 &8\\`
`\end{matrix}&`
`\begin{matrix}`
`1 & 4 \\`
`2 & 5 \\`
`3 & 6 \\`
`13 & 26 \\`
`\end{matrix}`
`\end{array}} `
`\right]`
:::
---
## HTML部份語法
### 字型相關
  <font color=#FF0000>文字顏色一</font> `<font color=#FF0000>文字顏色一</font>`
或
  <font style="color:blue;">文字顏色二</font> `<font style="color:blue;">文字顏色二</font>`
  <font style="background-color:#ccffff;">文字背景</font> `<font style="background-color:#ccffff;">文字背景</font>`
  <font style="font-family:verdana;">verdana字型ABCabc123</font> `<font style="font-family:verdana;">verdana字型ABCabc123</font>`
  <font style="font-family:標楷體;">標楷體字型ABCabc123</font> `<font style="font-family:標楷體;">標楷體字型ABCabc123</font>`
  <span style="font-family:serif;">serif字型ABCabc123</span>`<span style="font-family:serif;">serif字型ABCabc123</span>`
  <span style="font-family:sans-serif;">sans-serif字型ABCabc123</span>`<span style="font-family:sans-serif;">sans-serif字型ABCabc123</span>`
  <span style="font-family:cursive;">cursive字型ABCabc123</span>`<span style="font-family:cursive;">cursive字型ABCabc123</span>`
  <span style="font-family:fantasy;">fantasy字型ABCabc123</span>`<span style="font-family:fantasy;">fantasy字型ABCabc123</span>`
  <span style="font-family:monospace;">monospace字型ABCabc123</span>`<span style="font-family:monospace;">monospace字型ABCabc123</span>`
  <span style="font-family:MingLiU;">細明體字型ABCabc123</span>`<span style="font-family:MingLiU;">細明體字型ABCabc123</span>`
  <span style="font-family:PMingLiU;">新細明體字型ABCabc123</span>`<span style="font-family:PMingLiU;">新細明體字型ABCabc123</span>`
  <span style="font-family:DFKai-sb;">標楷體字型ABCabc123</span>`<span style="font-family:DFKai-sb;">標楷體字型ABCabc123</span>`
  <span style="font-family:Microsoft JhengHei;">微軟正黑體字型ABCabc123</span>`<span style="font-family:Microsoft JhengHei;">微軟正黑體字型ABCabc123</span>`
  <font style="font-size:200%;">文字大小</font> `<font style="font-size:200%;">文字大小</font>`
  <font style="font-size:150%; text-shadow: -5px 4px 3px #808080;">文字陰影。左移5像素,下移4像素,模糊半徑3像素,顏色#808080</font>`<font style="font-size:150%; text-shadow: -5px 4px 3px #808080;">文字陰影。左移5像素,下移4像素,模糊半徑3像素,顏色#808080</font>`
### 空格相關
$\square\square$ `(No space)`
$\square$ $\square$ ` `
$\square$ $\square$ ` `
$\square$ $\square$ ` `
---
### 常用顏色表
https://www.ifreesite.com/color/web-color-code.htm
---
## Emoji
https://www.webfx.com/tools/emoji-cheat-sheet/
https://emojipedia.org/emoji-15.0/
➖ ✔ ✖ :x: :o: :ballot_box_with_check: :white_large_square:
## 小圖示
✨ 🤜 🤛 🏼 🤝 🥢 🏠 🏖 💰 🚗 👉 📖 👍 📅 ⏰ 📍 ⬇️