Upd 2024年4月22日
\[\boxed{\bbox[#ff0000]{\text{little}\frac{0}{9}}}
\]
Upd 2024年1月4日
映射
\[\mapsto
\]
Upd 2023年7月12日
\[2\text{KMnO}_4\overset{\Delta}=\text{K}_2\text{MnO}_4+\text{MnO}_2+\text{O}_2\uparrow
\]
Upd 2022年9月21日
斯特林数
\[{a\brace b}{c\brack d}
\]
基向量
\[\hat\imath\hat\jmath\widehat{qwq}
\]
上下划线(下降幂)
\[\bar a\ \overline{bc}\ \underline{cde}
\]
上下水平大括号
\[\underbrace{\overbrace{a+b}^{2}+c}_{3}
\]
黑红梅方
\[\spadesuit\heartsuit\clubsuit\diamondsuit
\]
章节
\[\P \ \S
\]
基础
行内公式 \(\dfrac{F}{S}=\displaystyle\sum p\) 这样变大为行间公式的大小。
行间公式
\[\textstyle\frac{F}{S}=\sum p
\]
这样变小为行内公式的大小。
符号
\(\leqslant \geqslant\) 珍爱生命,请用:\(\le \ge\)
\(\pm\dfrac{1}{a}\)
\(\bmod \equiv \pmod{p}\)
\(\% \& \_\)
\(\in \subseteq \subsetneq\)
\(\cap \cup \lor \land\)
\(\forall \exists\)
\(\perp \angle \ 1^\circ\)
\(\sqrt[n]{x}\)
\(\cong\sim\)
\(\because \therefore\)
\(\not\! 5 \ne \nleqslant \notin \nsubseteq \nexists\)
矩阵
\[\begin{bmatrix}
a&{\color{blue}\dots} &b
\\
\vdots&\ddots &\vdots
\\
c&{\color{green}\cdots} &d
\end{bmatrix}
\begin {matrix}a&b\\c&d\end {matrix}
\begin{vmatrix}a&b\\c&d\end{vmatrix}
\begin{Bmatrix}a&b\\c&d\end{Bmatrix}
\begin{pmatrix}a&b\\c&d\end{pmatrix}
\]
Aligned & Cases
\(\begin{aligned} a_1 & = 1 \\ a_2 & = 2 \\ & \dots \\ a_n & = n \end{aligned}\)
\(f(x)=\begin{cases} x & x\geqslant0 \\ x^{-1} & x<0 \end{cases}\)
箭头
\(\implies \iff\)
\(\uparrow\downarrow\leftarrow\rightarrow\leftrightarrow\updownarrow\)
\(\Uparrow\Downarrow\Leftarrow\Rightarrow\Leftrightarrow\Updownarrow\)
函数
\(\text{qwq}(x,y)\gcd(x,y)\min(x,y)\max(x,y)\)
\(\text{Sort}_{id=0}^{n-1}\max\limits_{m=1}^p\sum\limits_{i=1}^n\prod\limits_{j=1}^n\lim\limits_{k\to\infty}\int_{i}^{j}e^x \text dx\)
括号
\(\binom{4}{2}\)
\(\left(\dfrac{y}{x+\dfrac{2}{3}}\right)^5\)
此功能(使用 \left 和 \right)可以推广到不同的括号
$\left\lfloor\dfrac{\lceil\frac{1}{2}\rceil}{2}\right\rfloor $
Array
\[\begin{array}{|lcr|c|}
\hline
\text{left} & \text{center} & \text{right} & \text{vertical dividing}
\\
\hline
\Box & \Box & \Box & \text{hline}\downarrow
\\
\hline
\Box\Box & \Box\Box & \Box\Box & \text{no hline}\downarrow
\\
\end{array}
\]
\[\begin{array}{rcl|c}
\text{use} & = & \text{array} \qquad & \text{(or)}
\\
& \ge & \text{aligned}^{[1]} &
\\
\text{is} & = & \text{up}+\text{to}+\text{you} & \blacksquare
\\ \hline
^{[1]}\text{114514}
\end{array}
\]
\[\boxed{
\begin{array}{l}
\textbf{def: } \mathrm{five}(a,b)
\\ \qquad
\textbf{if } (a \text{ is a leaf node})
\\ \qquad\qquad
\textbf{return } b
\\ \qquad
\textbf{else}
\\ \qquad\qquad
\textbf{return } a
\\ \qquad
\textbf{endif.}
\\
\textbf{enddef.}
\end{array}
}
\]
字体与希腊字母
\(\text{对任意的 } x > 0 \text{,有 } f(x) > 0 \text{。}\)
希腊字母不放了。
\(\aleph\) 希伯来文
\[\mathbb{Aa0}\
\mathtt{Aa0}\
\mathcal{Aa0}\
\text{Aa0}\
\mathfrak{Aa0}\
\mathscr{Aa0}
\]
\[\Huge \pi
\huge \pi
\LARGE \pi
\Large \pi
\large \pi
\normalsize \pi
\small \pi
\tiny \pi
\]
\[\color{red}S
\color{orange}h
\color{yellow}a
\color{yellowgreen}o
\color{cyan}j
\color{blue}i
\color{purple}a
\]
\[\blacksquare\!
\Box
\blacksquare\,
\Box\:
\blacksquare\;
\Box\
\blacksquare\quad
\Box\qquad
\blacksquare
\]