Latex符号和公式
1. 常用希腊字母表
Name | Display | Capital Case | Display | Var Case | Display |
---|---|---|---|---|---|
\alpha |
<nobr aria-hidden="true" data-evernote-id="438" class="js-evernote-checked">α</nobr> |
| | | | | |
| \beta
| <nobr aria-hidden="true" data-evernote-id="460" class="js-evernote-checked">β</nobr> |
| | | | | |
| \gamma
| <nobr aria-hidden="true" data-evernote-id="483" class="js-evernote-checked">γ</nobr> |
| | \Gamma
| <nobr aria-hidden="true" data-evernote-id="501" class="js-evernote-checked">Γ</nobr> |
| | | |
| \theta
| <nobr aria-hidden="true" data-evernote-id="521" class="js-evernote-checked">θ</nobr> |
| | \Theta
| <nobr aria-hidden="true" data-evernote-id="538" class="js-evernote-checked">Θ</nobr> |
| | \vartheta
| <nobr aria-hidden="true" data-evernote-id="555" class="js-evernote-checked">ϑ</nobr> |
| |
| \mu
| <nobr aria-hidden="true" data-evernote-id="573" class="js-evernote-checked">μ</nobr> |
| | | | | |
| \delta
| <nobr aria-hidden="true" data-evernote-id="595" class="js-evernote-checked">δ</nobr> |
| | \Delta
| <nobr aria-hidden="true" data-evernote-id="613" class="js-evernote-checked">Δ</nobr> |
| | | |
| \epsilon
| <nobr aria-hidden="true" data-evernote-id="633" class="js-evernote-checked">ϵ</nobr> |
| | | | \varepsilon
| <nobr aria-hidden="true" data-evernote-id="652" class="js-evernote-checked">ε</nobr> |
| |
| \sigma
| <nobr aria-hidden="true" data-evernote-id="670" class="js-evernote-checked">σ</nobr> |
| | \Sigma
| <nobr aria-hidden="true" data-evernote-id="688" class="js-evernote-checked">Σ</nobr> |
| | \varsigma
| <nobr aria-hidden="true" data-evernote-id="705" class="js-evernote-checked">ς</nobr> |
| |
| \pi
| <nobr aria-hidden="true" data-evernote-id="724" class="js-evernote-checked">π</nobr> |
| | \Pi
| <nobr aria-hidden="true" data-evernote-id="742" class="js-evernote-checked">Π</nobr> |
| | \varpi
| <nobr aria-hidden="true" data-evernote-id="759" class="js-evernote-checked">ϖ</nobr> |
| |
| \omega
| <nobr aria-hidden="true" data-evernote-id="777" class="js-evernote-checked">ω</nobr> |
| | \Omega
| <nobr aria-hidden="true" data-evernote-id="794" class="js-evernote-checked">Ω</nobr> |
| | | |
| \xi
| <nobr aria-hidden="true" data-evernote-id="814" class="js-evernote-checked">ξ</nobr> |
| | \Xi
| <nobr aria-hidden="true" data-evernote-id="832" class="js-evernote-checked">Ξ</nobr> |
| | | |
| \zeta
| <nobr aria-hidden="true" data-evernote-id="852" class="js-evernote-checked">ζ</nobr> |
| | | | | |
| \chi
| <nobr aria-hidden="true" data-evernote-id="875" class="js-evernote-checked">χ</nobr> |
| | | | | |
| \rho
| <nobr aria-hidden="true" data-evernote-id="897" class="js-evernote-checked">ρ</nobr> |
| | | | \varrho
| <nobr aria-hidden="true" data-evernote-id="916" class="js-evernote-checked">ϱ</nobr> |
| |
| \phi
| <nobr aria-hidden="true" data-evernote-id="934" class="js-evernote-checked">ϕ</nobr> |
| | \Phi
| <nobr aria-hidden="true" data-evernote-id="951" class="js-evernote-checked">Φ</nobr> |
| | \varphi
| <nobr aria-hidden="true" data-evernote-id="968" class="js-evernote-checked">φ</nobr> |
| |
| \eta
| <nobr aria-hidden="true" data-evernote-id="986" class="js-evernote-checked">η</nobr> |
| | | | | |
| \lambda
| <nobr aria-hidden="true" data-evernote-id="1009" class="js-evernote-checked">λ</nobr> |
| | \Lambda
| <nobr aria-hidden="true" data-evernote-id="1026" class="js-evernote-checked">Λ</nobr> |
| | | |
| \kappa
| <nobr aria-hidden="true" data-evernote-id="1046" class="js-evernote-checked">κ</nobr> |
| | | | | |
| \nu
| <nobr aria-hidden="true" data-evernote-id="1068" class="js-evernote-checked">ν</nobr> |
| | | | | |
| \upsilon
| <nobr aria-hidden="true" data-evernote-id="1091" class="js-evernote-checked">υ</nobr> |
| | \Upsilon
| <nobr aria-hidden="true" data-evernote-id="1108" class="js-evernote-checked">Υ</nobr> |
| | | |
| \psi
| <nobr aria-hidden="true" data-evernote-id="1128" class="js-evernote-checked">ψ</nobr> |
| | \Psi
| <nobr aria-hidden="true" data-evernote-id="1145" class="js-evernote-checked">Ψ</nobr> |
| | | |
| \tau
| <nobr aria-hidden="true" data-evernote-id="1165" class="js-evernote-checked">τ</nobr> |
| | | | | |
| \iota
| <nobr aria-hidden="true" data-evernote-id="1188" class="js-evernote-checked">ι</nobr> |
| | | | | |
| o
| <nobr aria-hidden="true" data-evernote-id="1210" class="js-evernote-checked">o</nobr> |
| | | | | |
2. 常用特殊字符表
Name | Display | Name | Display | Name | Display | Name | Display |
---|---|---|---|---|---|---|---|
\times |
<nobr aria-hidden="true" data-evernote-id="1245" class="js-evernote-checked">×</nobr> |
| | \div
| <nobr aria-hidden="true" data-evernote-id="1262" class="js-evernote-checked">÷</nobr> |
| | \pm
| <nobr aria-hidden="true" data-evernote-id="1279" class="js-evernote-checked">±</nobr> |
| | \mp
| <nobr aria-hidden="true" data-evernote-id="1296" class="js-evernote-checked">∓</nobr> |
| |
| \otimes
| <nobr aria-hidden="true" data-evernote-id="1314" class="js-evernote-checked">⊗</nobr> |
| | \ominus
| <nobr aria-hidden="true" data-evernote-id="1331" class="js-evernote-checked">⊖</nobr> |
| | \oplus
| <nobr aria-hidden="true" data-evernote-id="1348" class="js-evernote-checked">⊕</nobr> |
| | \odot
| <nobr aria-hidden="true" data-evernote-id="1365" class="js-evernote-checked">⊙</nobr> |
| |
| \oslash
| <nobr aria-hidden="true" data-evernote-id="1383" class="js-evernote-checked">⊘</nobr> |
| | \triangleq
| <nobr aria-hidden="true" data-evernote-id="1400" class="js-evernote-checked">≜</nobr> |
| | \ne
| <nobr aria-hidden="true" data-evernote-id="1417" class="js-evernote-checked">≠</nobr> |
| | \equiv
| <nobr aria-hidden="true" data-evernote-id="1434" class="js-evernote-checked">≡</nobr> |
| |
| \lt
| <nobr aria-hidden="true" data-evernote-id="1452" class="js-evernote-checked"><</nobr> |
| | \gt
| <nobr aria-hidden="true" data-evernote-id="1469" class="js-evernote-checked">></nobr> |
| | \le
| <nobr aria-hidden="true" data-evernote-id="1486" class="js-evernote-checked">≤</nobr> |
| | \ge
| <nobr aria-hidden="true" data-evernote-id="1503" class="js-evernote-checked">≥</nobr> |
| |
| \cup
| <nobr aria-hidden="true" data-evernote-id="1521" class="js-evernote-checked">∪</nobr> |
| | \cap
| <nobr aria-hidden="true" data-evernote-id="1538" class="js-evernote-checked">∩</nobr> |
| | \Cup
| <nobr aria-hidden="true" data-evernote-id="1555" class="js-evernote-checked">⋓</nobr> |
| | \Cap
| <nobr aria-hidden="true" data-evernote-id="1572" class="js-evernote-checked">⋒</nobr> |
| |
| \bigcup
| <nobr aria-hidden="true" data-evernote-id="1590" class="js-evernote-checked">⋃</nobr> |
| | \bigcap
| <nobr aria-hidden="true" data-evernote-id="1607" class="js-evernote-checked">⋂</nobr> |
| | \ast
| <nobr aria-hidden="true" data-evernote-id="1624" class="js-evernote-checked">∗</nobr> |
| | \star
| <nobr aria-hidden="true" data-evernote-id="1641" class="js-evernote-checked">⋆</nobr> |
| |
| \bigotimes
| <nobr aria-hidden="true" data-evernote-id="1659" class="js-evernote-checked">⨂</nobr> |
| | \bigoplus
| <nobr aria-hidden="true" data-evernote-id="1676" class="js-evernote-checked">⨁</nobr> |
| | \circ
| <nobr aria-hidden="true" data-evernote-id="1693" class="js-evernote-checked">∘</nobr> |
| | \bullet
| <nobr aria-hidden="true" data-evernote-id="1710" class="js-evernote-checked">∙</nobr> |
| |
| \bigcirc
| <nobr aria-hidden="true" data-evernote-id="1728" class="js-evernote-checked">◯</nobr> |
| | \amalg
| <nobr aria-hidden="true" data-evernote-id="1745" class="js-evernote-checked">⨿</nobr> |
| | \to
| <nobr aria-hidden="true" data-evernote-id="1762" class="js-evernote-checked">→</nobr> |
| | \infty
| <nobr aria-hidden="true" data-evernote-id="1779" class="js-evernote-checked">∞</nobr> |
| |
| \vee
| <nobr aria-hidden="true" data-evernote-id="1797" class="js-evernote-checked">∨</nobr> |
| | \wedge
| <nobr aria-hidden="true" data-evernote-id="1814" class="js-evernote-checked">∧</nobr> |
| | \lhd
| <nobr aria-hidden="true" data-evernote-id="1831" class="js-evernote-checked">⊲</nobr> |
| | \rhd
| <nobr aria-hidden="true" data-evernote-id="1848" class="js-evernote-checked">⊳</nobr> |
| |
| \bigvee
| <nobr aria-hidden="true" data-evernote-id="1866" class="js-evernote-checked">⋁</nobr> |
| | \bigwedge
| <nobr aria-hidden="true" data-evernote-id="1883" class="js-evernote-checked">⋀</nobr> |
| | \unlhd
| <nobr aria-hidden="true" data-evernote-id="1900" class="js-evernote-checked">⊴</nobr> |
| | \unrhd
| <nobr aria-hidden="true" data-evernote-id="1917" class="js-evernote-checked">⊵</nobr> |
| |
| \sqcap
| <nobr aria-hidden="true" data-evernote-id="1935" class="js-evernote-checked">⊓</nobr> |
| | \sqcup
| <nobr aria-hidden="true" data-evernote-id="1952" class="js-evernote-checked">⊔</nobr> |
| | \prec
| <nobr aria-hidden="true" data-evernote-id="1969" class="js-evernote-checked">≺</nobr> |
| | \succ
| <nobr aria-hidden="true" data-evernote-id="1986" class="js-evernote-checked">≻</nobr> |
| |
| \subset
| <nobr aria-hidden="true" data-evernote-id="2004" class="js-evernote-checked">⊂</nobr> |
| | \supset
| <nobr aria-hidden="true" data-evernote-id="2021" class="js-evernote-checked">⊃</nobr> |
| | \sim
| <nobr aria-hidden="true" data-evernote-id="2038" class="js-evernote-checked">∼</nobr> |
| | \approx
| <nobr aria-hidden="true" data-evernote-id="2055" class="js-evernote-checked">≈</nobr> |
| |
| \subseteq
| <nobr aria-hidden="true" data-evernote-id="2073" class="js-evernote-checked">⊆</nobr> |
| | \supseteq
| <nobr aria-hidden="true" data-evernote-id="2090" class="js-evernote-checked">⊇</nobr> |
| | \cong
| <nobr aria-hidden="true" data-evernote-id="2107" class="js-evernote-checked">≅</nobr> |
| | \doteq
| <nobr aria-hidden="true" data-evernote-id="2125" class="js-evernote-checked">≐</nobr> |
| |
| \setminus
| <nobr aria-hidden="true" data-evernote-id="2143" class="js-evernote-checked">∖</nobr> |
| | \mid
| <nobr aria-hidden="true" data-evernote-id="2160" class="js-evernote-checked">∣</nobr> |
| | \ll
| <nobr aria-hidden="true" data-evernote-id="2177" class="js-evernote-checked">≪</nobr> |
| | \gg
| <nobr aria-hidden="true" data-evernote-id="2194" class="js-evernote-checked">≫</nobr> |
| |
| \parallel
| <nobr aria-hidden="true" data-evernote-id="2212" class="js-evernote-checked">∥</nobr> |
| | \Join
| <nobr aria-hidden="true" data-evernote-id="2229" class="js-evernote-checked">⋈</nobr> |
| | \in
| <nobr aria-hidden="true" data-evernote-id="2246" class="js-evernote-checked">∈</nobr> |
| | \notin
| <nobr aria-hidden="true" data-evernote-id="2263" class="js-evernote-checked">∉</nobr> |
| |
| \propto
| <nobr aria-hidden="true" data-evernote-id="2281" class="js-evernote-checked">∝</nobr> |
| | \neg
| <nobr aria-hidden="true" data-evernote-id="2298" class="js-evernote-checked">¬</nobr> |
| | \ldots
| <nobr aria-hidden="true" data-evernote-id="2315" class="js-evernote-checked">…</nobr> |
| | \cdots
| <nobr aria-hidden="true" data-evernote-id="2332" class="js-evernote-checked">⋯</nobr> |
| |
| \forall
| <nobr aria-hidden="true" data-evernote-id="2350" class="js-evernote-checked">∀</nobr> |
| | \exists
| <nobr aria-hidden="true" data-evernote-id="2367" class="js-evernote-checked">∃</nobr> |
| | \vdots
| <nobr aria-hidden="true" data-evernote-id="2384" class="js-evernote-checked">⋮</nobr> |
| | \ddots
| <nobr aria-hidden="true" data-evernote-id="2401" class="js-evernote-checked">⋱</nobr> |
| |
| \aleph
| <nobr aria-hidden="true" data-evernote-id="2419" class="js-evernote-checked">ℵ</nobr> |
| | \nabla
| <nobr aria-hidden="true" data-evernote-id="2436" class="js-evernote-checked">∇</nobr> |
| | \imath
| <nobr aria-hidden="true" data-evernote-id="2453" class="js-evernote-checked">ı</nobr> |
| | \jmath
| <nobr aria-hidden="true" data-evernote-id="2471" class="js-evernote-checked">ȷ</nobr> |
| |
| \ell
| <nobr aria-hidden="true" data-evernote-id="2489" class="js-evernote-checked">ℓ</nobr> |
| | \partial
| <nobr aria-hidden="true" data-evernote-id="2506" class="js-evernote-checked">∂</nobr> |
| | \int
| <nobr aria-hidden="true" data-evernote-id="2524" class="js-evernote-checked">∫</nobr> |
| | \oint
| <nobr aria-hidden="true" data-evernote-id="2542" class="js-evernote-checked">∮</nobr> |
| |
| \uplus
| <nobr aria-hidden="true" data-evernote-id="2561" class="js-evernote-checked">⊎</nobr> |
| | \biguplus
| <nobr aria-hidden="true" data-evernote-id="2578" class="js-evernote-checked">⨄</nobr> |
| | | | | |
其他
Name | Display | Name | Display |
---|---|---|---|
\triangleleft |
<nobr aria-hidden="true" data-evernote-id="2609" class="js-evernote-checked">◃</nobr> |
| | \triangleright
| <nobr aria-hidden="true" data-evernote-id="2626" class="js-evernote-checked">▹</nobr> |
| |
| \bigtriangleup
| <nobr aria-hidden="true" data-evernote-id="2644" class="js-evernote-checked">△</nobr> |
| | \bigtriangledown
| <nobr aria-hidden="true" data-evernote-id="2661" class="js-evernote-checked">▽</nobr> |
| |
| \uparrow
| <nobr aria-hidden="true" data-evernote-id="2679" class="js-evernote-checked">↑</nobr> |
| | \downarrow
| <nobr aria-hidden="true" data-evernote-id="2696" class="js-evernote-checked">↓</nobr> |
| |
| \leftarrow
| <nobr aria-hidden="true" data-evernote-id="2714" class="js-evernote-checked">←</nobr> |
| | \rightarrow
| <nobr aria-hidden="true" data-evernote-id="2731" class="js-evernote-checked">→</nobr> |
| |
| \Leftarrow
| <nobr aria-hidden="true" data-evernote-id="2749" class="js-evernote-checked">⇐</nobr> |
| | \Rightarrow
| <nobr aria-hidden="true" data-evernote-id="2766" class="js-evernote-checked">⇒</nobr> |
| |
| \longleftarrow
| <nobr aria-hidden="true" data-evernote-id="2784" class="js-evernote-checked">⟵</nobr> |
| | \longrightarrow
| <nobr aria-hidden="true" data-evernote-id="2801" class="js-evernote-checked">⟶</nobr> |
| |
| \Longleftarrow
| <nobr aria-hidden="true" data-evernote-id="2819" class="js-evernote-checked">⟸</nobr> |
| | \Longrightarrow
| <nobr aria-hidden="true" data-evernote-id="2836" class="js-evernote-checked">⟹</nobr> |
| |
| \leftrightarrow
| <nobr aria-hidden="true" data-evernote-id="2854" class="js-evernote-checked">↔</nobr> |
| | \longleftrightarrow
| <nobr aria-hidden="true" data-evernote-id="2871" class="js-evernote-checked">⟷</nobr> |
| |
| \Leftrightarrow
| <nobr aria-hidden="true" data-evernote-id="2889" class="js-evernote-checked">⇔</nobr> |
| | \Longleftrightarrow
| <nobr aria-hidden="true" data-evernote-id="2906" class="js-evernote-checked">⟺</nobr> |
| |
| \leftharpoonup
| <nobr aria-hidden="true" data-evernote-id="2924" class="js-evernote-checked">↼</nobr> |
| | \rightharpoonup
| <nobr aria-hidden="true" data-evernote-id="2941" class="js-evernote-checked">⇀</nobr> |
| |
| \leftharpoondown
| <nobr aria-hidden="true" data-evernote-id="2959" class="js-evernote-checked">↽</nobr> |
| | \rightharpoondown
| <nobr aria-hidden="true" data-evernote-id="2976" class="js-evernote-checked">⇁</nobr> |
| |
| \rightleftharpoons
| <nobr aria-hidden="true" data-evernote-id="2994" class="js-evernote-checked">⇌</nobr> |
| | \S
| <nobr aria-hidden="true" data-evernote-id="3011" class="js-evernote-checked">§</nobr> |
| |
| \nwarrow
| <nobr aria-hidden="true" data-evernote-id="3030" class="js-evernote-checked">↖</nobr> |
| | \nearrow
| <nobr aria-hidden="true" data-evernote-id="3047" class="js-evernote-checked">↗</nobr> |
| |
| \swarrow
| <nobr aria-hidden="true" data-evernote-id="3065" class="js-evernote-checked">↙</nobr> |
| | \searrow
| <nobr aria-hidden="true" data-evernote-id="3082" class="js-evernote-checked">↘</nobr> |
| |
| \triangle
| <nobr aria-hidden="true" data-evernote-id="3100" class="js-evernote-checked">△</nobr> |
| | \box
| <nobr aria-hidden="true" data-evernote-id="3117" class="js-evernote-checked">□</nobr> |
| |
| \diamond
| <nobr aria-hidden="true" data-evernote-id="3135" class="js-evernote-checked">⋄</nobr> |
| | \diamondsuit
| <nobr aria-hidden="true" data-evernote-id="3152" class="js-evernote-checked">♢</nobr> |
| |
| \heartsuit
| <nobr aria-hidden="true" data-evernote-id="3170" class="js-evernote-checked">♡</nobr> |
| | \clubsuit
| <nobr aria-hidden="true" data-evernote-id="3187" class="js-evernote-checked">♣</nobr> |
| |
| \spadesuit
| <nobr aria-hidden="true" data-evernote-id="3205" class="js-evernote-checked">♠</nobr> |
| | | |
3. 公式语法
-
上下标
_ ^ , _{}^{}
:<nobr aria-hidden="true" data-evernote-id="3230" class="js-evernote-checked">y=xa21i</nobr>
-
公式中插入文本
\mbox{}
:<nobr aria-hidden="true" data-evernote-id="3284" class="js-evernote-checked">y=x2(二次函数)</nobr>
- 公式中插入空格
\, \; \quad \qquad
间隔依次变宽:
<nobr aria-hidden="true" data-evernote-id="3330" class="js-evernote-checked">ab</nobr>
- 公式中插入空格
<nobr aria-hidden="true" data-evernote-id="3349" class="js-evernote-checked">ab</nobr>
<nobr aria-hidden="true" data-evernote-id="3370" class="js-evernote-checked">ab</nobr>
<nobr aria-hidden="true" data-evernote-id="3391" class="js-evernote-checked">ab</nobr>
<nobr aria-hidden="true" data-evernote-id="3412" class="js-evernote-checked">ab</nobr>
-
字母上方横线
\overline{}, \bar{}
:<nobr aria-hidden="true" data-evernote-id="3438" class="js-evernote-checked">xyz¯¯¯¯¯¯¯¯ 或 x¯</nobr>
- 字母下方横线
\underline{}
:
<nobr aria-hidden="true" data-evernote-id="3521" class="js-evernote-checked">ABC–––––</nobr>
- 字母上方波浪线
\tilde{}, \widetilde{}
:
<nobr aria-hidden="true" data-evernote-id="3568" class="js-evernote-checked">A~ 或 ABC˜</nobr>
- 字母上方尖号^
\hat{}, \widehat{}
:
<nobr aria-hidden="true" data-evernote-id="3628" class="js-evernote-checked">A^ 或 ABCˆ</nobr>
- 字母上方箭头
\vec{}, \overleftarrow{}, \overrightarrow{}
:
<nobr aria-hidden="true" data-evernote-id="3688" class="js-evernote-checked">ab→ 或 ab← 或 ab→</nobr>
- 字母上方花括号
\overbrace{}
,或下方花括号\underbrace{}
:
<nobr aria-hidden="true" data-evernote-id="3769" class="js-evernote-checked">1+2+3 或 1+2+3</nobr>
- 字母上方点号
\dot{}, \ddot{}
:
<nobr aria-hidden="true" data-evernote-id="3879" class="js-evernote-checked">a˙ 或 a¨</nobr>
- 省略号
\dots, \cdots
<nobr aria-hidden="true" data-evernote-id="3932" class="js-evernote-checked">1,2,…1,2,⋯</nobr>
- 积分
\int_{}^{}
:
<nobr aria-hidden="true" data-evernote-id="3974" class="js-evernote-checked">∫+∞−∞f(x)dx</nobr>
- 字母下方横线
双重积分\iint
:
<nobr aria-hidden="true" data-evernote-id="4034" class="js-evernote-checked">∬+∞−∞f(x,y)dxdy</nobr>
行内积分:<nobr aria-hidden="true" data-evernote-id="4102" class="js-evernote-checked">∫+∞−∞f(x)dx</nobr>
行内积分limits模式\int\limits_{}^{}
:<nobr aria-hidden="true" data-evernote-id="4158" class="js-evernote-checked">∫−∞+∞f(x)dx</nobr>
行内积分display模式\displaystyle \int_{}^{}
:<nobr aria-hidden="true" data-evernote-id="4214" class="js-evernote-checked">∫+∞−∞f(x)dx</nobr>
圆圈积分\oint
:
<nobr aria-hidden="true" data-evernote-id="4277" class="js-evernote-checked">∮+∞−∞</nobr>
-
求和
\sum_{}^{}
:<nobr aria-hidden="true" data-evernote-id="4323" class="js-evernote-checked">∑i=1ni2</nobr>
行内求和:<nobr aria-hidden="true" data-evernote-id="4373" class="js-evernote-checked">∑ni=1i2</nobr>
行内求和limits模式\sum\limits_{}^{}
:<nobr aria-hidden="true" data-evernote-id="4423" class="js-evernote-checked">∑i=1ni2</nobr>
行内求和display模式\displaystyle \sum_{}^{}
:<nobr aria-hidden="true" data-evernote-id="4473" class="js-evernote-checked">∑i=1ni2</nobr>* 求乘积\prod_{}^{}
:
<nobr aria-hidden="true" data-evernote-id="4531" class="js-evernote-checked">∏i=1nai</nobr>
* 分数`\frac{up}{down}`:
<nobr aria-hidden="true" data-evernote-id="4587" class="js-evernote-checked">x1,x2=b2±4ac2a</nobr>
* 根号`\sqrt`:
<nobr aria-hidden="true" data-evernote-id="4670" class="js-evernote-checked">r=x2+y2−−−−−−√</nobr>
多次根号\sqrt[n]
:
<nobr aria-hidden="true" data-evernote-id="4741" class="js-evernote-checked">x2/3=x2−−√3</nobr>
编号
-
插入编号:
使用\tag
指令指定公式的具体编号,并使用\label
指令埋下锚点。如y=x^2 \tag{1.5a} \label{eq:test}
:<nobr aria-hidden="true" data-evernote-id="4820" class="js-evernote-checked">y=x2(1.5a)</nobr>
-
引用编号:
使用\eqref
指令引用前面埋下的锚点,\eqref{eq:test}
将显示为:<nobr aria-hidden="true" data-evernote-id="4879" class="js-evernote-checked">(1.5a)</nobr>
4. 方程组
-
左侧花括号
\begin{equation} % \begin{equation*} 加'*'去掉公式编号 \left\{ \begin{aligned} %请使用'aligned'或'align*' 2x + y &= 1 \\ %加'&'指定对齐位置 2x + 2y &= 2 \end{aligned} \right. \end{equation} % \end{equation*} 加'*'去掉公式编号 % 注意:在 markdown 环境下,某些特殊字符,如'\', '*'等,会首先被 markdown 语法转义,然后再被 Latex 转义。 % 因此有时候 '\{'需要写作'\\{','*'需要写作'\*','\\'需要写作'\\\\'等,视不同的解释环境而定
<nobr aria-hidden="true" data-evernote-id="4949" class="js-evernote-checked">{2x+y2x+2y=1=2</nobr>
-
注:如果各个方程需要在某个字符处对齐(如等号对齐),只需在所有要对齐的字符前加上
&
符号。如果不需要公式编号,只需在宏包名称后加上*
号。- 分情况讨论方程式
f(x) = \begin{cases} x^2 \qquad & a \gt 0 \\ e^x \qquad & a \le 0 \end{cases}
<nobr aria-hidden="true" data-evernote-id="5063" class="js-evernote-checked">f(x)=⎧⎩⎨x2exa>0a≤0</nobr>
<nobr aria-hidden="true" data-evernote-id="5179" class="js-evernote-checked">abcd=1=2</nobr>
附:本文的 Markdown 原文
为了方便查看公式等的编写细节,附上本文的 markdown 原文。
# Markdown中Latex常用语法
## 常用希腊字母表
| Name | Display | Capital Case | Display | Var Case | Display |
| --------- | :----------: | -------------- | :----------: | ------------ | :-------------: |
| `\alpha` | $\alpha$ | | | | |
| `\beta` | $\beta$ | | | | |
| `\gamma` | $\gamma$ | `\Gamma` | $\Gamma$ | | |
| `\theta` | $\theta$ | `\Theta` | $\Theta$ | `\vartheta` | $\vartheta$ |
| `\mu` | $\mu$ | | | | |
| `\delta` | $\delta$ | `\Delta` | $\Delta$ | | |
| `\epsilon` | $\epsilon$ | | | `\varepsilon` | $\varepsilon$ |
| `\sigma` | $\sigma$ | `\Sigma` | $\Sigma$ | `\varsigma` | $\varsigma$ |
| `\pi` | $\pi$ | `\Pi` | $\Pi$ | `\varpi` | $\varpi$ |
| `\omega` | $\omega$ | `\Omega` | $\Omega$ | | |
| `\xi` | $\xi$ | `\Xi` | $\Xi$ | | |
| `\zeta` | $\zeta$ | | | | |
| `\chi` | $\chi$ | | | | |
| `\rho` | $\rho$ | | | `\varrho` | $\varrho$ |
| `\phi` | $\phi$ | `\Phi` | $\Phi$ | `\varphi` | $\varphi$ |
| `\eta` | $\eta$ | | | | |
| `\lambda` | $\lambda$ | `\Lambda` | $\Lambda$ | | |
| `\kappa` | $\kappa$ | | | | |
| `\nu` | $\nu$ | | | | |
| `\upsilon` | $\upsilon$ | `\Upsilon` | $\Upsilon$ | | |
| `\psi` | $\psi$ | `\Psi` | $\Psi$ | | |
| `\tau` | $\tau$ | | | | |
| `\iota` | $\iota$ | | | | |
| `o` | $o$ | | | | |
## 常用特殊字符表
| Name | Display | Name | Display | Name | Display | Name | Display |
| ----------- | :------------: | ----------- | :------------: | ------- | :--------: | -------- | :---------: |
| `\times` | $\times$ | `\div` | $\div$ | `\pm` | $\pm$ | `\mp` | $\mp$ |
| `\otimes` | $\otimes$ | `\ominus` | $\ominus$ | `\oplus` | $\oplus$ | `\odot` | $\odot$ |
| `\oslash` | $\oslash$ | `\triangleq` | $\triangleq$ | `\ne` | $\ne$ | `\equiv` | $\equiv$ |
| `\lt` | $\lt$ | `\gt` | $\gt$ | `\le` | $\le$ | `\ge` | $\ge$ |
| `\cup` | $\cup$ | `\cap` | $\cap$ | `\Cup` | $\Cup$ | `\Cap` | $\Cap$ |
| `\bigcup` | $\bigcup$ | `\bigcap` | $\bigcap$ | `\ast` | $\ast$ | `\star` | $\star$ |
| `\bigotimes` | $\bigotimes$ | `\bigoplus` | $\bigoplus$ | `\circ` | $\circ$ | `\bullet` | $\bullet$ |
| `\bigcirc` | $\bigcirc$ | `\amalg` | $\amalg$ | `\to` | $\to$ | `\infty` | $\infty$ |
| `\vee` | $\vee$ | `\wedge` | $\wedge$ | `\lhd` | $\lhd$ | `\rhd` | $\rhd$ |
| `\bigvee` | $\bigvee$ | `\bigwedge` | $\bigwedge$ | `\unlhd` | $\unlhd$ | `\unrhd` | $\unrhd$ |
| `\sqcap` | $\sqcap$ | `\sqcup` | $\sqcup$ | `\prec` | $\prec$ | `\succ` | $\succ$ |
| `\subset` | $\subset$ | `\supset` | $\supset$ | `\sim` | $\sim$ | `\approx` | $\approx$ |
| `\subseteq` | $\subseteq$ | `\supseteq` | $\supseteq$ | `\cong` | $\cong$ | `\doteq` | $\doteq$ |
| `\setminus` | $\setminus$ | `\mid` | $\mid$ | `\ll` | $\ll$ | `\gg` | $\gg$ |
| `\parallel` | $\parallel$ | `\Join` | $\Join$ | `\in` | $\in$ | `\notin` | $\notin$ |
| `\propto` | $\propto$ | `\neg` | $\neg$ | `\ldots` | $\ldots$ | `\cdots` | $\cdots$ |
| `\forall` | $\forall$ | `\exists` | $\exists$ | `\vdots` | $\vdots$ | `\ddots` | $\ddots$ |
| `\aleph` | $\aleph$ | `\nabla` | $\nabla$ | `\imath` | $\imath$ | `\jmath` | $\jmath$ |
| `\ell` | $\ell$ | `\partial` | $\partial$ | `\int` | $\int$ | `\oint` | $\oint$ |
| `\uplus` | $\uplus$ | `\biguplus` | $\biguplus$ | | | | |
### 其他
| Name | Display | Name | Display |
| ------------------- | :--------------------: | -------------------- | :---------------------: |
| `\triangleleft` | $\triangleleft$ | `\triangleright` | $\triangleright$ |
| `\bigtriangleup` | $\bigtriangleup$ | `\bigtriangledown` | $\bigtriangledown$ |
| `\uparrow` | $\uparrow$ | `\downarrow` | $\downarrow$ |
| `\leftarrow` | $\leftarrow$ | `\rightarrow` | $\rightarrow$ |
| `\Leftarrow` | $\Leftarrow$ | `\Rightarrow` | $\Rightarrow$ |
| `\longleftarrow` | $\longleftarrow$ | `\longrightarrow` | $\longrightarrow$ |
| `\Longleftarrow` | $\Longleftarrow$ | `\Longrightarrow` | $\Longrightarrow$ |
| `\leftrightarrow` | $\leftrightarrow$ | `\longleftrightarrow` | $\longleftrightarrow$ |
| `\Leftrightarrow` | $\Leftrightarrow$ | `\Longleftrightarrow` | $\Longleftrightarrow$ |
| `\leftharpoonup` | $\leftharpoonup$ | `\rightharpoonup` | $\rightharpoonup$ |
| `\leftharpoondown` | $\leftharpoondown$ | `\rightharpoondown` | $\rightharpoondown$ |
| `\rightleftharpoons` | $\rightleftharpoons$ | `\S` | $\S$ |
| `\nwarrow` | $\nwarrow$ | `\nearrow` | $\nearrow$ |
| `\swarrow` | $\swarrow$ | `\searrow` | $\searrow$ |
| `\triangle` | $\triangle$ | `\box` | $\Box$ |
| `\diamond` | $\diamond$ | `\diamondsuit` | $\diamondsuit$ |
| `\heartsuit` | $\heartsuit$ | `\clubsuit` | $\clubsuit$ |
| `\spadesuit` | $\spadesuit$ | | |
## 公式语法
- 上下标`_ ^ , _{}^{}`:
$$ y = x_i^{a_1^2} $$
- 公式中插入文本`\mbox{}`:
$$ y = x^2 \; \mbox{(二次函数)} $$
- 公式中插入空格`\, \; \quad \qquad`间隔依次变宽:
$$ ab $$ $$ a\,b $$ $$ a\;b $$ $$ a\quad b $$ $$ a\qquad b $$
- 字母上方横线`\overline{}, \bar{}`:
$$ \overline{xyz} \mbox{ 或 } \bar{x} $$
- 字母下方横线`\underline{}`:
$$ \underline{ABC} $$
- 字母上方波浪线`\tilde{}, \widetilde{}`:
$$ \tilde{A} \mbox{ 或 } \widetilde{ABC} $$
- 字母上方尖号^`\hat{}, \widehat{}`:
$$ \hat{A} \mbox{ 或 } \widehat{ABC} $$
- 字母上方箭头`\vec{}, \overleftarrow{}, \overrightarrow{}`:
$$ \vec{ab} \mbox{ 或 } \overleftarrow{ab} \mbox{ 或 } \overrightarrow{ab} $$
- 字母上方花括号`\overbrace{}`,或下方花括号`\underbrace{}`:
$$ \overbrace{1+2+3} \mbox{ 或 } \underbrace{1+2+3} $$
- 字母上方点号`\dot{}, \ddot{}`:
$$ \dot{a} \mbox{ 或 } \ddot{a} $$
- 省略号`\dots, \cdots`
$$ 1,2,\dots \qquad 1,2,\cdots $$
- 积分`\int_{}^{}`:
$$ \int_{-\infty}^{+\infty} f(x) \mathrm{d}x $$
双重积分`\iint`:$$ \iint_{-\infty}^{+\infty} f(x,y) \mathrm{d}x \mathrm{d}y $$
行内积分:$\int_{-\infty}^{+\infty} f(x) \mathrm{d}x$
行内积分limits模式`\int\limits_{}^{}`:$\int\limits_{-\infty}^{+\infty} f(x) \mathrm{d}x$
行内积分display模式`\displaystyle \int_{}^{}`:$\displaystyle \int_{-\infty}^{+\infty} f(x) \mathrm{d}x$
圆圈积分`\oint`:$$ \oint_{-\infty}^{+\infty} $$
- 求和`\sum_{}^{}`:
$$ \sum_{i=1}^{n} i^2 $$
行内求和:$\sum_{i=1}^{n} i^2$
行内求和limits模式`\sum\limits_{}^{}`:$\sum\limits_{i=1}^{n} i^2$
行内求和display模式`\displaystyle \sum_{}^{}`:$\displaystyle \sum_{i=1}^{n} i^2$
- 求乘积`\prod_{}^{}`:
$$ \prod_{i=1}^{n} a_i $$
- 分数`\frac{up}{down}`:
$$ x_1,x_2 = \frac{b^2 \pm 4ac}{2a} $$
- 根号`\sqrt`:
$$ r = \sqrt{x^2+y^2} $$
多次根号`\sqrt[n]`: $$ x^{2/3} = \sqrt[3]{x^2} $$
## 编号
- 插入编号:
使用`\tag`指令指定公式的具体编号,并使用`\label`指令埋下锚点。如`y=x^2 \tag{1.5a} \label{eq:test}`:
$$ y=x^2 \tag{1.5a}\label{eq:test} $$
- 引用编号:
使用`\eqref`指令引用前面埋下的锚点,`\eqref{eq:test}`将显示为:
$$ \eqref{eq:test} $$
## 方程组
- 左侧花括号
```latex
\begin{equation}
% \begin{equation*} 加'*'去掉公式编号
\left\{
\begin{aligned} %请使用'aligned'或'align*'
2x + y &= 1 \\ %加'&'指定对齐位置
2x + 2y &= 2
\end{aligned}
\right.
\end{equation}
% \end{equation*} 加'*'去掉公式编号
% 注意:在 markdown 环境下,某些特殊字符,如'\', '*'等,会首先被 markdown 语法转义,然后再被 Latex 转义。
% 因此有时候 '\{'需要写作'\\{','*'需要写作'\*','\\'需要写作'\\\\'等,视不同的解释环境而定
```
$$ \begin{equation}
\left\\{
\begin{aligned}
2x + y &= 1 \\\\
2x + 2y &= 2
\end{aligned}
\right.
\end{equation} $$
**注**:如果各个方程需要在某个字符处对齐(如等号对齐),只需在所有要对齐的字符前加上 `&` 符号。如果不需要公式编号,只需在宏包名称后加上 `*` 号。
- 分情况讨论方程式
```latex
f(x) =
\begin{cases}
x^2 \qquad & a \gt 0 \\
e^x \qquad & a \le 0
\end{cases}
```
$$ f(x) = \begin{cases}
x^2 \qquad & a \gt 0 \\\\
e^x \qquad & a \le 0
\end{cases} $$
$$ \begin{aligned}
a &= 1 \\\\
bcd &= 2
\end{aligned} $$