常用的Latex符号

时间:2024-11-19 20:39:44

文章目录

  • 英文字母的各种字体
  • 特殊字母
    • 大写希腊字母
    • 小写希腊字母
    • 其它希腊字母
    • ℵ , ℓ , ℘ , ⋯ \aleph, \ell, \wp, \cdots ℵ,ℓ,℘,⋯
  • 数学符号
    • , ⋯ , \cdots ,⋯
    • ∈ , ⊂ , ⊥ , ⋯ \in, \subset, \perp, \cdots ∈,⊂,⊥,⋯
    • ∑ , ∏ , ∫ , ⋯ \sum, \prod, \int, \cdots ∑,∏,∫,⋯
    • + , − , × , ÷ , ⋯ +, -, \times, \div, \cdots +,−,×,÷,⋯

(本文内容主要来自 此处)

英文字母的各种字体

\mathbb{a, b, …, z}: a , b , c , d , e , f , g , h , i , j , k , l , m , n , o , p , q , r , s , t , u , v , w , x , y , z \mathbb{a, b, c, d, e, f, g, h, i, j, k, l, m , n, o, p, q, r, s, t, u, v, w, x, y, z} a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z
\mathbb{A, B, …, Z}: A , B , C , D , E , F , G , H , I , J , K , L , M , N , O , P , Q , R , S , T , U , V , W , X , Y , Z \mathbb{A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z} A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z
\mathcal{a, b, …, z}: a , b , c , d , e , f , g , h , i , j , k , l , m , n , o , p , q , r , s , t , u , v , w , x , y , z \mathcal{a, b, c, d, e, f, g, h, i, j, k, l, m , n, o, p, q, r, s, t, u, v, w, x, y, z} a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z
\mathcal{A, B, …, Z}: A , B , C , D , E , F , G , H , I , J , K , L , M , N , O , P , Q , R , S , T , U , V , W , X , Y , Z \mathcal{A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z} A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z
\mathfrak{a, b, …, z}: a , b , c , d , e , f , g , h , i , j , k , l , m , n , o , p , q , r , s , t , u , v , w , x , y , z \mathfrak{a, b, c, d, e, f, g, h, i, j, k, l, m , n, o, p, q, r, s, t, u, v, w, x, y, z} a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z
\mathfrak{A, B, …, Z}: A , B , C , D , E , F , G , H , I , J , K , L , M , N , O , P , Q , R , S , T , U , V , W , X , Y , Z \mathfrak{A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z} A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z
\mathbf{a, b, …, z}: a , b , c , d , e , f , g , h , i , j , k , l , m , n , o , p , q , r , s , t , u , v , w , x , y , z \mathbf{a, b, c, d, e, f, g, h, i, j, k, l, m , n, o, p, q, r, s, t, u, v, w, x, y, z} a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z
\mathbf{A, B, …, Z}: A , B , C , D , E , F , G , H , I , J , K , L , M , N , O , P , Q , R , S , T , U , V , W , X , Y , Z \mathbf{A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z} A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z
\mathrm{a, b, …, z}: a , b , c , d , e , f , g , h , i , j , k , l , m , n , o , p , q , r , s , t , u , v , w , x , y , z \mathrm{a, b, c, d, e, f, g, h, i, j, k, l, m , n, o, p, q, r, s, t, u, v, w, x, y, z} a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z
\mathrm{A, B, …, Z}: A , B , C , D , E , F , G , H , I , J , K , L , M , N , O , P , Q , R , S , T , U , V , W , X , Y , Z \mathrm{A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z} A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z
\mathsf{a, b, …, z}: a , b , c , d , e , f , g , h , i , j , k , l , m , n , o , p , q , r , s , t , u , v , w , x , y , z \mathsf{a, b, c, d, e, f, g, h, i, j, k, l, m , n, o, p, q, r, s, t, u, v, w, x, y, z} a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z
\mathsf{A, B, …, Z}: A , B , C , D , E , F , G , H , I , J , K , L , M , N , O , P , Q , R , S , T , U , V , W , X , Y , Z \mathsf{A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z} A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z

如果要用数学模式插入一个变量或者一个函数名, 且这个变量或函数名包含多个字母, 则一般推荐用\mathrm的格式, 比如:
c o u n t ← 1 \mathrm{count}\gets1 count1: (\mathrm{count}\gets 1)
p r o m o t e _ f l o w ( . . . ) \mathrm{promote\_flow(...)} promote_flow(...): (\mathrm{promote_flow(…)})

特殊字母

大写希腊字母

Γ \Gamma Γ \Gamma
Δ \Delta Δ \Delta
Λ \Lambda Λ \Lambda
Φ \Phi Φ \Phi
Π \Pi Π \Pi
Ψ \Psi Ψ \Psi
Σ \Sigma Σ \Sigma
Θ \Theta Θ \Theta
Υ \Upsilon Υ \Upsilon
Ξ \Xi Ξ \Xi
Ω \Omega Ω \Omega

小写希腊字母

α \alpha α \alpha
β \beta β \beta
γ \gamma γ \gamma
δ \delta δ \delta
ϵ \epsilon ϵ \epsilon
ζ \zeta ζ \zeta
η \eta η \eta
θ \theta θ \theta
ι \iota ι \iota
κ \kappa κ \kappa
λ \lambda λ \lambda
μ \mu μ \mu
ν \nu ν \nu
ξ \xi ξ \xi
π \pi π \pi
ρ \rho ρ \rho
σ \sigma σ \sigma
τ \tau τ \tau
υ \upsilon υ \upsilon
ϕ \phi ϕ \phi
χ \chi χ \chi
ψ \psi ψ \psi
ω \omega ω \omega

其它希腊字母

ϝ \digamma ϝ \digamma
ε \varepsilon ε \varepsilon
ϰ \varkappa ϰ \varkappa
φ \varphi φ \varphi
ϖ \varpi ϖ \varpi
ϱ \varrho ϱ \varrho
ς \varsigma ς \varsigma
ϑ \vartheta ϑ \vartheta

ℵ , ℓ , ℘ , ⋯ \aleph, \ell, \wp, \cdots ,,,

ℵ \aleph \aleph
ℶ \beth \beth
ℸ \daleth \daleth
ℷ \gimel \gimel
∁ \complement \complement
ℓ \ell \ell
ð \eth ð \eth
ℏ \hbar \hbar
ℏ \hslash \hslash
℧ \mho \mho
∂ \partial \partial
℘ \wp \wp
Ⓢ \circledS \circledS
k \Bbbk k \Bbbk
Ⅎ \Finv \Finv
⅁ \Game \Game
ℑ \Im \Im
ℜ \Re \Re

数学符号

< , = , > , ⋯ <, =, >, \cdots <,=,>,

< < < <
= = = =
> > > >
≈ \approx \approx
≊ \approxeq \approxeq
≍ \asymp \asymp
∽ \backsim \backsim
⋍ \backsimeq \backsimeq
≏ \bumpeq \bumpeq
≎ \Bumpeq \Bumpeq
≗ \circeq \circeq
≅ \cong \cong
⋞ \curlyeqprec \curlyeqprec
⋟ \curlyeqsucc \curlyeqsucc
≐ \doteq \doteq
≑ \doteqdot \doteqdot or \Doteq
≖ \eqcirc \eqcirc
≂ \eqsim \eqsim
⪖ \eqslantgtr \eqslantgtr
⪕ \eqslantless \eqslantless
≡ \equiv \equiv
≒ \fallingdotseq \fallingdotseq
≥ \ge \geq or \ge
≧ \geqq \geqq
⩾ \geqslant \geqslant
≫ \gg \gg
⋙ \ggg \ggg or \gggtr
⪊ \gnapprox \gnapprox
⪈ \gneq \gneq
≩ \gneqq \gneqq
⋧ \gnsim \gnsim
⪆ \gtrapprox \gtrapprox
⋛ \gtreqless \gtreqless
⪌ \gtreqqless \gtreqqless
≷ \gtrless \gtrless
≳ \gtrsim \gtrsim
≩ \gvertneqq \gvertneqq
≤ \le \leq or \le
≦ \leqq \leqq
⩽ \leqslant \leqslant
⪅ \lessapprox \lessapprox
⋚ \lesseqgtr \lesseqgtr
⪋ \lesseqqgtr \lesseqqgtr
≶ \lessgtr \lessgtr
≲ \lesssim \lesssim
≪ \ll \ll
⋘ \lll \lll or \llless
⪉ \lnapprox \lnapprox
⪇ \lneq \lneq
≨ \lneqq \lneqq
⋦ \lnsim \lnsim
≨ \lvertneqq \lvertneqq
≆ \ncong \ncong
≠ \neq = \neq or \ne
≱ \ngeq \ngeq
≱ \ngeqq \ngeqq
≱ \ngeqslant \ngeqslant
≯ \ngtr \ngtr
≰ \nleq \nleq
≰ \nleqq \nleqq
≰ \nleqslant \nleqslant
≮ \nless \nless
⊀ \nprec \nprec
⋠ \npreceq \npreceq
≁ \nsim \nsim
⊁ \nsucc \nsucc
⋡ \nsucceq \nsucceq
≺ \prec \prec
⪷ \precapprox \precapprox
≼ \preccurlyeq \preccurlyeq
⪯ \preceq \preceq
⪹ \precnapprox \precnapprox
⪵ \precneqq \precneqq
⋨ \precnsim \precnsim
≾ \precsim \precsim
≓ \risingdotseq \risingdotseq
∼ \sim \sim
≃ \simeq \simeq
≻ \succ \succ
⪸ \succapprox \succapprox
≽ \succcurlyeq \succcurlyeq
⪰ \succeq \succeq
⪺ \succnapprox \succnapprox
⪶ \succneqq \succneqq
⋩ \succnsim \succnsim
≿ \succsim \succsim
≈ \thickapprox \thickapprox
∼ \thicksim \thicksim
≜ \triangleq \triangleq

∈ , ⊂ , ⊥ , ⋯ \in, \subset, \perp, \cdots ,,,

∍ \backepsilon \backepsilon
∵ \because \because
≬ \between \between
◀ \blacktriangleleft \blacktriangleleft
▶ \blacktriangleright \blacktriangleright
⋈ \bowtie \bowtie
⊣ \dashv \dashv
⌢ \frown \frown
∈ \in \in
∣ \mid \mid
⊨ \models \models
∋ \owns \ni or \owns
∤ \nmid \nmid
∉ \notin / \notin
∦ \nparallel \nparallel
∤ \nshortmid \nshortmid
∦ \nshortparallel \nshortparallel
⊈ \nsubseteq \nsubseteq
⊈ \nsubseteqq \nsubseteqq
⊉ \nsupseteq \nsupseteq
⊉ \nsupseteqq \nsupseteqq
⋪ \ntriangleleft \ntriangleleft
⋬ \ntrianglelefteq \ntrianglelefteq
⋫ \ntriangleright \ntriangleright
⋭ \ntrianglerighteq \ntrianglerighteq
⊬ \nvdash \nvdash
⊮ \nVdash \nVdash
⊭ \nvDash \nvDash
⊯ \nVDash \nVDash
∥ \parallel \parallel
⊥ \perp \perp
⋔ \pitchfork \pitchfork
∝ \propto \propto
∣ \shortmid \shortmid
∥ \shortparallel \shortparallel
⌢ \smallfrown \smallfrown
⌣ \smallsmile \smallsmile
⌣ \smile \smile
⊏ \sqsubset \sqsubset
⊑ \sqsubseteq \sqsubseteq
⊐ \sqsupset \sqsupset
⊒ \sqsupseteq \sqsupseteq
⊂ \subset \subset
⋐ \Subset \Subset
⊆ \subseteq \subseteq
⫅ \subseteqq \subseteqq
⊊ \subsetneq \subsetneq
⫋ \subsetneqq \subsetneqq
⊃ \supset \supset
⋑ \Supset \Supset
⊇ \supseteq \supseteq
⫆ \supseteqq \supseteqq
⊋ \supsetneq \supsetneq
⫌ \supsetneqq \supsetneqq
∴ \therefore \therefore
⊴ \trianglelefteq \trianglelefteq
⊵ \trianglerighteq \trianglerighteq
∝ \varpropto \varpropto
⊊ \varsubsetneq \varsubsetneq
⫋ \varsubsetneqq \varsubsetneqq
⊋ \varsupsetneq \varsupsetneq
⫌ \varsupsetneqq \varsupsetneqq
△ \vartriangle \vartriangle
⊲ \vartriangleleft \vartriangleleft
⊳ \vartriangleright \vartriangleright
⊢ \vdash \vdash
⊩ \Vdash \Vdash
⊨ \vDash \vDash
⊪ \Vvdash \Vvdash

∑ , ∏ , ∫ , ⋯ \sum, \prod, \int, \cdots ,,,

∫ \int \int
∮ \oint \oint
⋂ \bigcap \bigcap
⋃ \bigcup \bigcup
⨀ \bigodot \bigodot
⨁ \bigoplus \bigoplus
⨂ \bigotimes \bigotimes
⨆ \bigsqcup \bigsqcup
⨄ \biguplus \biguplus
⋁ \bigvee \bigvee
⋀ \bigwedge \bigwedge
∐ \coprod \coprod
∏ \prod \prod
∑ \sum \sum

+ , − , × , ÷ , ⋯ +, -, \times, \div, \cdots +,,×,÷,

∗ * *
+ + + +
− - -
⨿ \amalg ⨿ \amalg
∗ \ast \ast
⊼ \barwedge \barwedge
◯ \bigcirc \bigcirc
▽ \bigtriangledown \bigtriangledown
△ \bigtriangleup \bigtriangleup
⊡ \boxdot \boxdot
⊟ \boxminus \boxminus
⊞ \boxplus \boxplus
⊠ \boxtimes \boxtimes
∙ \bullet \bullet
∩ \cap \cap
⋒ \Cap \Cap or \doublecap
⋅ \cdot \cdot
⋅ \centerdot \centerdot
∘ \circ \circ
⊛ \circledast \circledast
⊚ \circledcirc \circledcirc
⊝ \circleddash \circleddash
∪ \cup \cup
⋓ \Cup \Cup or \doublecup
⋎ \curlyvee \curlyvee
⋏ \curlywedge \curlywedge
† \dagger \dagger
‡ \ddagger \ddagger
⋄ \diamond \diamond
÷ \div ÷ \div
⋇ \divideontimes \divideontimes
∔ \dotplus \dotplus
⩞ \doublebarwedge \doublebarwedge
⋗ \gtrdot \gtrdot
⊺ \intercal \intercal
⋋ \leftthreetimes \leftthreetimes
⋖ \lessdot \lessdot
⋉ \ltimes \ltimes
∓ \mp \mp
⊙ \odot \odot
⊖ \ominus \ominus
⊕ \oplus \oplus
⊘ \oslash \oslash
⊗ \otimes \otimes
± \pm ± \pm
⋌ \rightthreetimes \rightthreetimes
⋊ \rtimes \rtimes
∖ \setminus \setminus
∖ \smallsetminus \smallsetminus
⊓ \sqcap \sqcap
⊔ \sqcup \sqcup
⋆ \star \star
× \times × \times
◃ \triangleleft \triangleleft
▹ \triangleright \triangleright
⊎ \uplus \uplus
∨ \vee \vee or \lor
⊻ \veebar \veebar
∧ \wedge \wedge or \land
≀ \wr \wr