fangjinSGG的个人博客分享 http://blog.sciencenet.cn/u/fangjinSGG

博文

matlab支持的TeX

已有 4591 次阅读 2017-8-7 12:59 |个人分类:matlab|系统分类:科研笔记

函数字符

代表符号

函数字符

代表符号

函数字符

代表符号

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

°

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

rceil

surd

mid

|

vee

varpi

copyright

©

langle

rangle


1Tex字符的字体设置有如下6种。

bf:设置字体为粗体字。

it:设置字体为斜体字。

sl:设置字体为斜体字,很少使用。

rm:设置字体为正常字体。

fontname{字体名}:设置字体名。例如:fontname{宋体}

fontsize{字体大小}:设置字体大小。例如:fontsize{16}

(2)Tex字符的颜色设置有下面两种方法。

color{颜色名}颜色名:颜色名有12种,分别为redgreenyellowmagentablueblackwhitecyangraybarkGreenorangelightBlue。例如:color{magenta}magenta

color[rgb]{a b c}:设置字体颜色为RGB矩阵[a b c]所表示的颜色。 abc都在[0 1] 范围内。例如:color[rgb]{0 .5 .5}

(3)Tex字符的位置有2种设置。

_:表示下标。

^:表示上标。




e.g.

text(0.2,0.45,'fontsize{10}alphabetafontsize{20}gammafontsize{10}color{red}clubsuitcolor{black}fontname{times}it{name}rmbf{Jin FANG}');


 


在MATLAB中使用LaTex字符.doc





https://blog.sciencenet.cn/blog-3318729-1069974.html

上一篇:GMT​绘图设置坐标轴刻度线朝内画
下一篇:matlab绘图的N个技巧
收藏 IP: 223.73.86.*| 热度|

0

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

数据加载中...

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-4-26 19:37

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部