acm选手的LaTex速成笔记

LaTeX速成

规范以及一些特殊符号

\(代表行中公式 快捷键ctrl+m\)

\[代表段中公式 \]

\dots | \(\dots\)

数学公式

数学符号:
=,>,<,直接输入

符号 输入 输出
\ne $\ne $
\ge $\ge $
\le $\le $
\approx \(\approx\)
\equiv $\equiv $
× \times $\times $
÷ \div $\div $
· \cdot $\cdot $
± \pm $\pm $
sin \sin \(\sin(2\theta)\)

^与_:上标与下标, {内容括号}

a^n a_n a^ a_
\(a^n\) \(a_n\) \(a^{n + n}\) \(a_{n + n}\)

'与上标表示导数

f'(x) f^{3}(x)
\(f'(x)\) \(f^{3}(x)\)

\frac{分子}{分母}, \cfrac

\frac{x+1} \frac{x+1}{x+\cfrac{x+1}{x}}
\(\frac{x+1}{x}\) \(\frac{x+1}{x+\cfrac{x+1}{x}}\)

\sqrt[次数]{根式}

\sqrt[n]
\(\sqrt[n]{x + n}\)

\lim_{极限}

\lim_{x \rightarrow 0} \frac{\sin x}{x}=1
\(\lim_{x \rightarrow 0} \frac{\sin x}{x}=1\)

\int_{下界}^{上界} 积分, \sum_{下界}^{上界} 求和

\int_{0}{1} x \sum_{i = 1}^{N} i \prod_{i = 1}^{N} i
\(\int_{0}^{1} x\) \(\sum_{i = 1}^{N} i\) \(\prod_{i = 1}^{N} i\)

\xrihgtarrow或\to, \leftarrow或\gets

a\xrightarrow{x} b a\xleftarrow{x} b
\(a\xrightarrow{x} b\) \(a\xleftarrow{x} b\)

\langle, \rangle, \overbrace, \underbrace, \lceil \rceil, \lfloor, \rfloor

\langle \rangle \overbrace \underbrace
\(\langle\) \(\rangle\) \(\overbrace 2\) \(\underbrace 1\)
\lceil \rceil \lfloor \rfloor
\(\lceil\) \(\rceil\) \(\lfloor\) \(\rfloor\)

以上是基本的latex公式,足以应付大多数公式的输入需求,以下是官方的文档地址:
https://mirrors.tuna.tsinghua.edu.cn/CTAN/info/lshort/chinese/lshort-zh-cn.pdf

posted @ 2021-03-11 23:01  Clo91eaf  阅读(166)  评论(0)    收藏  举报