1. markdown中常见的符号附件
\hat{X}
\widehat{X}
\check{X}
\breve{X}
\tilde{X}
\dot{X}
\ddot{X}
\overline{X}
\underline{X}
2. markdown中矩阵 由\left[ right], \begin{array}{ccc} \end{array}包围,分行由\\实现,分列通过ccc固定列数,列与列间用&分割
代码:
\left[ \begin{array}{cc} 1 & 0 \\ 0 & 2 \end{array} \right] \left[ \begin{array}{c} x_1 \\ x_2 \end{array} \right]
效果:
补充:矩阵中横向省略号\cdots 纵向省略号\vdots 斜向省略号\ddots
3. 矩阵分块,横实线\hline 横虚线\hdashline 纵实线\ | 纵虚线 \:
\left[ \begin{array}{cc|c} 1 & 0 & 3\\ 0 & 2 & 1 \\ \hline 2 & 0 & 2 \end{array} \right] \left[ \begin{array}{c} x_1 \\ x_2 \\ \hline x_3 \end{array} \right]
效果为:
将实线换成虚线也可以的。
4. 表示有省略项的分块矩阵
\left[ \begin{array}{ccc:c} 1 & 0 &\cdots& 3\\ \vdots &\ddots & \vdots & \vdots \\ 0 & 2 & 1 &3 \\ \hdashline 2 & 0 & 1 &2 \end{array} \right] \left[ \begin{array}{c} x_1 \\ \vdots \\ x_2 \\ \hdashline x_3 \end{array} \right]
效果:
标签:latex,begin,right,end,分块,矩阵,array,left From: https://www.cnblogs.com/guochaoxxl/p/18515564