LaTex排版技巧:[7]如何缩小行间的矩阵
1、LATEX 处理公式非常漂亮,但是遇到行间的矩阵,往往会扩大我们的行间距来满足矩阵的显示空间,这样整体不是很美观,而且也会出现溢出或者段落调整带来的诸多问题。这里面的行间矩阵是这样处理的,需要用到amsmath包提供的smallmatrix环境即可。
请看下面效果:
2、上面的方法也适合于行间公式,即当我们的矩阵过大引起了行溢出,可以用这一环境来进行瘦身。例如
To show the effect of the matrix on surrounding
lines 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 that
there is at least one full line below the matrix.
其结果如下
3、注意这里的smallmatrix环境包含在宏包amsmath中,因此在调用smallmatrix环境时应包含宏包amsmath,即\include{amsmath}.
声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
阅读量:33
阅读量:65
阅读量:54
阅读量:61
阅读量:26