大括号显示
\begin{equation}
\left\{
\begin{array}{**lr**}
x=\dfrac{3\pi}{2}(1+2t)\cos(\dfrac{3\pi}{2}(1+2t)), & \\
y=s, & 0\leq s\leq L,|t|\leq1.\\
z=\dfrac{3\pi}{2}(1+2t)\sin(\dfrac{3\pi}{2}(1+2t)), &
\end{array}
\right.
\end{equation}
\begin{equation}
\left\{
\begin{array}{**rcl**}
IF_{k}(\hat{t}_{k,m})=IF_{m}(\hat{t}_{k,m}), & \\
IF_{k}(\hat{t}_{k,m}) \pm h= IF_{m}(\hat{t}_{k,m}) \pm h , &\\
\left |IF'_{k}(\hat{t}_{k,m} - IF'_{m}(\hat{t}_{k,m} \right |\geq d , &
\end{array}
\right.
\end{equation}
$$ f(x)=\left\{
\begin{aligned}
x & = & \cos(t) \\
y & = & \sin(t) \\
z & = & \frac xy
\end{aligned}
\right.
$$
$$ F^{HLLC}=\left\{
\begin{array}{rcl}
F_L & & {0 < S_L}\\
F^*_L & & {S_L \leq 0 < S_M}\\
F^*_R & & {S_M \leq 0 < S_R}\\
F_R & & {S_R \leq 0}
\end{array} \right. $$
$$f(x)=
\begin{cases}
0& \text{x=0}\\
1& \text{x!=0}
\end{cases}$$
\end{CJK*}
\end{document}
功能 语法 显示
不好看
\frac{1}{2}
(12)
好一点
\left( \frac{1}{2} \right)
(12)
您可以使用\left和\right来显示不同的括号:
功能 语法 显示
圆括号,小括号
\left( \frac{a}{b} \right)
(ab)
方括号,中括号
\left[ \frac{a}{b} \right]
[ab]
花括号,大括号
\left\{ \frac{a}{b} \right\}
{ab}
角括号 \left \langle \frac{a}{b} \right \rangle
⟨ab⟩
单竖线,绝对值 \left| \frac{a}{b} \right|
∣∣ab∣∣
双竖线,范 \left | \frac{a}{b} \right |
∥∥ab∥∥
取整函数
(Floor function)\left \lfloor \frac{a}{b} \right \rfloor
⌊ab⌋
取顶函数
(Ceiling function) \left \lceil \frac{c}{d} \right \rceil
⌈cd⌉
斜线与反斜线 \left / \frac{a}{b} \right \backslash
/ab\
上下箭头 \left \uparrow \frac{a}{b} \right \downarrow
↑⏐ab⏐↓
\left \Uparrow \frac{a}{b} \right \Downarrow
⇑‖ab‖⇓
\left \updownarrow \frac{a}{b} \right \Updownarrow
↑↓ab⇑⇓
混合括号 \left [ 0,1 \right )\left \langle \psi \right |
[0,1)⟨ψ|
单左括号 \left \{ \frac{a}{b} \right .
{ab
单右括号 \left . \frac{a}{b} \right \}
ab}
备注:
可以使用\big, \Big, \bigg, \Bigg控制括号的大小,比如代码\Bigg ( \bigg [ \Big { \big \langle \left | | \frac{a}{b} | \right | \big \rangle \Big } \bigg ] \Bigg )显示
\Bigg ( \bigg [ \Big \{ \big \langle \left | \| x \| \right | \big \rangle \Big \} \bigg ] \Bigg )
([{⟨|∥x∥|⟩}])