LaTeX处理公式非常漂亮,但是遇到行间的矩阵,往往会扩大我们的行间距来满足矩阵的显示空间,这样整体不是很美观,而且也会出现溢出或者段落调整带来的诸多问题。
我们在进行行间矩阵输入的时候,如下便是很好的例子,也是很好的解决方案。
演示效果图:
演示代码:
\documentclass{article}
\pagestyle{empty}
\setcounter{page}{6}
\setlength\textwidth{183.0pt}
\usepackage{amsmath}
\begin{document}
To show the effect of the matrix on surrounding
lines inside a paragraph, we put it here:
$ \left( \begin{smallmatrix}
1 & 0 \\ 0 & -1
\end{smallmatrix} \right) $
and follow it with enough text to ensure that
there is at least one full line below the matrix.
\end{document}
我们在进行行间矩阵输入的时候,如下便是很好的例子,也是很好的解决方案。
演示效果图:
演示代码:
\documentclass{article}
\pagestyle{empty}
\setcounter{page}{6}
\setlength\textwidth{183.0pt}
\usepackage{amsmath}
\begin{document}
To show the effect of the matrix on surrounding
lines inside a paragraph, we put it here:
and follow it with enough text to ensure that
there is at least one full line below the matrix.
\end{document}
已投稿到: |
![]() ![]() |
---|