LaTex数学公式语法
阅读数:353 评论数:0
跳转到新版页面分类
数学
正文
加减
a+b=$a+b$, a-b=$a-b$, a\times b=$a\times b$, a\div b=$a\div b$
a\cdot b = $a\cdot b$
幂运算
a^x=$a^x$, a^{xyz}=$a^{xyz}$, \sqrt{x}=$\sqrt{x}$, \sqrt[n]{x}=$\sqrt[n]{x}$
逻辑运算
\oplus=$\oplus$, \vee=$\vee$, \wedge=$\wedge$
绝对值,
\left| x \right| =$\left| x \right|$
反斜杠:\backslash=$\backslash$
分式
\frac{x]{y}=$\frac{x}{y}$
其他运算
\iint=$\iint$,\iiint=$\iiint$,\iiiint=$\iiiint$,\oint=$\oint$
{\circ\kern-8pt\int\kern-6.5pt\int}=${\circ\kern-8pt\int\kern-6.5pt\int}$
{{\circ}\kern-7pt{\int}\kern-5pt{\int}\kern-5pt{\int}}=${{\circ}\kern-7pt{\int}\kern-5pt{\int}\kern-5pt{\int}}$
\sum = $\sum$, \int = $\int$, \oint = $\oint$, \prod=$\prod$
\pm=$\pm$, \mp=$\mp$, \triangleleft=$\triangleleft$, \triangleright=$\triangleright$
\setminus=$\setminus$, \star=$\star$, \cup=$\cup$ ,\cap=$\cap$, \ast=$\ast$, \sqcup=$\sqcup$
\sqcap=$\sqcap$, \circ=$\circ$, \vee=$\vee$, \wedge=$\wedge$, \bullet=$\bullet$, \oplus=$\oplus$
\ominus=$\ominus$, \diamond=$\diamond$, \odot=$\odot$, \oslash=$\oslash$, \uplus=$\uplus$
\otimes=$\otimes$, \bigcirc=$\bigcirc$, \amalg=$\amalg$, \bigtriangleup=$\bigtriangleup$
\bigtriangledown=$\bigtriangledown$, \dagger=$\dagger$, \lhd=$\lhd$, \rhd=$\rhd$
\ddagger=$\ddagger$, \unlhd=$\unlhd$, \unrhd=$\unrhd$, \wr=$\wr$
\bigcup=$\bigcup$, \bigvee=$\bigvee$, \bigoplus=$\bigoplus$, \bigcap=$\bigcap$, \bigwedge=$\bigwedge$, \bigotimes=$\bigotimes$, \coprod=$\coprod$, \bigsqcup=$\bigsqcup$
\bigodot=$\bigodot$, \biguplus=$\biguplus$
判等
\not= = $\not=$, \approx = $\approx$, \equiv = $\equiv$, \gg = $\gg$
\le = $\le$, \ge=$\ge$, \ll = $\ll$, \doteq=$\doteq$, \prec=$\prec$, \succ=$\succ$,
\sim=$\sim$, \preceq=$\preceq$, \succeq=$\succeq$, \simeq=$\simeq$
\cong=$\cong$,
集合
\in = $\in$, \ni = $\ni$, \subset = $\subset$
\supset = $\supset$, \subseteq = $\subseteq$, \supseteq=$\supseteq$
\sqsubset=$\sqsubset$, \sqsupset=$\sqsupset$, \Join=$\Join$, \sqsubseteq=$\sqsubseteq$,
\sqsupseteq=$\sqsupseteq$, \bowtie=$\bowtie$, \propto=$\propto$, \vdash=$\vdash$, \dashv=$\dashv$
\models=$\models$, \mid=$\mid$, \parallel=$\parallel$, \perp=$\perp$, \smile=$\smile$, \frown=$\frown$
\asymp=$\asymp$, \notin=$\notin$, \neq=$\neq$ \neg=$\neg$
\varnothing=$\varnothing$
存在
\exists = $\exists$, \forall =$\forall$
希腊字母
\alpha = $\alpha$, \beta = $\beta$, \gamma =$\gamma$, \delta=$\delta$, \epsilon=$\epsilon$, \varepsilon=$\varepsilon$, \zeta=$\zeta$, \eta=$\eta$
\theta=$\theta$, \vartheta=$\vartheta$, \iota=$\iota$, \kappa=$\kappa$, \lambda=$\lambda$, \mu=$\mu$, \nu=$\nu$, \xi=$\xi$
\pi=$\pi$, \varpi=$\varpi$, \rho=$\rho$, \varrho=$\varrho$, \sigma=$\sigma$, \varsigma=$\varsigma$, \tau=$\tau$
\upsilon=$\upsilon$, \phi=$\phi$, \varphi=$\varphi$, \chi=$\chi$, \psi=$\psi$, \omega=$\omega$
\Gamma=$\Gamma$,\Delta=$\Delta$, \Phi = $\Phi$, \Omega = $\Omega$, \Upsilon=$\Upsilon$,
\Theta=$\Theta$, \Lambda=$\Lambda$, \Xi=$\Xi$, \Pi=$\Pi$, \Sigma=$\Sigma$, \Psi=$\Psi$
箭头
\gets = $\gets$, \to=$\to$, \Leftarrow = $\Leftarrow$, \Rightarrow = $\Rightarrow$,
\Leftrightarrow = $\Leftrightarrow$
\longleftarrow=$\longleftarrow$, \uparrow=$\uparrow$, \longrightarrow=$\longrightarrow$, \dowarrow=$\downarrow$
\leftrightarrow=$\leftrightarrow$, \longleftrightarrow=$\longleftrightarrow$, \updownarrow=$\updownarrow$
\Longleftarrow=$\Longleftarrow$, \Uparrow=$\Uparrow$, \Longleftrightarrow=$\Longleftrightarrow$
\Updownarrow=$\Updownarrow$, \mapsto=$\mapsto$, \longmapsto=$\longmapsto$, \nearrow=$\nearrow$
\hookleftarrow=$\hookleftarrow$, \hookrightarrow=$\hookrightarrow$, \searrow=$\searrow$
\eftharpoonup=$\leftharpoonup$, \rightharpoonup=$\rightharpoonup$, \swarrow=$\swarrow$
\leftharpoondown=$\leftharpoondown$, \rightharpoondown=$\rightharpoondown$, \nwarrow=$\nwarrow$
\rightleftharpoons=$\rightleftharpoons$, \iff=$\iff$, \leadsto=$\leadsto$
省略号
\dots = $\dots$, \cdots = $\cdots$
头项符号
\hat{x} = $\hat{x}$,\widehat{x}=$\widehat{x}$, \bar{x} = $\bar{x}$, \vec{x} = $\vec{x}$
\dot{x} = $\dot{x}$, \ddot{x} = $\ddot{x}$, \widetilde{x}=$\widetilde{x}$
\check{x}=$\check{x}$, \tilde{x}=$\tilde{x}$, \acute{x}=$\acute{x}$
\grave{x}=$\grave{x}$, \breve{x}=$\breve{x}$,
\mathring{x}=$\mathring{x}$
\overbrace{x}=$\overbrace{x}$, \underbrace{x}=$\underbrace{x}$
\overset{x}{y}=$\overset{x}{y}$, \underset{a}{b}=$\underset{a}{b}$
\overset{\frown}{AB}=$\overset{\frown}{AB}$
取整函数
\lfloor = $\lfloor$, \rfloor = $\rfloor$
\lceil = $\lceil$, \rceil = $\rceil$
其他符号
\infty = $\infty$, \triangle = $\triangle$, \angle = $\angle$
\checkmark = $\checkmark$, \nabla = $\nabla$, 90^\circ = $90^\circ$
\lbrack=$\lbrack$, \rbrack=$\rbrack$, \langle=$\langle$, \rangle=$\rangle$
\lgroup=$\lgroup$, \lmoustache=$\lmoustache$, \forall=$\forall$, \exists=$\exists$
\mho=$\mho$, \prime=$\prime$, \infty=$\infty$, \angle=$\angle$
下标
2^a_i = $2^a_i$
{}_1^2\!X_3^4=${}_1^2\!X_3^4$
上划线下划线
\overline{a+b} = $\overline{a+b}$
\underline{123} = $\underline{123}$
分式
\frac{1}{2} = $\frac{1}{2}$ 尺寸小,适合打印
\dfrac{1}{2} = $\dfrac{1}{2}$,尺寸适中,适合显示
\cfrac{2}{1+\cfrac{2}{1+\cfrac{2}{1+\cfrac{2}{1}}}}=$\cfrac{2}{1+\cfrac{2}{1+\cfrac{2}{1+\cfrac{2}{1}}}}$
连续嵌套使用上面的\cfrac
求积分求极限
\sum_{i=1}^{\infty}\frac{1}{i} = $\sum_{i=1}^{\infty}\frac{1}{i}$
\prod_{n=1}^5\frac{n}{n-1} = $\prod_{n=1}^5\frac{n}{n-1}$
\lim_{x\to\infty}\frac{1}{x} = $\lim_{x\to\infty}\frac{1}{x}$
微积分偏导
\frac{d}{dx}\left(x^2\right) = 2x = $\frac{d}{dx}\left(x^2\right) = 2x$
\int 2x,dx = x^2+C = $\int 2x,dx = x^2+C$
\frac{\partial^2U}{\partial x^2} + \frac{\partial^2U}{\partial y^2} =$\frac{\partial^2U}{\partial x^2} + \frac{\partial^2U}{\partial y^2}$
求模
9\equiv 3 \pmod{6} = $9\equiv 3 \pmod{6}$
三角函数
\cos^{2}2x +\sin^{2}2x =1 = $\cos^{2}2x +\sin^{2}2x =1$
\cos 90^\circ = 0 = $\cos 90^\circ = 0$
长坚线
用\big|=$\big|$,\Big|=$\Big|$,\bigg|=$\bigg|$,\Bigg|=$\Bigg|$