MATLAB中的希腊字符

记录用,MATLAB官网文档图文本中的希腊字母和特殊字符

TeX 标记选项

MATLAB 支持部分 TeX 标记。使用 TeX 标记可添加上标和下标、修改文本类型和颜色以及包含特殊字符。只要文本对象的 Interpreter 属性设置为 'tex'(默认值),MATLAB 便会解释 TeX 标记。

修饰符会一直作用到文本结尾,但上标和下标除外,因为它们仅修饰下一个字符或花括号中的字符。当您将 Interpreter 属性设置为 'tex' 时,支持的修饰符如下所示。

修饰符 说明 示例
^ 上标 'text^{superscript}'
_ 下标 'text_{subscript}'
\bf 粗体 '\bf text'
\it 斜体 '\it text'
\sl 伪斜体(通常与斜体相同) '\sl text'
\rm 常规字体 '\rm text'
\fontname 字体名称 - 将 specifier 替换为字体系列的名称。您可以将此说明符与其他修饰符结合使用。 '\fontname{Courier} text'
\fontsize 字体大小 - 将 specifier 替换为以磅为单位的数值标量值。 '\fontsize{15} text'
\color 字体颜色 - 将 specifier 替换为以下颜色之一:red、green、yellow、magenta、blue、black、white、gray、darkGreen、orange 或 lightBlue。 '\color{magenta} text'
\color[rgb] 自定义字体颜色 - 将 specifier 替换为三元素 RGB 三元组。 '\color[rgb]{0,0.5,0.5} text'

下表列出了当 Interpreter 属性设置为 'tex' 时支持的特殊字符。

字符序列 符号 字符序列 符号
\alpha α \upsilon υ
\sim ~ \angle
\phi \leq
\ast * \chi χ
\infty \beta β
\psi ψ \clubsuit
\gamma γ \omega ω
\diamondsuit \delta δ
\Gamma Γ \heartsuit
\epsilon ϵ \Delta Δ
\spadesuit \zeta ζ
\Theta Θ \leftrightarrow
\eta η \Lambda Λ
\leftarrow \theta θ
\Xi Ξ \Leftarrow
\vartheta ϑ \Pi Π
\uparrow \iota ι
\Sigma Σ \rightarrow
\kappa κ \Upsilon ϒ
\Rightarrow \lambda λ
\Phi Φ \downarrow
\mu µ \Psi Ψ
\circ º \nu ν
\Omega Ω \pm ±
\xi ξ \forall
\geq \pi π
\exists \propto
\rho ρ \ni
\partial \sigma σ
\cong \bullet
\varsigma ς \approx
\div ÷ \tau τ
\Re \neq
\equiv \oplus
\aleph \Im
\cup \wp
\otimes \subseteq
\oslash \cap
\in \supseteq
\supset \lceil
\subset \int
\cdot · \o ο
\rfloor \neg ¬
\nabla \lfloor
\times x \ldots ...
\perp \surd
\prime ´ \wedge
\varpi ϖ \0
\rceil \rangle
\mid \vee
\langle \copyright ©

支持LaTeX

关于LaTex的用法,参考LaTex官网

posted @ 2020-05-28 16:54  寄生的鱼  阅读(510)  评论(0编辑  收藏  举报