1、LATEX 处理公式非常漂亮,但是遇到行间的矩阵,往往会扩大我们的行间距来满足矩阵的显示空间,这样整体不是很美观,而且也会出现溢出或者段落调整带来的诸多问题。这里面的行间矩阵是这样处理的,需要用到amsmath包提供的smallmatrix环境即可。请看下面效果:
![LaTex排版技巧:[7]如何缩小行间的矩阵](https://exp-picture.cdn.bcebos.com/359bee5e4a2379714570ee6c93196120a6cde3c1.jpg)
2、上面的方法也适合于行间筇瑰尬哇公式,即当我们的矩阵过大引起了行溢出,可以用这一环境来进行瘦身。例如To show the effe艘早祓胂ct of the matrix on surroundinglines inside a paragraph, we put it here:\begin{equation} \begin{pmatrix} \begin{smallmatrix} 1 & 0 \\ 0 & -1 \end{smallmatrix} \end{pmatrix}\end{equation}and follow it with enough text to ensure thatthere is at least one full line below the matrix.其结果如下
![LaTex排版技巧:[7]如何缩小行间的矩阵](https://exp-picture.cdn.bcebos.com/19587f20a7cd0c6e3a9f7a07fed7997bbaf4ddc1.jpg)
3、注意这里的smallmatrix环境包含在宏包amsmath中,因此在调用smallmatrix环境时应包含宏包amsmath,即\include{amsmath}.