6

用LaTex写公式中的括号

 3 years ago
source link: https://www.maixj.net/wz/latex-kuohao-24306
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

用LaTex写公式中的括号

2021年1月9日 / 13次阅读MathJax

本文总结LaTex语法各种括号的写法,以及让括号自适应高度的方法。

小括号:()

中括号或方:[]

尖括号:\langle, \rangle

大括号:\{,\}

(13)

[13]

⟨13⟩

{13}

有时在显示分数的时候,需要让括号的高度能够与分数的高度匹配起来,这时就需要用到 \left 和 \right 语法,用这两个语法来分别表示左边和右边的括号,比如 \left(......\right):

(11+13)

[11+13]

⟨11+13⟩

{11+13}

不要粗暴地使用 \left(...\right)\left[...\right]\left\{...\right\} 同理),用 \big\bigg\Big\Bigg 会更美观。在写单边括号时我个人还喜欢使用 \bigl\{ 或 \bigr\} 这种。

\big: {11+13}

\bigg: {11+13}

\Big: {11+13}

\Bigg: {11+13}

再来一个猛的:

\Biggl(\biggl(\Bigl(\bigl((x)\bigr)\Bigr)\biggr)\Biggr),效果如下:

(((((x)))))

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK