Latex
https://en.wikibooks.org/wiki/LaTeX/Mathematics
https://www.cmor-faculty.rice.edu/~heinken/latex/symbols.pdf
$...$
, Ex:code: $\sum_{i=0}^n i^2 = \frac{(n^2+n)(2n+1)}{6}$
輸出為:
$$..$$
, EX:code: $$\sum_{i=0}^n i^2 = \frac{(n^2+n)(2n+1)}{6}$$
輸出為:
上標: ^
Ex: code:$x^2$
輸出:
下標: _
Ex:x_2
輸出:
Ex:
code:C^2_3
一個字的向量 : \vec
、 \hat
Ex: $\vec a$
輸出:
注意vec後面要空格
Ex : $\hat a$
輸出 :
bar:\bar
EX: $\bar u$
輸出:
多個字的向量 : \overrightarrow{}
Ex : $\overrightarrow{xy}$
輸出 :
射線 : \overrightarrow
、$\overleftrightarrow$
Ex : $\overrightarrow {xy}$
、 $\overleftrightarrow {xy}$
輸出 :
$\mathtt{A}$
$\mathbb{A}$
$\mathscr{A}$
$\mathrm{A}$
$\mathfrak{A}$
$\langle$
$\rangle$
$\left(...\right)$
$\lbrace$
$\rbrace$
Ex:
$\left(\frac{a}{b}\right)$
輸出:
$\lfloor ____ \rfloor$
$\lceil ____ \rceil$
$\vert ____ \vert$
$\Vert ____ \Vert$
$\sum$
Ex: $\sum_{i=1}^n{a_i}$
輸出:
$\lim$
Ex :$\lim_{x\to 0}$
輸出 :
$\int$
Ex : $\int_0^xf(x)dx$
輸出 :
$\iint
Ex : $\iint_0^xf(x)dx$
輸出 :
(三個同理 -> iiint)
\frac
$\frac{分子}{分母}$
$\cfrac{分子}{分母}$
\sqrt
$\sqrt[x]{y}$
Ex :
$\sin x$
,輸出 :
Ex :$ln x$
,輸出 :
Ex :$max(A,B,C)$
,輸出 :
_
為空白
Ex :$a__b$
,輸出 :
Ex :$a\ b$
,輸出 :
Ex :$a____b$
,輸出 :
Ex :$a\quad b$
,輸出 :
$$\begin{matrix}
、 結束 : \end{matrix}
$$\begin{matrix}
1 & 0 & 0 \\
0 & 1 & 0 \\
0 & 0 & 1 \\
\end{matrix}$$
pmatrix:小括號邊框
bmatrix:中括號邊框
Bmatrix:大括號邊框
vmatrix:單豎線邊框
Vmatrix:雙豎線邊框
舉例:
$$\begin{bmatrix}
1 & 0 & 0 \\
0 & 1 & 0 \\
0 & 0 & 1 \\
\end{bmatrix}$$
輸出:
\ begin{cases}
、 結束:\ end{cases}
\\
換行\tag{n}
舉例:
$$ \begin{cases}
a_1x+b_1y+c_1z=d_1\\
a_2x+b_2y+c_2z=d_2\\
a_3x+b_3y+c_3z=d_3\\
\end{cases}$$
輸出:
舉例:$f(x)=x\tag{1}$
輸出:
顯示 | code | 顯示 | code |
---|---|---|---|
$\alpha$ |
$\beta$ |
||
$\gamma$ |
$\delta$ |
||
$\epsilon$ |
$\zeta$ |
||
$\eta$ |
$\theta$ |
||
$\iota$ |
$\kappa$ |
||
$\lambda$ |
$\mu$ |
||
$\nu$ |
$\xi$ |
||
$\pi$ |
$\rho$ |
||
$\sigma$ |
$\tau$ |
||
$\upsilon$ |
$\phi$ |
||
$\chi$ |
$\psi$ |
||
$\omega$ |
顯示 | code | 顯示 | code |
---|---|---|---|
$\mp$ |
$\times$ |
||
$\ast$ |
$\star$ |
||
$\circ$ |
$\bullet$ |
||
$\cdot$ |
$\div$ |
||
$\sum$ |
$\prod$ |
||
$\coprod$ |
$\oplus$ |
||
$\bigoplus$ |
$\ominus$ |
||
$\bigotimes$ |
$\oslash$ |
||
$\odot$ |
$\bigodot$ |
||
$\diamond$ |
$\bigtriangleup$ |
||
$\triangleleft$ |
$\triangleright$ |
||
$\bigcirc$ |
$\not\lt$ |
||
$\lt$ |
$\gt$ |
||
$\le$ |
$\leq$ |
||
$\leqq$ |
$\leqslant$ |
||
$\ge$ |
$\geqq$ |
||
$\geqslant$ |
$\neq$ |
||
$\cup$ |
$\cap$ |
||
$\setminus$ |
$\subset$ |
||
$\subseteq$ |
$\subsetneq$ |
||
$\supset$ |
$\in$ |
||
$\notin$ |
$\emptyset$ |
||
$\varnothing$ |
$\to$ |
||
$\rightarrow$ |
$\leftarrow$ |
||
$\Rightarrow$ |
$\Leftarrow$ |
||
$\mapsto$ |
$\land$ |
||
$\lor$ |
$\lnot$ |
||
$\forall$ |
$\exists$ |
||
$\top$ |
$\bot$ |
||
$\vdash$ |
$\vDash$ |
||
$\approx$ |
$\sim$ |
||
$\simeq$ |
$\cong$ |
||
$\equiv$ |
$\prec$ |
||
$\lhd$ |
$\therefore$ |
||
$\infty$ |
$\aleph_0$ |
||
$\nabla$ |
$\partial$ |
||
$\Im$ |
$\Re$ |
||
$\ldots$ |
$\cdots$ |
||
$\ddots$ |
$\vdots$ |