本文共 741 字,大约阅读时间需要 2 分钟。
1. 案例
>> legend('$\dot x_{1}$','$x_2$','Interpreter','latex', 'FontSize', 20)>> xlabel('$\dot{t}/s$','Interpreter','latex','FontSize',15)>> ylabel('测试','FontSize',20,'Fontname','楷体')
2. 常用LaTeX字符
3. 数学公式的常用命令
- 如果是Tex字符,直接打出 \alpha 即可。
- 求和 \sum_{i=1}^{n} x_{i} % n 和 i 也可以不用大括号
- 积分 \int_0^1 % 0 到 1 上的积分
- 求极限 limn→∞ % 无穷符号在正下方 lim n → ∞ \lim_{n \rightarrow \infty} limn→∞ % 无穷符号在右下角
- 分式 \frac{1}x % 1/x
- 根式 \sqrt{x} % 根号x
- 上划线 \overline{x} % x上面有一横
- 下划线 \underline{x}
- 卧式花括号 \ overbrace{x+y+z+w}
- 仰式花括号 a+\underbrace{b+c+d}
- 戴帽命令 \hat{o}\ \ \check{o}\ \ \breve{o} \widehat{A+B} \ \ \widetilde{a+b} \vec{\imath}+\vec{\jmath}=\vec{k}
- 堆砌命令 : y\stackrel{\rm def}{=} f(x) \stackrel{x\rightarrow 0}{\rightarrow} A %有用
- 省略号 : \cdots \ldots \vdots \ddots
参考文献:
转载地址:http://wuzxf.baihongyu.com/