Typora公式细节

Typora公式细节

字母风格

CaligraphicMathbbMathfrakMath Sans serifMath boldMathscript
\mathcal{A}\mathbb{A}\mathfrak{A}\mathsf{A}\mathbf{A}\mathscr{A}
A \mathcal{A} A A \mathbb{A} A A \mathfrak{A} A A \mathsf{A} A A \mathbf{A} A A \mathscr{A} A

实数集、有理数集等集合的字母要使用Mathbb的样式,如 R \R R Q \mathbb{Q} Q,这类被定义过的数集可以直接用\R来表示;矩阵的字母要使用Math bold的样式,加粗表示,如 A \bf A A;傅里叶变换、Z变换的表示要使用手写体或者书法体,如 F \mathcal{F} F F \mathscr{F} F;矩阵的转置要使用罗马体\rm T T \rm T T

尺寸

公式

\displaystyle\textstyleNormal\scriptstyle\scriptscriptstyle
∫ f − 1 ( x − x a )   d x \displaystyle \int f^{-1}(x-x_a)\,dx f1(xxa)dx ∫ f − 1 ( x − x a )   d x \textstyle \int f^{-1}(x-x_a)\,dx f1(xxa)dx ∫ f − 1 ( x − x a )   d x \int f^{-1}(x-x_a)\,dx f1(xxa)dx ∫ f − 1 ( x − x a ) d x \scriptstyle \int f^{-1}(x-x_a)\,dx f1(xxa)dx ∫ f − 1 ( x − x a ) d x \scriptscriptstyle \int f^{-1}(x-x_a)\,dx f1(xxa)dx

文本

\tiny 文本 \tiny 文本 文本\normalsize 文本 \normalsize 文本 文本\huge 文本 \huge文本 文本
\scriptsize 文本 \scriptsize 文本 文本\large 文本 \large 文本 文本\Huge 文本 \Huge 文本 文本
\small 文本 \small 文本 文本\LARGE 文本 \LARGE文本 文本\Large 文本 \Large 文本 文本

间隔

,;\’ ’\quad\qquad
A   A A\,A AA A    A A\;A AA A   A A\ A A A A A A\quad A AA A A A\qquad A AA

第三列是\ + 空格,有些公式要留有一定的间隙,比如积分中的 d x dx dx要和被积函数 f ( x ) f(x) f(x)留有间隔, ∫ f ( x )   d x \int f(x)\,dx f(x)dx而不是 ∫ f ( x ) d x \int f(x)dx f(x)dx

颜色

\textcolor{blue}\textcolor{red}\textcolor{orange}\color{blue}\color{red}\color{orange}
A \textcolor{blue} A A A \textcolor{red} A A A \textcolor{orange} A A B \color{blue} B B B \color{red} B B B \color{orange} B B

矩阵

\begin{matrix}
a&b&c\\
d&e&f\\
e&f&g
\end{matrix}

首先需要使用\begin{matrix}\end{matrix}创造一个矩阵的环境,然后使用’&‘符号来分隔同一行的元素,使用’\\‘来分隔不同行的元素。此外’&'符号有不同行对齐的作用。并且beginend中的关键字不同,可以为bmatrix、pmatrix、vmatrix,分别对应没有括号的矩阵、方括号的矩阵、圆括号的矩阵、行列式。
a b c d e f e f g [ a b c d e f e f g ] ( a b c d e f e f g ) ∣ a b c d e f e f g ∣ \begin{matrix} a&b&c\\ d&e&f\\ e&f&g \end{matrix} \quad \begin{bmatrix} a&b&c\\ d&e&f\\ e&f&g \end{bmatrix} \quad \begin{pmatrix} a&b&c\\ d&e&f\\ e&f&g \end{pmatrix} \quad \begin{vmatrix} a&b&c\\ d&e&f\\ e&f&g \end{vmatrix} adebefcfg adebefcfg adebefcfg adebefcfg

方程组

\begin{cases}
32x+85y&=9\\
4x+6y&=11\tag1
\end{cases}

首先使用\begin{cases}end{cases}创造一个环境,然后使用’&‘可以使两个’='号对齐。使用\tag 1可以给公式编号,如果下文要引用这个编号,可以使用$(1)$ ( 1 ) (1) (1)
{ 32 x + 85 y = 9 4 x + 6 y = 11 (1) \begin{cases} 32x+85y&=9\\ 4x+6y&=11\tag1 \end{cases} {32x+85y4x+6y=9=11(1)

Typora数学公式总结
字体大小设置
LaTeX使用color&xcolor宏包的改变字体颜色
LaTeX的color的package中预定义了哪些颜色名称

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值