下面是Matlab官方列出来的Tex代码列表,包含了绝大部分的希腊字母和数学符号。
这个比较清楚
Character Sequence | Symbol | Character Sequence | Symbol | Character Sequence | Symbol |
---|---|---|---|---|---|
alpha | α | upsilon | υ | sim | ~ |
beta | β | phi | Φ | leq | ≤ |
gamma | γ | chi | χ | infty | ∞ |
delta | δ | psi | ψ | clubsuit | ? |
epsilon | ? | omega | ω | diamondsuit | ? |
zeta | ζ | Gamma | Γ | heartsuit | ? |
eta | η | Delta | Δ | spadesuit | ? |
theta | Θ | Theta | Θ | leftrightarrow | ? |
vartheta | ? | Lambda | Λ | leftarrow | ← |
iota | ι | Xi | Ξ | uparrow | ↑ |
kappa | κ | Pi | Π | rightarrow | → |
lambda | λ | Sigma | Σ | downarrow | ↓ |
mu | μ | Upsilon | ? | circ | o |
nu | ν | Phi | Φ | pm | ± |
xi | ξ | Psi | Ψ | geq | ≥ |
pi | π | Omega | Ω | propto | ∝ |
rho | ρ | forall | ? | partial | ? |
sigma | σ | exists | ? | bullet | ? |
varsigma | ? | ni | ? | div | ÷ |
tau | τ | cong | ? | neq | ≠ |
equiv | ≡ | approx | ≈ | aleph | ? |
Im | ? | Re | ? | wp | ? |
otimes | ? | oplus | ? | oslash | ? |
cap | ∩ | cup | ∪ | supseteq | ? |
supset | ? | subseteq | ? | subset | ? |
int | ∫ | in | ∈ | o | ο |
rfloor | ë | lceil | é | nabla | ? |
lfloor | û | cdot | · | ldots | ... |
perp | ⊥ | neg | ¬ | prime | ′ |
wedge | ∧ | times | x |
| ? |
rceil | ù | surd | √ | mid | | |
vee | ∨ | varpi | ? | copyright | © |
langle | ∠ | rangle | ∠ |
文档中的Text Properties:
下标用 _(下划线) 上标用^ (尖号) 斜体 it 黑体 bf;
比如在坐标轴的[0.5 0.5]位置上要显示δ字符,那么可以直接输入text(0.5,0.5,'delta')
如果需要显示大写希腊字符的话,那直接将首字母改为大写就可以了;
注意必须使用“”引导,如果需要显示“”,那么必须输入“\;
类似的在字符串组合的时候如果要输入“'”则必须如下输入“''”;
另外text字符可以重叠显示,这样就可以构造出一些有趣的效果,比如将某个字符上添加一个斜杠或者画一个叉等。
Character Sequence | Symbol | Character Sequence | Symbol | Character Sequence | Symbol |
---|---|---|---|---|---|
alpha | α | upsilon | υ | sim | ~ |
beta | β | phi | Φ | leq | ≤ |
gamma | γ | chi | χ | infty | ∞ |
delta | δ | psi | ψ | clubsuit | ♣ |
epsilon | ɛ | omega | ω | diamondsuit | ♦ |
zeta | ζ | Gamma | Γ | heartsuit | ♥ |
eta | η | Delta | Δ | spadesuit | ♠ |
theta | Θ | Theta | Θ | leftrightarrow | ↔ |
vartheta | ϑ | Lambda | Λ | leftarrow | ← |
iota | ι | Xi | Ξ | uparrow | ↑ |
kappa | κ | Pi | Π | rightarrow | → |
lambda | λ | Sigma | Σ | downarrow | ↓ |
mu | μ | Upsilon | ϒ | circ | o |
nu | ν | Phi | Φ | pm | ± |
xi | ξ | Psi | Ψ | geq | ≥ |
pi | π | Omega | Ω | propto | ∝ |
rho | ρ | forall | ∀ | partial | ∂ |
sigma | σ | exists | ∃ | bullet | • |
varsigma | ς | ni | ∍ | div | ÷ |
tau | τ | cong | ≅ | neq | ≠ |
equiv | ≡ | approx | ≈ | aleph | ℵ |
Im | ℑ | Re | ℜ | wp | ℘ |
otimes | ⊗ | oplus | ? | oslash | ∅ |
cap | ∩ | cup | ∪ | supseteq | ⊇ |
supset | ⊃ | subseteq | ⊆ | subset | ⊂ |
int | ∫ | in | ∈ | o | ο |
rfloor | ë | lceil | é | nabla | ∇ |
lfloor | û | cdot | · | ldots | ... |
perp | ⊥ | neg | ¬ | prime | ′ |
wedge | ∧ | times | x |
| ∅ |
rceil | ù | surd | √ | mid | | |
vee | ∨ | varpi | ϖ | copyright | © |
langle | ∠ | rangle |
参考:http://blog.sciencenet.cn/blog-81613-842684.html