Typora数学公式总结 |
您所在的位置:网站首页 › 怎样打出无穷大符号 › Typora数学公式总结 |
公式块与行内公式的添加
1.公式块 创建一块独立的公式区域 ![]() ![]() ![]() ![]() ![]() ![]() ![]() 关系运算符 简单矩阵带 使用\begin{matrix}…\end{matrix}生成, 每一行以\\结尾表示换行,元素间以&间隔,式子的表示序号\tag{1}(右边的序号)。 1 2 3 4 5 6 7 8 9 (1) \begin{matrix} 1&2&3\\ 4&5&6\\ 7&8&9 \end{matrix} \tag{1} 147258369(1) $$ \begin{matrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{matrix} \tag{1} $$带左右括号的矩阵(大中小括号) 在\begin{}之前和\end{}之后添加左( \left )右( \right )括号的代码。 ( 1 2 3 4 5 6 7 8 9 ) (2) \left( \begin{matrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{matrix} \right) \tag{2} ⎝⎛147258369⎠⎞(2) $$ \left( \begin{matrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{matrix} \right) \tag{2} $$(大括号 left 与 right左右都要添加\) 包含希腊字母与省略号 行省略号\cdots,列省略号\vdots,斜向省略号(左上至右下)\ddots。 { 1 2 ⋯ 5 6 7 ⋯ 10 ⋮ ⋮ ⋱ ⋮ α α + 1 ⋯ α + 4 } \left\{ \begin{matrix} 1 & 2 & \cdots & 5 \\ 6 & 7 & \cdots & 10 \\ \vdots & \vdots & \ddots & \vdots \\ \alpha & \alpha+1 & \cdots & \alpha+4 \end{matrix} \right\} ⎩⎪⎪⎪⎨⎪⎪⎪⎧16⋮α27⋮α+1⋯⋯⋱⋯510⋮α+4⎭⎪⎪⎪⎬⎪⎪⎪⎫ $$ \left\{ \begin{matrix} 1 & 2 & \cdots & 5 \\ 6 & 7 & \cdots & 10 \\ \vdots & \vdots & \ddots & \vdots \\ \alpha & \alpha+1 & \cdots & \alpha+4 \end{matrix} \right\} $$ 表格 简易表格 2 9 4 7 5 3 6 1 8 \begin{array}{|c|c|c|} \hline 2&9&4\\ \hline 7&5&3\\ \hline 6&1&8\\ \hline \end{array} 276951438 $$ \begin{array}{|c|c|c|} \hline 2&9&4\\ \hline 7&5&3\\ \hline 6&1&8\\ \hline \end{array} $$开头结尾: \begin{array} , \end{array} 定义式: 例:{|c|c|c|},其中c l r 分别代表居中、左对齐及右对齐。 分割线: ①竖直分割线: 在定义式中插入 |, (||表示两条竖直分割线)。 ②水平分割线: 在下一行输入前插入 \hline,以下图真值表为例。 其他:每行元素间均须要插入 & ,每行元素以 \ 结尾。 真值表 A B F 0 0 0 0 1 1 1 0 1 1 1 1 \begin{array}{cc|c} A&B&F\\ \hline 0&0&0\\ 0&1&1\\ 1&0&1\\ 1&1&1\\ \end{array} A0011B0101F0111 $$ \begin{array}{cc|c} A&B&F\\ \hline 0&0&0\\ 0&1&1\\ 1&0&1\\ 1&1&1\\ \end{array} $$ 多行等式对齐a = b + c = d + e + f \begin{aligned} a &= b + c \\ &= d + e + f \end{aligned} a=b+c=d+e+f $$ \begin{aligned} a &= b + c \\ &= d + e + f \end{aligned} $$ 方程组、条件表达式方程组: { 3 x + 5 y + z 7 x − 2 y + 4 z − 6 x + 3 y + 2 z \begin{cases} 3x + 5y + z \\ 7x - 2y + 4z \\ -6x + 3y + 2z \end{cases} ⎩⎪⎨⎪⎧3x+5y+z7x−2y+4z−6x+3y+2z $$ \begin{cases} 3x + 5y + z \\ 7x - 2y + 4z \\ -6x + 3y + 2z \end{cases} $$同理,条件表达式: f ( n ) = { n / 2 , if n is even 3 n + 1 , if n is odd f(n) = \begin{cases} n/2, & \text{if }n\text{ is even} \\ 3n+1, & \text{if }n\text{ is odd} \end{cases} f(n)={n/2,3n+1,if n is evenif n is odd $$ f(n) = \begin{cases} n/2, & \text{if }n\text{ is even} \\ 3n+1, & \text{if }n\text{ is odd} \end{cases} $$ 间隔 (大小空格、紧贴)紧贴 + 无空格 + 小空格 + 中空格 + 大空格 + 真空格 + 双真空格 a b + a b + a b + a b + a b + a b + a b a\!b + ab + a\,b + a\;b + a\ b + a\quad b + a\qquad b ab+ab+ab+ab+a b+ab+ab $$ a\!b + ab + a\,b + a\;b + a\ b + a\quad b + a\qquad b $$紧贴\! 无空格 小空格\, 中空格\;大空格\ 真空格\quad 双真空格\qquad 画图使用 Typora 画图(类图、流程图、时序图) 其它数学符号typora数学符号 |
今日新闻 |
推荐新闻 |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |